summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:16:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:16:06 +0100
commitfc6e89ef5004bbc6f39e70d42a97c3c97c2050f4 (patch)
treec8be20491420968e3ea85ea7498a4b6714d3d95b /sd/qa
parentfe17eb9448f6da0e8fab6aca02f49c7cf597e2b0 (diff)
sd: Use appropriate OUString functions on string constants
Change-Id: I853f0c45e606297c966cd50d7086646c867596ec
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/export-tests.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 2641b71edb9a..4c4cf0908d84 100644
--- a/sd/qa/unit/export-tests.cxx
+++ b/sd/qa/unit/export-tests.cxx
@@ -260,7 +260,7 @@ void SdExportTest::testN828390_4()
const SvxFontItem *pFont = dynamic_cast<const SvxFontItem *>((*it).pAttr);
if( pFont )
{
- CPPUNIT_ASSERT_MESSAGE( "Font is wrong", pFont->GetFamilyName().equalsAscii("Arial"));
+ CPPUNIT_ASSERT_MESSAGE( "Font is wrong", pFont->GetFamilyName() == "Arial");
bPassed = true;
}
const SvxWeightItem *pWeight = dynamic_cast<const SvxWeightItem *>((*it).pAttr);