From 30063974396f43ef30bc6b81f0260d3fb09d17cd Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 21 Feb 2012 01:06:12 +0900 Subject: Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsIgnoreAsciiCaseAscii("...") --- svx/source/gallery2/gallery1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/gallery2/gallery1.cxx') diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 4bfacb468596..a2d5d054d3d1 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -321,7 +321,7 @@ void Gallery::ImplLoadSubDirs( const INetURLObject& rBaseURL, sal_Bool& rbDirIsR { INetURLObject aThmURL( xContentAccess->queryContentIdentifierString() ); - if(aThmURL.GetExtension().equalsIgnoreAsciiCaseAscii("thm")) + if(aThmURL.GetExtension().equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("thm"))) { INetURLObject aSdgURL( aThmURL); aSdgURL.SetExtension( s_sSDG_EXT ); INetURLObject aSdvURL( aThmURL ); aSdvURL.SetExtension( s_sSDV_EXT ); -- cgit