summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/swmodul1.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-02-09 12:48:47 +0000
committerRüdiger Timm <rt@openoffice.org>2006-02-09 12:48:47 +0000
commit962f3d941958bc8414096d3e63710f9076a11b48 (patch)
treee5234bd60c8b0c2916b462ca50b69bcdbcba79d9 /sw/source/ui/app/swmodul1.cxx
parent0c7fbe8bef5acff2c88e0fb27dd46e63242d80c2 (diff)
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
Diffstat (limited to 'sw/source/ui/app/swmodul1.cxx')
-rw-r--r--sw/source/ui/app/swmodul1.cxx12
1 files changed, 3 insertions, 9 deletions
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;
}