summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vdraw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/vdraw.cxx')
-rw-r--r--sw/source/core/view/vdraw.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index 1b692f36ad8d..55d929497837 100644
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -46,10 +46,8 @@
#include <svx/svdoutl.hxx>
#ifdef DBG_UTIL
-#ifndef _SVX_FMGLOB_HXX
#include <svx/fmglob.hxx>
#endif
-#endif
#include "fesh.hxx"
#include "pagefrm.hxx"
@@ -63,9 +61,8 @@
#include "flyfrm.hxx"
#include <vcl/svapp.hxx>
-#ifndef IDOCUMENTDRAWMODELACCESS_HXX_INCLUDED
#include <IDocumentDrawModelAccess.hxx>
-#endif
+
/*************************************************************************
|*
@@ -345,8 +342,10 @@ void SwViewImp::NotifySizeChg( const Size &rNewSz )
const SwFrm *pAnchor = ((SwDrawContact*)pCont)->GetAnchorFrm();
if ( !pAnchor || pAnchor->IsInFly() || !pAnchor->IsValid() ||
!pAnchor->GetUpper() || !pAnchor->FindPageFrm() ||
- FLY_IN_CNTNT == pCont->GetFmt()->GetAnchor().GetAnchorId() )
+ (FLY_AS_CHAR == pCont->GetFmt()->GetAnchor().GetAnchorId()) )
+ {
continue;
+ }
// OD 19.06.2003 #108784# - no move for drawing objects in header/footer
if ( pAnchor->FindFooterOrHeader() )