diff options
Diffstat (limited to 'include/svl/IndexedStyleSheets.hxx')
-rw-r--r-- | include/svl/IndexedStyleSheets.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/IndexedStyleSheets.hxx b/include/svl/IndexedStyleSheets.hxx index eba5cded45bb..8196767f9a62 100644 --- a/include/svl/IndexedStyleSheets.hxx +++ b/include/svl/IndexedStyleSheets.hxx @@ -122,7 +122,7 @@ public: /** Obtain the positions of all styles which have a given name */ std::vector<unsigned> - FindPositionsByName(const rtl::OUString& name) const; + FindPositionsByName(const OUString& name) const; enum class SearchBehavior { ReturnAll, ReturnFirst }; /** Obtain the positions of all styles which have a certain name and fulfill a certain condition. @@ -130,7 +130,7 @@ public: * This method is fast because it can use the name-based index */ std::vector<unsigned> - FindPositionsByNameAndPredicate(const rtl::OUString& name, StyleSheetPredicate& predicate, + FindPositionsByNameAndPredicate(const OUString& name, StyleSheetPredicate& predicate, SearchBehavior behavior = SearchBehavior::ReturnAll) const; /** Obtain the positions of all styles which fulfill a certain condition. @@ -178,7 +178,7 @@ private: * * @internal * Must be an unordered map. A regular map is too slow for some files. */ - typedef std::unordered_multimap<rtl::OUString, unsigned> MapType; + typedef std::unordered_multimap<OUString, unsigned> MapType; /** A map which stores the positions of style sheets by their name */ MapType mPositionsByName; |