diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-22 12:45:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-22 12:53:10 +0100 |
commit | 7319961687e84d56f30a245c115e7b67b1b69ed3 (patch) | |
tree | bc688d037a395782c24d835b37ae8c1626466643 /sw | |
parent | 3f4553a6e498cc74652aeada4987ee9ced0e1761 (diff) |
loplugin:stringconstant
Change-Id: Ia23865a38eff10304a1c1748b2b4f17af7b4d3ae
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/ww8import/ww8import.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx index 97e3d4ba4e44..8ba9466d462e 100644 --- a/sw/qa/extras/ww8import/ww8import.cxx +++ b/sw/qa/extras/ww8import/ww8import.cxx @@ -519,7 +519,7 @@ DECLARE_WW8IMPORT_TEST(testLayoutHanging, "fdo68967.doc") DECLARE_WW8IMPORT_TEST(testfdo68963, "fdo68963.doc") { // The problem was that the text was not displayed. - CPPUNIT_ASSERT ( OUString("") != parseDump("/root/page/body/tab/row[2]/cell[1]/txt/Special", "rText") ); + CPPUNIT_ASSERT ( !parseDump("/root/page/body/tab/row[2]/cell[1]/txt/Special", "rText").isEmpty() ); CPPUNIT_ASSERT_EQUAL( OUString("Topic 1"), parseDump("/root/page/body/tab/row[2]/cell[1]/txt/Special", "rText") ); } |