summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/eventimp.cxx4
-rw-r--r--xmloff/source/draw/shapeexport2.cxx4
-rw-r--r--xmloff/source/forms/elementimport.cxx2
-rw-r--r--xmloff/source/transform/EventOASISTContext.cxx4
4 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 202b5c73097a..9366a72fea9d 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -340,7 +340,7 @@ void SdXMLEventContext::EndElement()
nPropertyCount += 1;
break;
case ClickAction_MACRO:
- if ( msLanguage.equalsIgnoreAsciiCaseAscii("starbasic") )
+ if ( msLanguage.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("starbasic")) )
nPropertyCount += 1;
break;
@@ -360,7 +360,7 @@ void SdXMLEventContext::EndElement()
if( ClickAction_MACRO == meClickAction )
{
- if ( msLanguage.equalsIgnoreAsciiCaseAscii("starbasic") )
+ if ( msLanguage.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("starbasic")) )
{
OUString sLibrary;
const OUString& rApp = GetXMLToken( XML_APPLICATION );
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx
index 3629e3687911..0e6c2a12511b 100644
--- a/xmloff/source/draw/shapeexport2.cxx
+++ b/xmloff/source/draw/shapeexport2.cxx
@@ -523,8 +523,8 @@ void XMLShapeExport::ImpExportEvents( const uno::Reference< drawing::XShape >& x
if( nFound & FOUND_LIBRARY )
{
OUString sLocation( GetXMLToken(
- (aStrLibrary.equalsIgnoreAsciiCaseAscii("StarOffice") ||
- aStrLibrary.equalsIgnoreAsciiCaseAscii("application") ) ? XML_APPLICATION
+ (aStrLibrary.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("StarOffice")) ||
+ aStrLibrary.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("application")) ) ? XML_APPLICATION
: XML_DOCUMENT ) );
OUStringBuffer sTmp( sLocation.getLength() + aStrMacro.getLength() + 1 );
sTmp = sLocation;
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index a3044803bc22..9100f599759c 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -1455,7 +1455,7 @@ namespace xmloff
SvXMLImportContext* OTextLikeImport::CreateChildContext( sal_uInt16 _nPrefix, const ::rtl::OUString& _rLocalName,
const Reference< XAttributeList >& _rxAttrList )
{
- if ( ( XML_NAMESPACE_TEXT == _nPrefix ) && _rLocalName.equalsIgnoreAsciiCaseAscii( "p" ) )
+ if ( ( XML_NAMESPACE_TEXT == _nPrefix ) && _rLocalName.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("p")) )
{
OSL_ENSURE( m_eElementType == OControlElement::TEXT_AREA,
"OTextLikeImport::CreateChildContext: text paragraphs in a non-text-area?" );
diff --git a/xmloff/source/transform/EventOASISTContext.cxx b/xmloff/source/transform/EventOASISTContext.cxx
index cf8eeda19284..8f75bbc63ea3 100644
--- a/xmloff/source/transform/EventOASISTContext.cxx
+++ b/xmloff/source/transform/EventOASISTContext.cxx
@@ -183,7 +183,7 @@ bool ParseURLAsString(
}
} while ( params >= 0 );
- if ( aLanguage.equalsIgnoreAsciiCaseAscii( "basic" ) )
+ if ( aLanguage.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("basic")) )
{
return sal_True;
}
@@ -216,7 +216,7 @@ bool ParseURL(
{
OUString aLanguage = xUrl->getParameter( aLanguageKey );
- if ( aLanguage.equalsIgnoreAsciiCaseAscii( "basic" ) )
+ if ( aLanguage.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("basic")) )
{
*pName = xUrl->getName();