diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-25 15:58:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-25 15:58:17 +0100 |
commit | 53905d96cd8e62bb55d9ab5c9ead05b5fb7cbadb (patch) | |
tree | 16ed85dd03bf0fe389258527cea91a7416cdb57e /sw | |
parent | a097e183237e4eb66814df01b9505984e2c5c63b (diff) |
loplugin:stringconstant
Change-Id: I6e22654d78ba8e043bab1009a295f078f9666000
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index c3cccc931340..c2c04c44f4f8 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -1868,19 +1868,19 @@ void SwUiWriterTest::testTdf73660() searchOpt.algorithmType = css::util::SearchAlgorithms_REGEXP; searchOpt.searchFlag = css::util::SearchFlags::NORM_WORD_ONLY; //case 1 - searchOpt.searchString = OUString("First"); + searchOpt.searchString = "First"; CPPUNIT_ASSERT_EQUAL(sal_uLong(1), pWrtShell->SearchPattern(searchOpt,true,DOCPOS_START,DOCPOS_END)); //case 2 - searchOpt.searchString = OUString("Second"); + searchOpt.searchString = "Second"; CPPUNIT_ASSERT_EQUAL(sal_uLong(1), pWrtShell->SearchPattern(searchOpt,true,DOCPOS_START,DOCPOS_END)); //case 3 - searchOpt.searchString = OUString("Third"); + searchOpt.searchString = "Third"; CPPUNIT_ASSERT_EQUAL(sal_uLong(1), pWrtShell->SearchPattern(searchOpt,true,DOCPOS_START,DOCPOS_END)); //case 4 - searchOpt.searchString = OUString("Fourth"); + searchOpt.searchString = "Fourth"; CPPUNIT_ASSERT_EQUAL(sal_uLong(1), pWrtShell->SearchPattern(searchOpt,true,DOCPOS_START,DOCPOS_END)); //case 5 - searchOpt.searchString = OUString("Fifth"); + searchOpt.searchString = "Fifth"; CPPUNIT_ASSERT_EQUAL(sal_uLong(1), pWrtShell->SearchPattern(searchOpt,true,DOCPOS_START,DOCPOS_END)); } |