diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 22:15:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-12 22:15:32 +0100 |
commit | 58d8fa1105f5a259111c1cbafc54ff1586d2e24c (patch) | |
tree | a2a07408559938488358fcd3bb5d701f6cc7b12f /sw | |
parent | 38e24f1d059a6123ea15a68b4b24ca984642d66e (diff) |
loplugin:stringconstant
Change-Id: Ibead5179a353e7698d649bf20d0f7d13d4641136
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 9ca85ee7fd9c..0560a1494b94 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -2278,8 +2278,8 @@ void SwUiWriterTest::testTdf89714() uno::Reference<uno::XInterface> xInterface(xFact->createInstance("com.sun.star.text.Defaults"), uno::UNO_QUERY); uno::Reference<beans::XPropertyState> xPropState(xInterface, uno::UNO_QUERY); //enabled Paragraph Orphan and Widows by default starting in LO5.1 - CPPUNIT_ASSERT_EQUAL( uno::makeAny(sal_Int8(2)), xPropState->getPropertyDefault(OUString("ParaOrphans")) ); - CPPUNIT_ASSERT_EQUAL( uno::makeAny(sal_Int8(2)), xPropState->getPropertyDefault(OUString("ParaWidows")) ); + CPPUNIT_ASSERT_EQUAL( uno::makeAny(sal_Int8(2)), xPropState->getPropertyDefault("ParaOrphans") ); + CPPUNIT_ASSERT_EQUAL( uno::makeAny(sal_Int8(2)), xPropState->getPropertyDefault("ParaWidows") ); } void SwUiWriterTest::testPropertyDefaults() |