summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-08 23:20:14 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-08 23:23:33 -0500
commit28c251e3cc374314dc19fd772148707b0c711454 (patch)
treed1b2934b3e51c25e217c4538b25821f1827722b5 /sw
parent1f1aee5fbd034c5f7c967e19631b6507408ec00f (diff)
Remove more unnecessary header includes and use forward declaration.
Change-Id: I88d0fb0e7c20d4b1414516e3bd2f961811b2eb8c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 60b958ffaf3d..2baa1a6b6b33 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -641,7 +641,7 @@ const SwRect SwAnchoredDrawObject::GetObjBoundRect() const
aPageRect = GetPageFrm()->Prt().SVRect();
else
aPageRect = GetPageFrm( )->GetBoundRect( ).SVRect();
- nTargetWidth = aPageRect.GetWidth( ) * GetDrawObj( )->GetRelativeWidth( ).get( );
+ nTargetWidth = aPageRect.GetWidth( ) * (*GetDrawObj( )->GetRelativeWidth());
}
long nTargetHeight = aCurrObjRect.GetHeight( );
@@ -653,7 +653,7 @@ const SwRect SwAnchoredDrawObject::GetObjBoundRect() const
aPageRect = GetPageFrm()->Prt().SVRect();
else
aPageRect = GetPageFrm( )->GetBoundRect( ).SVRect();
- nTargetHeight = aPageRect.GetHeight( ) * GetDrawObj( )->GetRelativeHeight( ).get( );
+ nTargetHeight = aPageRect.GetHeight( ) * (*GetDrawObj( )->GetRelativeHeight());
}
if ( nTargetWidth != aCurrObjRect.GetWidth( ) || nTargetHeight != aCurrObjRect.GetHeight( ) )