diff options
author | David Tardon <dtardon@redhat.com> | 2014-10-14 15:21:44 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-10-14 17:56:23 +0200 |
commit | 8afab33d161ddd39a3e6094b5daa08b156ef0421 (patch) | |
tree | 4e1331f9fc65513dd6502ebd221b35e9cb3d8e9d /svx/source/svdraw/svdocirc.cxx | |
parent | 091742e86aeb5287f7236f666fee48946ab4c67b (diff) |
just check if the fraction is < 0
Change-Id: I23f631898f29d8285d3da333686da8d3f28a00f8
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index 81a9c413a95b..2a072969f6e4 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -818,8 +818,8 @@ void SdrCircObj::NbcResize(const Point& rRef, const boost::rational<long>& xFact SdrTextObj::NbcResize(rRef,xFact,yFact); bNoShearRota|=(aGeo.nDrehWink==0 && aGeo.nShearWink==0); if (meCircleKind!=OBJ_CIRC) { - bool bXMirr = xFact.numerator() < 0; - bool bYMirr = yFact.numerator() < 0; + bool bXMirr = xFact < 0; + bool bYMirr = yFact < 0; if (bXMirr || bYMirr) { // At bXMirr!=bYMirr we should actually swap both line ends. // That, however, is pretty bad (because of forced "hard" formatting). |