summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 01:58:15 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 01:59:26 +0900
commite7e0455b0285f60ba999a0a6a831f3be271f5a37 (patch)
tree612248965d3b28720ae47d93c2ddf2dcd017e30e /test/source
parentef09cbf45347f5f1ea34f35acedeea5aa3a7f6f6 (diff)
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...")
Diffstat (limited to 'test/source')
-rw-r--r--test/source/sheet/xdatapilotdescriptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xdatapilotdescriptor.cxx b/test/source/sheet/xdatapilotdescriptor.cxx
index eaddff59a44d..49704a41ad8f 100644
--- a/test/source/sheet/xdatapilotdescriptor.cxx
+++ b/test/source/sheet/xdatapilotdescriptor.cxx
@@ -106,7 +106,7 @@ void XDataPilotDescriptor::testGetDataPilotFields_Impl( uno::Reference< sheet::X
CPPUNIT_ASSERT(xNamed.is());
rtl::OUString aName = xNamed->getName();
maFieldNames.push_back(aName);
- CPPUNIT_ASSERT( !aName.equalsAscii("Data") );
+ CPPUNIT_ASSERT( !aName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Data")) );
uno::Reference< beans::XPropertySet > xPropSet( xNamed, UNO_QUERY_THROW);
CPPUNIT_ASSERT( xPropSet.is() );