diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-10-23 17:29:14 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-10-23 18:34:36 +0200 |
commit | dc90c5a3955a33e1ae5216640021866be392f2d3 (patch) | |
tree | 81ef046a964e8612c116eb1d27838a52b927767c /svx/source/svdraw/svdograf.cxx | |
parent | b66aad4084760f3f43a9db580d637b43d5e38e24 (diff) |
Fraction: Revert "just check if the fraction is < 0"
This reverts commit 8afab33d161ddd39a3e6094b5daa08b156ef0421.
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 4 |
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; |