diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-23 16:15:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-01 07:28:03 +0000 |
commit | 4c09fc48e9fa9114f32f2973090cbe75177cdd37 (patch) | |
tree | 09d4ee3c2d75d038f45ba13a086a344d35aeadb6 /sw/inc/unosrch.hxx | |
parent | d97380c66904328e9d706a0b03a6800dc048aa7d (diff) |
typesafe wrappers for css::i18nutil::TransliterationModules
and related css::util::SearchOptions2
The TransliterationModules enum has it's constants spread over multiple
UNO enum/constant-collections - TransliterationModules and
TransliterationModulesExtra, which means that most code simply uses
sal_Int32.
Wrap them up into a better bundle so that only the lowest layer needs to
deal directly with the UNO constants.
Change-Id: I1edeab79fcc7817a4a97c933ef84ab7015bb849b
Reviewed-on: https://gerrit.libreoffice.org/34582
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/unosrch.hxx')
-rw-r--r-- | sw/inc/unosrch.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/inc/unosrch.hxx b/sw/inc/unosrch.hxx index cd19de5657a7..73169cc85bda 100644 --- a/sw/inc/unosrch.hxx +++ b/sw/inc/unosrch.hxx @@ -30,9 +30,9 @@ class SwXTextDocument; class SwSearchProperties_Impl; class SfxItemSet; -namespace com{namespace sun{namespace star{namespace util{ +namespace i18nutil { struct SearchOptions2; -}}}} +} class SwXTextSearch : public cppu::WeakImplHelper < @@ -109,8 +109,7 @@ public: bool HasSearchAttributes() const; bool HasReplaceAttributes() const; - void FillSearchOptions( css::util::SearchOptions2& - rSearchOpt ) const; + void FillSearchOptions( i18nutil::SearchOptions2& rSearchOpt ) const; }; #endif |