summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-18 23:18:57 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-18 23:19:41 +0900
commit03591233c18c90158b3567f24fa332cd7c52a7ee (patch)
treea0e6193798c903b7752ba572c750cf3577875e4d /filter
parent77946f3b9d03e814f7ada8af7f633c649975659e (diff)
Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index 3e3abb02d09c..8a69144a4b6c 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -261,13 +261,13 @@ sal_Bool SAL_CALL XmlFilterAdaptor::exportImpl( const Sequence< ::com::sun::star
// pretty printing is confusing for some filters so it is disabled by default
sal_Bool bPrettyPrint =
- (msUserData.getLength() > 6 && msUserData[6].equalsIgnoreAsciiCaseAscii("true"));
+ (msUserData.getLength() > 6 && msUserData[6].equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")));
// export of <text:number> element for <text:list-item> elements are
// needed for certain filters.
sal_Bool bExportTextNumberElementForListItems =
( msUserData.getLength() > 7 &&
- msUserData[7].equalsIgnoreAsciiCaseAscii("true") );
+ msUserData[7].equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("true")) );
// get the base URI, so we can use relative links
OUString aBaseURI;