summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-21 01:06:12 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-21 01:07:21 +0900
commit30063974396f43ef30bc6b81f0260d3fb09d17cd (patch)
treeaafd11745407f9579c855b3dd9c70c40c1360f73 /sd
parentc306532e0bed1df36abf5d7ad6f0363056e69739 (diff)
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx4
-rw-r--r--sd/source/ui/unoidl/sddetect.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index e5b87ed5eff1..b54acde52707 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -930,8 +930,8 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int1
case SVX_NUM_CHAR_SPECIAL : // Bullet
{
- if ( aFontDesc.Name.equalsIgnoreAsciiCaseAscii("starsymbol") ||
- aFontDesc.Name.equalsIgnoreAsciiCaseAscii("opensymbol") )
+ if ( aFontDesc.Name.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("starsymbol")) ||
+ aFontDesc.Name.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("opensymbol")) )
{
String sFontName = aFontDesc.Name;
String sNumStr = cBulletId;
diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx
index 59a772938c30..dba3e460a294 100644
--- a/sd/source/ui/unoidl/sddetect.cxx
+++ b/sd/source/ui/unoidl/sddetect.cxx
@@ -365,7 +365,7 @@ SdFilterDetect::~SdFilterDetect()
if( SvtModuleOptions().IsImpress() )
{
INetURLObject aCheckURL( aFileName );
- if( aCheckURL.getExtension().equalsIgnoreAsciiCaseAscii( "cgm" ) )
+ if( aCheckURL.getExtension().equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("cgm")) )
{
sal_uInt8 n8;
pStm->Seek( STREAM_SEEK_TO_BEGIN );