summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorMark Hung <marklh9@gmail.com>2017-10-25 20:26:47 +0800
committerMark Hung <marklh9@gmail.com>2017-10-26 17:32:53 +0200
commit4e5123fc592cc1a97f7f64b964f858b6f71540cb (patch)
treefb4f727567379d57f437f127b70e436e2ba0f14a /xmloff
parentd4064927a2e83c974d4ee9538081e8a4fcdb1e34 (diff)
tdf#77961 regard layout-grid-print as off when missing.
Change-Id: I8404ebed8ba84ee83528310ee63f796356674553 Reviewed-on: https://gerrit.libreoffice.org/43830 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLTextMasterPageContext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx
index 6fa630c1182d..7ade7edd7a38 100644
--- a/xmloff/source/text/XMLTextMasterPageContext.cxx
+++ b/xmloff/source/text/XMLTextMasterPageContext.cxx
@@ -160,6 +160,9 @@ XMLTextMasterPageContext::XMLTextMasterPageContext( SvXMLImport& rImport,
if ( xPropSetInfo->hasPropertyByName( "GridDisplay" ) )
xPropSet->setPropertyValue( "GridDisplay", Any(false) );
+ if ( xPropSetInfo->hasPropertyByName( "GridPrint" ) )
+ xPropSet->setPropertyValue( "GridPrint", Any(false) );
+
bInsertHeader = bInsertFooter = true;
bInsertHeaderLeft = bInsertFooterLeft = true;
bInsertHeaderFirst = bInsertFooterFirst = true;