From 962f3d941958bc8414096d3e63710f9076a11b48 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 9 Feb 2006 12:48:47 +0000 Subject: INTEGRATION: CWS rtfpp2 (1.33.38); FILE MERGED 2005/12/21 10:18:17 mba 1.33.38.1: #i18807#: SfxViewFrame::IsVisible() now is a private method of SFX2 --- sw/source/ui/app/swmodul1.cxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'sw/source/ui/app/swmodul1.cxx') diff --git a/sw/source/ui/app/swmodul1.cxx b/sw/source/ui/app/swmodul1.cxx index 3b7a04490596..16606ca084cf 100644 --- a/sw/source/ui/app/swmodul1.cxx +++ b/sw/source/ui/app/swmodul1.cxx @@ -4,9 +4,9 @@ * * $RCSfile: swmodul1.cxx,v $ * - * $Revision: 1.33 $ + * $Revision: 1.34 $ * - * last change: $Author: obo $ $Date: 2005-11-16 13:54:10 $ + * last change: $Author: rt $ $Date: 2006-02-09 13:48:47 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -250,13 +250,7 @@ SwView* SwModule::GetNextView(SwView* pView) { DBG_ASSERT(PTR_CAST(SwView, pView),"keine SwView uebergeben") const TypeId aTypeId = TYPE(SwView); - // auf Sichtbarkeit pruefen, bis der Sfx das GetFirst/Next - //mit bOnlyVisible implementiert hat - SwView* pNView = (SwView*)SfxViewShell::GetNext(*pView, &aTypeId); - while(pNView && !pNView->GetViewFrame()->IsVisible()) - { - pNView = (SwView*)SfxViewShell::GetNext(*pNView, &aTypeId); - } + SwView* pNView = (SwView*)SfxViewShell::GetNext(*pView, &aTypeId, TRUE); return pNView; } -- cgit