diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-31 15:46:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-01 08:49:55 +0200 |
commit | 25304f8cd3d70860550a5fe9a0dbc40dd0abff03 (patch) | |
tree | 65b2ae9309093e2bc997f0b21b998e361375a4bb /xmloff | |
parent | b866b71e2419c8011d969f316a28bd820c56fb5a (diff) |
Fix typo in code
It passed "make check" on Linux
Change-Id: I9f3d98df05495e7d655a93c5cd5bbd41db6a9bea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101788
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximppage.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/ximpstyl.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index dacf059a5182..0fc1eb3a473e 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -517,7 +517,7 @@ void SdXMLGenericPageContext::SetPageMaster( OUString const & rsPageMasterName ) // #80012# GetStylesContext() replaced with GetAutoStylesContext() const SvXMLStylesContext* pAutoStyles = GetSdImport().GetShapeImport()->GetAutoStylesContext(); - const SvXMLStyleContext* pStyle = pAutoStyles ? pAutoStyles->FindStyleChildContext(XmlStyleFamily::SD_PAGEMASTERCONEXT_ID, rsPageMasterName) : nullptr; + const SvXMLStyleContext* pStyle = pAutoStyles ? pAutoStyles->FindStyleChildContext(XmlStyleFamily::SD_PAGEMASTERCONTEXT_ID, rsPageMasterName) : nullptr; const SdXMLPageMasterContext* pPageMaster = dynamic_cast<const SdXMLPageMasterContext*>(pStyle); if (!pPageMaster) diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx index a707a1a723cd..4115de5ea24b 100644 --- a/xmloff/source/draw/ximpstyl.cxx +++ b/xmloff/source/draw/ximpstyl.cxx @@ -280,7 +280,7 @@ SdXMLPageMasterStyleContext::SdXMLPageMasterStyleContext( SdXMLImport& rImport, sal_Int32 /*nElement*/, const uno::Reference< xml::sax::XFastAttributeList>& xAttrList) -: SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERSTYLECONEXT_ID), +: SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERSTYLECONTEXT_ID), mnBorderBottom( 0 ), mnBorderLeft( 0 ), mnBorderRight( 0 ), @@ -362,7 +362,7 @@ SdXMLPageMasterContext::SdXMLPageMasterContext( SdXMLImport& rImport, sal_Int32 /*nElement*/, const uno::Reference< xml::sax::XFastAttributeList>& /*xAttrList*/) -: SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERCONEXT_ID) +: SvXMLStyleContext(rImport, XmlStyleFamily::SD_PAGEMASTERCONTEXT_ID) { // set family to something special at SvXMLStyleContext // for differences in search-methods |