diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-13 17:06:47 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-18 09:30:15 +0100 |
commit | e468ca20c8e25df8a15c38aa3eb9c289f89f27f7 (patch) | |
tree | fb42d9536773619245efc3bedb5c7eec214970f0 | |
parent | 8a028afd55decfd269268d0d1e6adcfbdc9d85d0 (diff) |
removed useless #if 1
Change-Id: Idac86a48ceecf6fac1d84f8c4fb168ebe427717a
-rw-r--r-- | sw/source/core/layout/anchoreddrawobject.cxx | 2 |
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(); } |