summaryrefslogtreecommitdiff
path: root/writerfilter/source/filter/WriterFilterDetection.cxx
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 /writerfilter/source/filter/WriterFilterDetection.cxx
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 'writerfilter/source/filter/WriterFilterDetection.cxx')
-rw-r--r--writerfilter/source/filter/WriterFilterDetection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/filter/WriterFilterDetection.cxx b/writerfilter/source/filter/WriterFilterDetection.cxx
index 1bcb5f2cee7e..c4fd70b7133d 100644
--- a/writerfilter/source/filter/WriterFilterDetection.cxx
+++ b/writerfilter/source/filter/WriterFilterDetection.cxx
@@ -117,7 +117,7 @@ OUString WriterFilterDetection::detect( uno::Sequence< beans::PropertyValue >& r
else
{
uno::Reference< embed::XStorage > xDocStorage;
- if( sURL.equalsAscii( "private:stream" ) )
+ if( sURL.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "private:stream" ) ) )
xDocStorage = comphelper::OStorageHelper::GetStorageFromInputStream( xInputStream );
else
xDocStorage = comphelper::OStorageHelper::GetStorageFromURL(