summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index b2c946006f2d..621f5fc83ea7 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -651,7 +651,6 @@ const SwRect SwAnchoredDrawObject::GetObjRect() const
const SwRect SwAnchoredDrawObject::GetObjBoundRect() const
{
// Resize objects with relative width or height
-#if 1
if ( GetDrawObj( )->GetRelativeWidth( ) || GetDrawObj()->GetRelativeHeight( ) )
{
Rectangle aPageRect = GetPageFrm( )->GetBoundRect( ).SVRect();
@@ -672,7 +671,6 @@ const SwRect SwAnchoredDrawObject::GetObjBoundRect() const
Fraction( nTargetHeight, aCurrObjRect.GetHeight() ), false );
}
}
-#endif
return GetDrawObj()->GetCurrentBoundRect();
}