summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/metaact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/metaact.cxx')
-rw-r--r--vcl/source/gdi/metaact.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 9856b1d22df5..3595d90f1554 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -109,8 +109,8 @@ meta_action_name(MetaActionType nMetaAction)
inline void ImplScalePoint( Point& rPt, double fScaleX, double fScaleY )
{
- rPt.X() = FRound( fScaleX * rPt.X() );
- rPt.Y() = FRound( fScaleY * rPt.Y() );
+ rPt.setX( FRound( fScaleX * rPt.X() ) );
+ rPt.setY( FRound( fScaleY * rPt.Y() ) );
}
inline void ImplScaleRect( tools::Rectangle& rRect, double fScaleX, double fScaleY )