summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/frmview.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-04-12 15:47:36 +0100
committerCaolán McNamara <cmc@openoffice.org>2010-04-12 15:47:36 +0100
commit46e4d0ae42a0befd8072d697c37031157fbb524d (patch)
tree6f24d0de713104c869d95adf38aa9ef434d7f206 /sd/source/ui/view/frmview.cxx
parente0b8a71c2131f90e1fbb442693c7124ce7d86597 (diff)
parente725e315399f527e63f919a9a6861066b1f41512 (diff)
sdfindall: merge with DEV300 m76
Diffstat (limited to 'sd/source/ui/view/frmview.cxx')
-rw-r--r--sd/source/ui/view/frmview.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index e358ebf4d562..aca0130624ce 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -33,7 +33,6 @@
#ifndef _SVXIDS_HRC
#include <svx/svxids.hrc>
#endif
-#include <sfx2/topfrm.hxx>
#include <com/sun/star/awt/Rectangle.hpp>
#include <com/sun/star/drawing/framework/ResourceId.hpp>
#include <rtl/ustrbuf.hxx>
@@ -54,6 +53,7 @@
#include "sdiocmpt.hxx"
#include "framework/FrameworkHelper.hxx"
#include <comphelper/processfactory.hxx>
+#include <sfx2/viewfrm.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -100,8 +100,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
ULONG nSdViewShellCount = 0;
ViewShellBase* pBase = NULL;
SfxViewShell* pSfxViewSh = NULL;
- SfxViewFrame* pSfxViewFrame = SfxViewFrame::GetFirst(pDocShell,
- TYPE(SfxTopViewFrame));
+ SfxViewFrame* pSfxViewFrame = SfxViewFrame::GetFirst(pDocShell);
while (pSfxViewFrame)
{
@@ -142,8 +141,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
}
}
- pSfxViewFrame = SfxViewFrame::GetNext(*pSfxViewFrame, pDocShell,
- TYPE(SfxTopViewFrame));
+ pSfxViewFrame = SfxViewFrame::GetNext(*pSfxViewFrame, pDocShell);
}
SdDrawDocument* pDoc = pDocShell->GetDoc();