diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 12:06:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 14:43:34 +0200 |
commit | 6f50961e69406a17d6ec998956a6b33208b1001b (patch) | |
tree | 413c83df969e73c5cba1e11ef3740afc748ee1f5 /svl/source | |
parent | 4e729de73f2947155248f8df5897380611b87917 (diff) |
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/source')
-rw-r--r-- | svl/source/items/IndexedStyleSheets.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/svl/source/items/IndexedStyleSheets.cxx b/svl/source/items/IndexedStyleSheets.cxx index 95d579a3231c..28a36587c4c8 100644 --- a/svl/source/items/IndexedStyleSheets.cxx +++ b/svl/source/items/IndexedStyleSheets.cxx @@ -15,8 +15,6 @@ #include <algorithm> #include <utility> -using rtl::OUString; - namespace { const size_t NUMBER_OF_FAMILIES = 7; @@ -100,7 +98,7 @@ IndexedStyleSheets::AddStyleSheet(const rtl::Reference< SfxStyleSheetBase >& sty bool IndexedStyleSheets::RemoveStyleSheet(const rtl::Reference< SfxStyleSheetBase >& style) { - rtl::OUString styleName = style->GetName(); + OUString styleName = style->GetName(); std::vector<unsigned> positions = FindPositionsByName(styleName); bool found = false; unsigned stylePosition = 0; @@ -121,7 +119,7 @@ IndexedStyleSheets::RemoveStyleSheet(const rtl::Reference< SfxStyleSheetBase >& } std::vector<unsigned> -IndexedStyleSheets::FindPositionsByName(const rtl::OUString& name) const +IndexedStyleSheets::FindPositionsByName(const OUString& name) const { std::vector<unsigned> r; std::pair<MapType::const_iterator, MapType::const_iterator> range = mPositionsByName.equal_range(name); @@ -132,7 +130,7 @@ IndexedStyleSheets::FindPositionsByName(const rtl::OUString& name) const } std::vector<unsigned> -IndexedStyleSheets::FindPositionsByNameAndPredicate(const rtl::OUString& name, +IndexedStyleSheets::FindPositionsByNameAndPredicate(const OUString& name, StyleSheetPredicate& predicate, SearchBehavior behavior) const { std::vector<unsigned> r; @@ -212,7 +210,7 @@ IndexedStyleSheets::~IndexedStyleSheets() bool IndexedStyleSheets::HasStyleSheet(const rtl::Reference< SfxStyleSheetBase >& style) const { - rtl::OUString styleName = style->GetName(); + OUString styleName = style->GetName(); std::vector<unsigned> positions = FindPositionsByName(styleName); for (std::vector<unsigned>::const_iterator it = positions.begin(); it != positions.end(); ++it) { |