summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-10-23 17:29:14 +0200
committerJan Holesovsky <kendy@collabora.com>2014-10-23 18:34:36 +0200
commitdc90c5a3955a33e1ae5216640021866be392f2d3 (patch)
tree81ef046a964e8612c116eb1d27838a52b927767c /svx/source/svdraw/svdograf.cxx
parentb66aad4084760f3f43a9db580d637b43d5e38e24 (diff)
Fraction: Revert "just check if the fraction is < 0"
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 5cb5b217a20a..4a56e52910f5 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -901,8 +901,8 @@ void SdrGrafObj::NbcResize(const Point& rRef, const boost::rational<long>& xFact
{
SdrRectObj::NbcResize( rRef, xFact, yFact );
- bool bMirrX = xFact < 0;
- bool bMirrY = yFact < 0;
+ bool bMirrX = xFact.numerator() < 0;
+ bool bMirrY = yFact.numerator() < 0;
if( bMirrX != bMirrY )
bMirrored = !bMirrored;