summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-09-30 20:43:43 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-01-12 12:29:30 +0900
commit9e6910c6de36c1daaf944e8846604b14e8e288eb (patch)
tree20d8ee149d77badf11becd19703c1e7c3121f035
parentTemp: the DrView scaling will be completely wrong for tiled rendering. (diff)
downloadcore-9e6910c6de36c1daaf944e8846604b14e8e288eb.tar.gz
core-9e6910c6de36c1daaf944e8846604b14e8e288eb.zip
Fix wrong conditional for zoom-saneness-check.
Change-Id: I54cb8ffc71c162e75675d306b903ef40ad05092f
-rw-r--r--sc/source/ui/view/viewdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index d3bcaf2bb254..5642a336fa3b 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -629,7 +629,7 @@ void ScViewData::SetZoom( const Fraction& rNewX, const Fraction& rNewY,
// We probably don't want these limits for tiled rendering, hence
// we make them optional.
- if ( !bIgnoreLimits )
+ if ( bIgnoreLimits )
{
const Fraction aFrac20( 1, 5 );
const Fraction aFrac400( 4, 1 );