diff options
Diffstat (limited to 'include/svx/transfrmhelper.hxx')
-rw-r--r-- | include/svx/transfrmhelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/transfrmhelper.hxx b/include/svx/transfrmhelper.hxx index 71affa79ab13..d5f293dbc10a 100644 --- a/include/svx/transfrmhelper.hxx +++ b/include/svx/transfrmhelper.hxx @@ -39,9 +39,9 @@ public: rRange = basegfx::B2DRange(aTopLeft, aBottomRight); } - static void ScaleRect(basegfx::B2DRange& rRange, const Fraction aUIScale) + static void ScaleRect(basegfx::B2DRange& rRange, const Fraction& rUIScale) { - const double fFactor(1.0 / double(aUIScale)); + const double fFactor(1.0 / double(rUIScale)); rRange = basegfx::B2DRange(rRange.getMinimum() * fFactor, rRange.getMaximum() * fFactor); } }; |