summaryrefslogtreecommitdiff
path: root/xmloff
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 /xmloff
parent7567074894a7ad48a82ea35eead51bac9fafa19b (diff)
xmloff: remove duplicate XML_NAMESPACE_##prefix##_IDX macros
Why do we need 2 identical constants? Change-Id: Ib969f9b9583261f26fe65e04f183bdfabcb9eefe
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/xforms/XFormsBindContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx
index 8a54e3ad9c41..9cb04313ac17 100644
--- a/xmloff/source/xforms/XFormsBindContext.cxx
+++ b/xmloff/source/xforms/XFormsBindContext.cxx
@@ -155,7 +155,7 @@ static void lcl_fillNamespaceContainer(
// as a hack, we will ignore our own 'default' namespaces
SAL_WARN_IF( sPrefix.isEmpty(), "xmloff", "no prefix?" );
if( !sPrefix.startsWith("_") &&
- nKeyIter >= XML_OLD_NAMESPACE_META_IDX )
+ nKeyIter >= XML_OLD_NAMESPACE_META)
{
// insert prefix (use replace if already known)
if( xContainer->hasByName( sPrefix ) )