summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ext
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-20 10:27:06 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-20 10:27:06 +0100
commitba7e0d7574aa8e4d1d79e9a82082c06d7dfdc1ba (patch)
tree1639f9ffbb8b1c2d077fc999e46c6448235f71af /dbaccess/source/ext
parentcppcheck: object destroyed immediately (diff)
downloadcore-ba7e0d7574aa8e4d1d79e9a82082c06d7dfdc1ba.tar.gz
core-ba7e0d7574aa8e4d1d79e9a82082c06d7dfdc1ba.zip
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 'dbaccess/source/ext')
-rw-r--r--dbaccess/source/ext/macromigration/migrationengine.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index f5ef73f23589..205125b5c8bb 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -333,7 +333,7 @@ namespace dbmm
bool bCausedByNewStyleReport =
( _rDocument.eType == eReport )
&& ( aError.isExtractableTo( ::cppu::UnoType< WrongFormatException >::get() ) )
- && ( lcl_getMimeType_nothrow( _rDocument.xCommandProcessor ).equalsAscii( "application/vnd.sun.xml.report" ) );
+ && ( lcl_getMimeType_nothrow( _rDocument.xCommandProcessor ).equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "application/vnd.sun.xml.report" ) ) );
if ( bCausedByNewStyleReport )
{
@@ -1668,7 +1668,7 @@ namespace dbmm
::rtl::OUString sLocation = xUri->getParameter(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "location" ) ) );
- if ( !sLocation.equalsAscii( "document" ) )
+ if ( !sLocation.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "document" ) ) )
{
// only document libraries must be migrated, of course
return false;