diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-17 15:08:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 09:32:55 +0200 |
commit | be48e04b5bd51015595c0f0792a646c51164fd34 (patch) | |
tree | 3e54d8f8b1d88bf190d555561072d7d00159d028 /reportdesign | |
parent | 29840e676927eb44c5857e854df283d58aae93c3 (diff) |
Elide const vars
Change-Id: I1b2a7b071f9740e8c848f543e32fd47f054c8318
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlfilter.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx index 553dcb778024..ba6df0b7ee0c 100644 --- a/reportdesign/source/filter/xml/xmlfilter.cxx +++ b/reportdesign/source/filter/xml/xmlfilter.cxx @@ -77,10 +77,6 @@ using namespace ::com::sun::star::xml::sax; using namespace xmloff; using namespace ::com::sun::star::util; - sal_Char const sXML_np__rpt[] = "_report"; - sal_Char const sXML_np___rpt[] = "__report"; - - class RptMLMasterStylesContext_Impl: public XMLTextMasterStylesContext { @@ -357,11 +353,11 @@ ORptFilter::ORptFilter( const uno::Reference< XComponentContext >& _rxContext, S { GetMM100UnitConverter().SetCoreMeasureUnit(util::MeasureUnit::MM_100TH); GetMM100UnitConverter().SetXMLMeasureUnit(util::MeasureUnit::CM); - GetNamespaceMap().Add( sXML_np__rpt, + GetNamespaceMap().Add( "_report", GetXMLToken(XML_N_RPT), XML_NAMESPACE_REPORT ); - GetNamespaceMap().Add( sXML_np___rpt, + GetNamespaceMap().Add( "__report", GetXMLToken(XML_N_RPT_OASIS), XML_NAMESPACE_REPORT ); |