summaryrefslogtreecommitdiff
path: root/oox/source/dump/xlsbdumper.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 /oox/source/dump/xlsbdumper.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 'oox/source/dump/xlsbdumper.cxx')
-rw-r--r--oox/source/dump/xlsbdumper.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/oox/source/dump/xlsbdumper.cxx b/oox/source/dump/xlsbdumper.cxx
index ad4e68b4e842..74390046737e 100644
--- a/oox/source/dump/xlsbdumper.cxx
+++ b/oox/source/dump/xlsbdumper.cxx
@@ -2202,30 +2202,30 @@ void RootStorageObject::implDumpStream( const BinaryInputStreamRef& rxStrm, cons
}
else if( aExt.equalsIgnoreAsciiCaseAscii( "bin" ) )
{
- if( rStrgPath.equalsAscii( "xl" ) && rStrmName.equalsAscii( "vbaProject.bin" ) )
+ if( rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl" ) ) && rStrmName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "vbaProject.bin" ) ) )
{
StorageRef xStrg( new ::oox::ole::OleStorage( getFactory(), xInStrm, false ) );
VbaProjectStorageObject( *this, xStrg, rSysFileName ).dump();
}
- else if( rStrgPath.equalsAscii( "xl/embeddings" ) )
+ else if( rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/embeddings" ) ) )
{
StorageRef xStrg( new ::oox::ole::OleStorage( getFactory(), xInStrm, false ) );
OleStorageObject( *this, xStrg, rSysFileName ).dump();
}
else if(
- rStrgPath.equalsAscii( "xl" ) ||
- rStrgPath.equalsAscii( "xl/chartsheets" ) ||
- rStrgPath.equalsAscii( "xl/dialogsheets" ) ||
- rStrgPath.equalsAscii( "xl/externalLinks" ) ||
- rStrgPath.equalsAscii( "xl/macrosheets" ) ||
- rStrgPath.equalsAscii( "xl/pivotCache" ) ||
- rStrgPath.equalsAscii( "xl/pivotTables" ) ||
- rStrgPath.equalsAscii( "xl/tables" ) ||
- rStrgPath.equalsAscii( "xl/worksheets" ) )
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/chartsheets" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/dialogsheets" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/externalLinks" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/macrosheets" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/pivotCache" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/pivotTables" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/tables" ) ) ||
+ rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/worksheets" ) ) )
{
RecordStreamObject( *this, rxStrm, rSysFileName ).dump();
}
- else if( rStrgPath.equalsAscii( "xl/activeX" ) )
+ else if( rStrgPath.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "xl/activeX" ) ) )
{
StorageRef xStrg( new ::oox::ole::OleStorage( getFactory(), xInStrm, true ) );
ActiveXStorageObject( *this, xStrg, rSysFileName ).dump();