diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/pagesettings.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/pagesettings.cxx b/sc/source/filter/oox/pagesettings.cxx index beeea7b352e5..fe5ff212e341 100644 --- a/sc/source/filter/oox/pagesettings.cxx +++ b/sc/source/filter/oox/pagesettings.cxx @@ -911,7 +911,7 @@ void PageSettingsConverter::writePageSettingsProperties( else { // scale may be 0 which indicates uninitialized - sal_Int16 nScale = (rModel.mbValidSettings && (rModel.mnScale > 0)) ? getLimitedValue< sal_Int16, sal_Int32 >( rModel.mnScale, 10, 400 ) : 100; + sal_Int16 nScale = (rModel.mnScale > 0) ? getLimitedValue< sal_Int16, sal_Int32 >( rModel.mnScale, 10, 400 ) : 100; rPropSet.setProperty( PROP_PageScale, nScale ); } |