summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-28 04:16:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-28 05:18:30 +0200
commitfef72f9623bac7f9aa50b4f2606e6ec6282cfe1f (patch)
treef8889230f8ca753a8878fded6e97b20cd0a12e5e
parentd9ae08845df86c1945e73e9506f92d13221ac98c (diff)
always import page scaling, tdf#65848
Change-Id: If5bad2336443280dd33d750b1b2749a06f2b5101 Reviewed-on: https://gerrit.libreoffice.org/39334 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/filter/oox/pagesettings.cxx2
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 );
}