summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2017-05-02 13:04:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 08:39:18 +0200
commit1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed (patch)
treec3b81991090cefd9468fe0d3dced9da6fb073971 /editeng
parentinclude cleanup (diff)
downloadcore-1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed.tar.gz
core-1fdb0e1897b063c7a0f29ed5a0de440ea057b2ed.zip
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')
-rw-r--r--editeng/qa/unit/core-test.cxx10
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()) );