diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2017-05-02 13:04:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-04 08:39:18 +0200 |
commit | 1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed (patch) | |
tree | c3b81991090cefd9468fe0d3dced9da6fb073971 /editeng/qa | |
parent | 0025fc13d805751f8eeb14febbdd0033e0a6d91e (diff) |
Replace all OUString("") with OUString()
Change-Id: Ie14c4d76cb61cfbe0410103adfc1afc8ade0f3e0
Reviewed-on: https://gerrit.libreoffice.org/37146
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/qa')
-rw-r--r-- | editeng/qa/unit/core-test.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx index 9f8421048b86..f620a72d8843 100644 --- a/editeng/qa/unit/core-test.cxx +++ b/editeng/qa/unit/core-test.cxx @@ -397,7 +397,7 @@ void Test::testHyperlinkCopyPaste() // New instance must be empty - no initial text CPPUNIT_ASSERT_EQUAL( sal_uLong(0), rDoc.GetTextLen() ); - CPPUNIT_ASSERT_EQUAL( OUString(""), rDoc.GetParaAsString(sal_Int32(0)) ); + CPPUNIT_ASSERT_EQUAL( OUString(), rDoc.GetParaAsString(sal_Int32(0)) ); // Get corresponding Field Item for inserting URLs in text // URL 1 @@ -524,7 +524,7 @@ void Test::testCopyPaste() // Initially no text should be there CPPUNIT_ASSERT_EQUAL( sal_uLong(0), rDoc.GetTextLen() ); - CPPUNIT_ASSERT_EQUAL( OUString(""), rDoc.GetParaAsString(sal_Int32(0)) ); + CPPUNIT_ASSERT_EQUAL( OUString(), rDoc.GetParaAsString(sal_Int32(0)) ); // Set initial text OUString aText = "This is custom initial text"; @@ -556,7 +556,7 @@ void Test::testTabsCopyPaste() // New instance must be empty - no initial text CPPUNIT_ASSERT_EQUAL( sal_uLong(0), rDoc.GetTextLen() ); - CPPUNIT_ASSERT_EQUAL( OUString(""), rDoc.GetParaAsString(sal_Int32(0)) ); + CPPUNIT_ASSERT_EQUAL( OUString(), rDoc.GetParaAsString(sal_Int32(0)) ); // Get corresponding Item for inserting tabs in the text SfxVoidItem aTab( EE_FEATURE_TAB ); @@ -725,7 +725,7 @@ void Test::testBoldItalicCopyPaste() // New instance must be empty - no initial text CPPUNIT_ASSERT_EQUAL( sal_uLong(0), rDoc.GetTextLen() ); - CPPUNIT_ASSERT_EQUAL( OUString(""), rDoc.GetParaAsString(sal_Int32(0)) ); + CPPUNIT_ASSERT_EQUAL( OUString(), rDoc.GetParaAsString(sal_Int32(0)) ); // Get corresponding ItemSet for inserting Bold/Italic text std::unique_ptr<SfxItemSet> pSet( new SfxItemSet(aEditEngine.GetEmptyItemSet()) ); @@ -931,7 +931,7 @@ void Test::testUnderlineCopyPaste() // New instance must be empty - no initial text CPPUNIT_ASSERT_EQUAL( sal_uLong(0), rDoc.GetTextLen() ); - CPPUNIT_ASSERT_EQUAL( OUString(""), rDoc.GetParaAsString(sal_Int32(0)) ); + CPPUNIT_ASSERT_EQUAL( OUString(), rDoc.GetParaAsString(sal_Int32(0)) ); // Get corresponding ItemSet for inserting Underline text std::unique_ptr<SfxItemSet> pSet( new SfxItemSet(aEditEngine.GetEmptyItemSet()) ); |