summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-10-14 15:21:44 +0200
committerDavid Tardon <dtardon@redhat.com>2014-10-14 17:56:23 +0200
commit8afab33d161ddd39a3e6094b5daa08b156ef0421 (patch)
tree4e1331f9fc65513dd6502ebd221b35e9cb3d8e9d /svx/source/svdraw/svdograf.cxx
parent091742e86aeb5287f7236f666fee48946ab4c67b (diff)
just check if the fraction is < 0
Change-Id: I23f631898f29d8285d3da333686da8d3f28a00f8
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 b101d0311bff..50abaeb944a7 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.numerator() < 0;
- bool bMirrY = yFact.numerator() < 0;
+ bool bMirrX = xFact < 0;
+ bool bMirrY = yFact < 0;
if( bMirrX != bMirrY )
bMirrored = !bMirrored;