diff options
Diffstat (limited to 'include/svl/IndexedStyleSheets.hxx')
-rw-r--r-- | include/svl/IndexedStyleSheets.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/IndexedStyleSheets.hxx b/include/svl/IndexedStyleSheets.hxx index 2513f9aaa6d3..7422dcda5a01 100644 --- a/include/svl/IndexedStyleSheets.hxx +++ b/include/svl/IndexedStyleSheets.hxx @@ -124,14 +124,14 @@ public: std::vector<unsigned> FindPositionsByName(const rtl::OUString& name) const; - enum SearchBehavior { RETURN_ALL, RETURN_FIRST }; + enum class SearchBehavior { ReturnAll, ReturnFirst }; /** Obtain the positions of all styles which have a certain name and fulfill a certain condition. * * This method is fast because it can use the name-based index */ std::vector<unsigned> FindPositionsByNameAndPredicate(const rtl::OUString& name, StyleSheetPredicate& predicate, - SearchBehavior behavior = RETURN_ALL) const; + SearchBehavior behavior = SearchBehavior::ReturnAll) const; /** Obtain the positions of all styles which fulfill a certain condition. * |