diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-06-04 23:31:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-06-05 07:34:57 +0200 |
commit | 88a5f7769ed39c976129652db7de43e69c925e3c (patch) | |
tree | 704ebdea46482d646a84c3599ed4478887fcb39f /sd/qa/unit/import-tests-smartart.cxx | |
parent | 4b85108773f9851f358a4daa8869eeadc638d103 (diff) |
Upcoming loplugin:elidestringvar: sd
Change-Id: I5eb606a68c9d1f777cbc896904db0ddce20c68f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95543
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/qa/unit/import-tests-smartart.cxx')
-rw-r--r-- | sd/qa/unit/import-tests-smartart.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/qa/unit/import-tests-smartart.cxx b/sd/qa/unit/import-tests-smartart.cxx index f08b60c30193..9496c1eae7c2 100644 --- a/sd/qa/unit/import-tests-smartart.cxx +++ b/sd/qa/unit/import-tests-smartart.cxx @@ -804,8 +804,7 @@ void SdImportTestSmartArt::testOrgChart() CPPUNIT_ASSERT(xManager.is()); // Without the accompanying fix in place, this test would have failed: this // was just "Manager", and the second paragraph was lost. - OUString aExpected("Manager\nSecond para"); - CPPUNIT_ASSERT_EQUAL(aExpected, xManager->getString()); + CPPUNIT_ASSERT_EQUAL(OUString("Manager\nSecond para"), xManager->getString()); uno::Reference<container::XEnumerationAccess> xParaEnumAccess(xManager, uno::UNO_QUERY); uno::Reference<container::XEnumeration> xParaEnum = xParaEnumAccess->createEnumeration(); |