summaryrefslogtreecommitdiff
path: root/include/svx/transfrmhelper.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 10:11:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 12:41:09 +0000
commit5a308b1239a09417507b0d05090ff2d3418d5133 (patch)
tree990fa9015a4107e4916691eb4dee80fa5713e96b /include/svx/transfrmhelper.hxx
parentc1a227600d0b16df283162d24f1a31f5c9cee474 (diff)
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'include/svx/transfrmhelper.hxx')
-rw-r--r--include/svx/transfrmhelper.hxx4
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);
}
};