summaryrefslogtreecommitdiffstats
path: root/svl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-23 12:06:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-24 14:43:34 +0200
commit6f50961e69406a17d6ec998956a6b33208b1001b (patch)
tree413c83df969e73c5cba1e11ef3740afc748ee1f5 /svl/qa
parentScDoubleItem is dead (diff)
downloadcore-6f50961e69406a17d6ec998956a6b33208b1001b.tar.gz
core-6f50961e69406a17d6ec998956a6b33208b1001b.zip
remove more rtl::OUString and OString prefixes
which seem to have snuck back in since the great rounds of removals. Change-Id: I85f7f5f4801c0b48dae8b50f51f83595b286d6a1 Reviewed-on: https://gerrit.libreoffice.org/62229 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/unit/items/test_IndexedStyleSheets.cxx12
-rw-r--r--svl/qa/unit/svl.cxx8
2 files changed, 10 insertions, 10 deletions
diff --git a/svl/qa/unit/items/test_IndexedStyleSheets.cxx b/svl/qa/unit/items/test_IndexedStyleSheets.cxx
index 3e083892d43f..b00833f418cf 100644
--- a/svl/qa/unit/items/test_IndexedStyleSheets.cxx
+++ b/svl/qa/unit/items/test_IndexedStyleSheets.cxx
@@ -23,7 +23,7 @@ using namespace svl;
class MockedStyleSheet : public SfxStyleSheetBase
{
public:
- MockedStyleSheet(const rtl::OUString& name, SfxStyleFamily fam = SfxStyleFamily::Char)
+ MockedStyleSheet(const OUString& name, SfxStyleFamily fam = SfxStyleFamily::Char)
: SfxStyleSheetBase(name, nullptr, fam, SfxStyleSearchBits::Auto)
{}
@@ -117,8 +117,8 @@ void IndexedStyleSheetsTest::RemovingStyleSheetWhichIsNotAvailableHasNoEffect()
void IndexedStyleSheetsTest::StyleSheetsCanBeRetrievedByTheirName()
{
- rtl::OUString name1("name1");
- rtl::OUString name2("name2");
+ OUString name1("name1");
+ OUString name2("name2");
rtl::Reference<SfxStyleSheetBase> sheet1(new MockedStyleSheet(name1));
rtl::Reference<SfxStyleSheetBase> sheet2(new MockedStyleSheet(name2));
rtl::Reference<SfxStyleSheetBase> sheet3(new MockedStyleSheet(name1));
@@ -142,8 +142,8 @@ void IndexedStyleSheetsTest::StyleSheetsCanBeRetrievedByTheirName()
void IndexedStyleSheetsTest::KnowsThatItStoresAStyleSheet()
{
- rtl::OUString const name1("name1");
- rtl::OUString const name2("name2");
+ OUString const name1("name1");
+ OUString const name2("name2");
rtl::Reference<SfxStyleSheetBase> sheet1(new MockedStyleSheet(name1));
rtl::Reference<SfxStyleSheetBase> sheet2(new MockedStyleSheet(name1));
rtl::Reference<SfxStyleSheetBase> sheet3(new MockedStyleSheet(name2));
@@ -182,7 +182,7 @@ void IndexedStyleSheetsTest::PositionCanBeQueriedByFamily()
void IndexedStyleSheetsTest::OnlyOneStyleSheetIsReturnedWhenReturnFirstIsUsed()
{
- rtl::OUString name("name1");
+ OUString name("name1");
rtl::Reference<SfxStyleSheetBase> sheet1(new MockedStyleSheet(name, SfxStyleFamily::Char));
rtl::Reference<SfxStyleSheetBase> sheet2(new MockedStyleSheet(name, SfxStyleFamily::Para));
rtl::Reference<SfxStyleSheetBase> sheet3(new MockedStyleSheet(name, SfxStyleFamily::Char));
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index b41ed0a519a9..f2a91b3e2f1f 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -412,12 +412,12 @@ void Test::checkPreviewString(SvNumberFormatter& aFormatter,
Color** ppColor = &pColor;
if (!aFormatter.GetPreviewString(sCode, fPreviewNumber, sStr, ppColor, eLang))
{
- rtl::OString aMessage = "GetPreviewString( \"";
- aMessage += rtl::OUStringToOString( sCode, RTL_TEXTENCODING_ASCII_US );
+ OString aMessage = "GetPreviewString( \"";
+ aMessage += OUStringToOString( sCode, RTL_TEXTENCODING_ASCII_US );
aMessage += "\", ";
- aMessage += rtl::OString::number( fPreviewNumber );
+ aMessage += OString::number( fPreviewNumber );
aMessage += ", sStr, ppColor, ";
- aMessage += rtl::OString::number( static_cast<sal_uInt16>(eLang) );
+ aMessage += OString::number( static_cast<sal_uInt16>(eLang) );
aMessage += " ) failed";
CPPUNIT_FAIL( aMessage.getStr() );
}