summaryrefslogtreecommitdiff
path: root/filter/source/odfflatxml
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-20 10:33:13 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-20 11:31:12 +0100
commit4dd5c0b6b7b0df2b469635c96bc22fc2076f1997 (patch)
treef5143663aea7c9fbbb5567887d9c0ff594316ae0 /filter/source/odfflatxml
parentd870d4fa5d7179b05286f26ac9361074730f89e2 (diff)
Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
Diffstat (limited to 'filter/source/odfflatxml')
-rw-r--r--filter/source/odfflatxml/FlatXml.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/odfflatxml/FlatXml.cxx b/filter/source/odfflatxml/FlatXml.cxx
index f6d7543df9e4..6bf7c608a440 100644
--- a/filter/source/odfflatxml/FlatXml.cxx
+++ b/filter/source/odfflatxml/FlatXml.cxx
@@ -91,11 +91,11 @@ namespace XFlatXml
for (sal_Int32 i = 0; i < nLength; i++)
{
aName = aSourceData[i].Name;
- if (aName.equalsAscii("InputStream"))
+ if (aName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("InputStream")))
aSourceData[i].Value >>= xInputStream;
- else if (aName.equalsAscii("FileName"))
+ else if (aName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("FileName")))
aSourceData[i].Value >>= aFileName;
- else if (aName.equalsAscii("URL"))
+ else if (aName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("URL")))
aSourceData[i].Value >>= aURL;
}
@@ -159,9 +159,9 @@ namespace XFlatXml
for (sal_Int32 i = 0; i < nLength; i++)
{
aName = aSourceData[i].Name;
- if (aName.equalsAscii("OutputStream"))
+ if (aName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("OutputStream")))
aSourceData[i].Value >>= rOutputStream;
- else if (aName.equalsAscii("URL"))
+ else if (aName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("URL")))
aSourceData[i].Value >>= sURL;
}