summaryrefslogtreecommitdiff
path: root/package/source/xstor/xfactory.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-20 10:30:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-20 10:30:44 +0100
commit7c89e643b1152383ffa1a51e4a3b911ac1d1d36e (patch)
tree8694fcf7d05400b0e78bb33e57079eef257bd8dd /package/source/xstor/xfactory.cxx
parent2bc5fb34285a00e551d076e8867f12de1e218bf6 (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 'package/source/xstor/xfactory.cxx')
-rw-r--r--package/source/xstor/xfactory.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx
index c7bc364ec674..e0e1ce8148e4 100644
--- a/package/source/xstor/xfactory.cxx
+++ b/package/source/xstor/xfactory.cxx
@@ -202,17 +202,17 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr
for ( sal_Int32 nInd = 0, nNumArgs = 1; nInd < aDescr.getLength(); nInd++ )
{
- if ( aDescr[nInd].Name.equalsAscii( "InteractionHandler" )
- || aDescr[nInd].Name.equalsAscii( "Password" )
- || aDescr[nInd].Name.equalsAscii( "RepairPackage" )
- || aDescr[nInd].Name.equalsAscii( "StatusIndicator" ) )
- // || aDescr[nInd].Name.equalsAscii( "Unpacked" ) // TODO:
+ if ( aDescr[nInd].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "InteractionHandler" ) )
+ || aDescr[nInd].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Password" ) )
+ || aDescr[nInd].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "RepairPackage" ) )
+ || aDescr[nInd].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "StatusIndicator" ) ) )
+ // || aDescr[nInd].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Unpacked" ) ) // TODO:
{
aPropsToSet.realloc( ++nNumArgs );
aPropsToSet[nNumArgs-1].Name = aDescr[nInd].Name;
aPropsToSet[nNumArgs-1].Value = aDescr[nInd].Value;
}
- else if ( aDescr[nInd].Name.equalsAscii( "StorageFormat" ) )
+ else if ( aDescr[nInd].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "StorageFormat" ) ) )
{
::rtl::OUString aFormatName;
sal_Int32 nFormatID = 0;