diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-01 12:41:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-02 08:27:49 +0200 |
commit | d8759f225c5246465194b71b1407c84904752cc9 (patch) | |
tree | 72dabe3110dab7b770a927f31a2aa3d2dac7c49e /xmloff | |
parent | 4b9e440c51be3e40326bc90c33ae69885bfb51e4 (diff) |
loplugin:unusedfields
Change-Id: Icecc024c4385ec69508369d2645d8412e6dbff69
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101835
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/XMLTextColumnsContext.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlimp_impl.hxx | 8 | ||||
-rw-r--r-- | xmloff/source/style/xmlnumfi.cxx | 1 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextColumnsContext.cxx | 20 | ||||
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 1 |
5 files changed, 0 insertions, 32 deletions
diff --git a/xmloff/inc/XMLTextColumnsContext.hxx b/xmloff/inc/XMLTextColumnsContext.hxx index 99e3bbaf07c3..ea020811934f 100644 --- a/xmloff/inc/XMLTextColumnsContext.hxx +++ b/xmloff/inc/XMLTextColumnsContext.hxx @@ -36,8 +36,6 @@ class XMLTextColumnsContext final :public XMLElementPropertyContext { std::unique_ptr<XMLTextColumnsArray_Impl> pColumns; rtl::Reference<XMLTextColumnSepContext_Impl> mxColumnSep; - std::unique_ptr<SvXMLTokenMap> pColumnAttrTokenMap; - std::unique_ptr<SvXMLTokenMap> pColumnSepAttrTokenMap; sal_Int16 nCount; bool bAutomatic; sal_Int32 nAutomaticDistance; diff --git a/xmloff/source/draw/sdxmlimp_impl.hxx b/xmloff/source/draw/sdxmlimp_impl.hxx index d314caa0c576..c64fac494330 100644 --- a/xmloff/source/draw/sdxmlimp_impl.hxx +++ b/xmloff/source/draw/sdxmlimp_impl.hxx @@ -104,14 +104,6 @@ class SdXMLImport: public SvXMLImport // contexts for Style and AutoStyle import rtl::Reference<SdXMLMasterStylesContext> mxMasterStylesContext; - // token map lists - std::unique_ptr<SvXMLTokenMap> mpBodyElemTokenMap; - std::unique_ptr<SvXMLTokenMap> mpStylesElemTokenMap; - std::unique_ptr<SvXMLTokenMap> mpMasterPageElemTokenMap; - std::unique_ptr<SvXMLTokenMap> mpPageMasterAttrTokenMap; - std::unique_ptr<SvXMLTokenMap> mpPageMasterStyleAttrTokenMap; - std::unique_ptr<SvXMLTokenMap> mpPresentationPlaceholderAttrTokenMap; - sal_Int32 mnNewPageCount; sal_Int32 mnNewMasterPageCount; diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx index 829a3cbe5980..52e2fc81744c 100644 --- a/xmloff/source/style/xmlnumfi.cxx +++ b/xmloff/source/style/xmlnumfi.cxx @@ -65,7 +65,6 @@ struct SvXMLNumFmtEntry class SvXMLNumImpData { SvNumberFormatter* pFormatter; - std::unique_ptr<SvXMLTokenMap> pStylesElemTokenMap; std::unique_ptr<LocaleDataWrapper> pLocaleData; std::vector<SvXMLNumFmtEntry> m_NameEntries; diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx index ba19c7ff50d3..5211cc4eb1da 100644 --- a/xmloff/source/text/XMLTextColumnsContext.cxx +++ b/xmloff/source/text/XMLTextColumnsContext.cxx @@ -64,24 +64,6 @@ enum SvXMLSepTokenMapAttrs } -const SvXMLTokenMapEntry aColAttrTokenMap[] = -{ - { XML_NAMESPACE_STYLE, XML_REL_WIDTH, XML_TOK_COLUMN_WIDTH }, - { XML_NAMESPACE_FO, XML_START_INDENT, XML_TOK_COLUMN_MARGIN_LEFT }, - { XML_NAMESPACE_FO, XML_END_INDENT, XML_TOK_COLUMN_MARGIN_RIGHT }, - XML_TOKEN_MAP_END -}; - -const SvXMLTokenMapEntry aColSepAttrTokenMap[] = -{ - { XML_NAMESPACE_STYLE, XML_WIDTH, XML_TOK_COLUMN_SEP_WIDTH }, - { XML_NAMESPACE_STYLE, XML_COLOR, XML_TOK_COLUMN_SEP_COLOR }, - { XML_NAMESPACE_STYLE, XML_HEIGHT, XML_TOK_COLUMN_SEP_HEIGHT }, - { XML_NAMESPACE_STYLE, XML_VERTICAL_ALIGN, XML_TOK_COLUMN_SEP_ALIGN }, - { XML_NAMESPACE_STYLE, XML_STYLE, XML_TOK_COLUMN_SEP_STYLE }, - XML_TOKEN_MAP_END -}; - SvXMLEnumMapEntry<sal_Int8> const pXML_Sep_Style_Enum[] = { { XML_NONE, 0 }, @@ -240,8 +222,6 @@ XMLTextColumnsContext::XMLTextColumnsContext( const XMLPropertyState& rProp, ::std::vector< XMLPropertyState > &rProps ) : XMLElementPropertyContext( rImport, nElement, rProp, rProps ) -, pColumnAttrTokenMap( new SvXMLTokenMap(aColAttrTokenMap) ) -, pColumnSepAttrTokenMap( new SvXMLTokenMap(aColSepAttrTokenMap) ) , nCount( 0 ) , bAutomatic( false ) , nAutomaticDistance( 0 ) diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 06c997fe980a..4e46cedcc135 100644 --- a/xmloff/source/text/txtimp.cxx +++ b/xmloff/source/text/txtimp.cxx @@ -517,7 +517,6 @@ struct XMLTextImportHelper::Impl std::unique_ptr<SvXMLTokenMap> m_xTextFrameAttrTokenMap; std::unique_ptr<SvXMLTokenMap> m_xTextContourAttrTokenMap; std::unique_ptr<SvXMLTokenMap> m_xTextHyperlinkAttrTokenMap; - std::unique_ptr<SvXMLTokenMap> m_xTextMasterPageElemTokenMap; std::unique_ptr< std::vector<OUString> > m_xPrevFrmNames; std::unique_ptr< std::vector<OUString> > m_xNextFrmNames; std::unique_ptr<XMLTextListsHelper> m_xTextListsHelper; |