summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-09-30 20:43:43 +0100
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-09-30 20:43:43 +0100
commit5ba5ff4aff2dd04be970a603c1503b566fd6eed1 (patch)
tree64715fb2bb1543ed39428a98b6b1ed32b58f49c3
parentff398161eab8735bb036b1e48779ea57798c9cad (diff)
Fix wrong conditional for zoom-saneness-check.private/ajrhunt/c4
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 683bb6cd8c25..d46c7f455017 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 );