summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-06-27 15:25:53 +0200
committerMichael Stahl <mstahl@redhat.com>2017-06-27 16:22:38 +0200
commit6e427e0bd194ae74e704e2cdbe6fe183eafbf4c5 (patch)
tree8f8b6b715e55e4158d3e1f7b5911d7f62a1771c5 /starmath
parent7567074894a7ad48a82ea35eead51bac9fafa19b (diff)
xmloff: remove duplicate XML_NAMESPACE_##prefix##_IDX macros
Why do we need 2 identical constants? Change-Id: Ib969f9b9583261f26fe65e04f183bdfabcb9eefe
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index c7824d81b23b..e737b848c08e 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -447,8 +447,8 @@ ErrCode SmXMLExport::exportDoc(enum XMLTokenEnum eClass)
ResetNamespaceMap(); // Math doesn't need namespaces from xmloff, since it now uses default namespaces (because that is common with current MathML usage in the web)
GetNamespaceMap_().Add( OUString(), GetXMLToken(XML_N_MATH), XML_NAMESPACE_MATH );
- rList.AddAttribute(GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_MATH_IDX),
- GetNamespaceMap().GetNameByKey( XML_NAMESPACE_MATH_IDX));
+ rList.AddAttribute(GetNamespaceMap().GetAttrNameByKey(XML_NAMESPACE_MATH),
+ GetNamespaceMap().GetNameByKey( XML_NAMESPACE_MATH));
//I think we need something like ImplExportEntities();
ExportContent_();