From 6e427e0bd194ae74e704e2cdbe6fe183eafbf4c5 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 27 Jun 2017 15:25:53 +0200 Subject: xmloff: remove duplicate XML_NAMESPACE_##prefix##_IDX macros Why do we need 2 identical constants? Change-Id: Ib969f9b9583261f26fe65e04f183bdfabcb9eefe --- xmloff/source/xforms/XFormsBindContext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source/xforms') 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 ) ) -- cgit