summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmllib_imexp/xmllib_import.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmllib_imexp/xmllib_import.cxx')
-rw-r--r--xmlscript/source/xmllib_imexp/xmllib_import.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
index 21cc0f366933..8566529e5295 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
@@ -238,7 +238,7 @@ Reference< xml::input::XElement > LibrariesElement::startChildElement(
Reference< XInterface >(), Any() );
}
// library
- else if (rLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("library") ))
+ else if ( rLocalName == "library" )
{
LibDescriptor aDesc;
aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = sal_False;
@@ -300,7 +300,7 @@ Reference< xml::input::XElement > LibraryElement::startChildElement(
Reference< XInterface >(), Any() );
}
// library
- else if (rLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("element") ))
+ else if ( rLocalName == "element" )
{
OUString aValue( xAttributes->getValueByUidName(
_pImport->XMLNS_LIBRARY_UID,