summaryrefslogtreecommitdiff
path: root/xmloff/source/transform
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-21 01:06:12 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-21 01:07:21 +0900
commit30063974396f43ef30bc6b81f0260d3fb09d17cd (patch)
treeaafd11745407f9579c855b3dd9c70c40c1360f73 /xmloff/source/transform
parentc306532e0bed1df36abf5d7ad6f0363056e69739 (diff)
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
Diffstat (limited to 'xmloff/source/transform')
-rw-r--r--xmloff/source/transform/EventOASISTContext.cxx4
1 files changed, 2 insertions, 2 deletions
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();