diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx | 2 | ||||
-rw-r--r-- | framework/source/uiconfiguration/uiconfigurationmanager.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index c4679f55db5d..8e4aec67c385 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -273,7 +273,7 @@ void ModuleUIConfigurationManager::impl_preloadUIElementTypeList( Layer eLayer, OUString aUIElementName( aUIElementNames[n].copy( 0, nIndex )); if (!aUIElementName.isEmpty() && - ( aExtension.equalsIgnoreAsciiCaseAsciiL( "xml", 3 ))) + ( aExtension.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("xml")))) { aUIElementData.aResourceURL = aResURLPrefix + aUIElementName; aUIElementData.aName = aUIElementNames[n]; diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index 0803ff01dc69..f0caf7f0daad 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -216,7 +216,7 @@ void UIConfigurationManager::impl_preloadUIElementTypeList( sal_Int16 nElementTy rtl::OUString aUIElementName( aUIElementNames[n].copy( 0, nIndex )); if (!aUIElementName.isEmpty() && - ( aExtension.equalsIgnoreAsciiCaseAsciiL( "xml", 3 ))) + ( aExtension.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("xml")))) { aUIElementData.aResourceURL = aResURLPrefix + aUIElementName; aUIElementData.aName = aUIElementNames[n]; |