diff options
Diffstat (limited to 'xmloff/source/draw/sdxmlimp.cxx')
-rw-r--r-- | xmloff/source/draw/sdxmlimp.cxx | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/xmloff/source/draw/sdxmlimp.cxx b/xmloff/source/draw/sdxmlimp.cxx index 02dce77bf7cb..c41e62e1419b 100644 --- a/xmloff/source/draw/sdxmlimp.cxx +++ b/xmloff/source/draw/sdxmlimp.cxx @@ -546,51 +546,6 @@ const SvXMLTokenMap& SdXMLImport::GetPageMasterStyleAttrTokenMap() return *mpPageMasterStyleAttrTokenMap; } -const SvXMLTokenMap& SdXMLImport::GetDrawPageAttrTokenMap() -{ - if(!mpDrawPageAttrTokenMap) - { - static const SvXMLTokenMapEntry aDrawPageAttrTokenMap[] = - { - { XML_NAMESPACE_DRAW, XML_NAME, XML_TOK_DRAWPAGE_NAME }, - { XML_NAMESPACE_DRAW, XML_STYLE_NAME, XML_TOK_DRAWPAGE_STYLE_NAME }, - { XML_NAMESPACE_DRAW, XML_MASTER_PAGE_NAME, XML_TOK_DRAWPAGE_MASTER_PAGE_NAME }, - { XML_NAMESPACE_PRESENTATION, XML_PRESENTATION_PAGE_LAYOUT_NAME, XML_TOK_DRAWPAGE_PAGE_LAYOUT_NAME }, - { XML_NAMESPACE_DRAW, XML_ID, XML_TOK_DRAWPAGE_DRAWID }, - { XML_NAMESPACE_XML, XML_ID, XML_TOK_DRAWPAGE_XMLID }, - { XML_NAMESPACE_XLINK, XML_HREF, XML_TOK_DRAWPAGE_HREF }, - { XML_NAMESPACE_PRESENTATION, XML_USE_HEADER_NAME, XML_TOK_DRAWPAGE_USE_HEADER_NAME }, - { XML_NAMESPACE_PRESENTATION, XML_USE_FOOTER_NAME, XML_TOK_DRAWPAGE_USE_FOOTER_NAME }, - { XML_NAMESPACE_PRESENTATION, XML_USE_DATE_TIME_NAME, XML_TOK_DRAWPAGE_USE_DATE_TIME_NAME }, - - XML_TOKEN_MAP_END - }; - - mpDrawPageAttrTokenMap = std::make_unique<SvXMLTokenMap>(aDrawPageAttrTokenMap); - } - - return *mpDrawPageAttrTokenMap; -} - -const SvXMLTokenMap& SdXMLImport::GetDrawPageElemTokenMap() -{ - if(!mpDrawPageElemTokenMap) - { - static const SvXMLTokenMapEntry aDrawPageElemTokenMap[] = - { - { XML_NAMESPACE_PRESENTATION, XML_NOTES, XML_TOK_DRAWPAGE_NOTES }, - { XML_NAMESPACE_ANIMATION, XML_PAR, XML_TOK_DRAWPAGE_PAR }, - { XML_NAMESPACE_ANIMATION, XML_SEQ, XML_TOK_DRAWPAGE_SEQ }, - { XML_NAMESPACE_DRAW, XML_LAYER_SET, XML_TOK_DRAWPAGE_LAYER_SET }, - XML_TOKEN_MAP_END - }; - - mpDrawPageElemTokenMap = std::make_unique<SvXMLTokenMap>(aDrawPageElemTokenMap); - } - - return *mpDrawPageElemTokenMap; -} - const SvXMLTokenMap& SdXMLImport::GetPresentationPlaceholderAttrTokenMap() { if(!mpPresentationPlaceholderAttrTokenMap) |