diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-05 16:25:03 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-07-07 20:00:16 +0000 |
commit | 009851223b5ced4ed2662af2e2ae81c0f9200e45 (patch) | |
tree | a8ab339589ea23b98513d394eabc4f135e69ccae /include/svl/srchitem.hxx | |
parent | 35b42a9d1282a92dbc9a7fbc51d279812070688c (diff) |
module svl: all String and some bool and related clean-up
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed
Reviewed-on: https://gerrit.libreoffice.org/4733
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/svl/srchitem.hxx')
-rw-r--r-- | include/svl/srchitem.hxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx index 5d4413ea8cab..3fb8949e2f23 100644 --- a/include/svl/srchitem.hxx +++ b/include/svl/srchitem.hxx @@ -27,7 +27,6 @@ #include <com/sun/star/i18n/TransliterationModules.hpp> #include <unotools/configitem.hxx> #include <rsc/rscsfx.hxx> -#include <tools/string.hxx> #include <svl/poolitem.hxx> #include <svl/srchdefs.hxx> @@ -98,11 +97,11 @@ public: sal_uInt16 GetCommand() const { return nCommand; } void SetCommand(sal_uInt16 nNewCommand) { nCommand = nNewCommand; } - inline const String GetSearchString() const; - inline void SetSearchString(const String& rNewString); + inline const OUString GetSearchString() const; + inline void SetSearchString(const OUString& rNewString); - inline const String GetReplaceString() const; - inline void SetReplaceString(const String& rNewString); + inline const OUString GetReplaceString() const; + inline void SetReplaceString(const OUString& rNewString); inline bool GetWordOnly() const; void SetWordOnly(bool bNewWordOnly); @@ -176,22 +175,22 @@ public: inline void SetUseAsianOptions( bool bVal ) { bAsianOptions = bVal; } }; -const String SvxSearchItem::GetSearchString() const +const OUString SvxSearchItem::GetSearchString() const { return aSearchOpt.searchString; } -void SvxSearchItem::SetSearchString(const String& rNewString) +void SvxSearchItem::SetSearchString(const OUString& rNewString) { aSearchOpt.searchString = rNewString; } -const String SvxSearchItem::GetReplaceString() const +const OUString SvxSearchItem::GetReplaceString() const { return aSearchOpt.replaceString; } -void SvxSearchItem::SetReplaceString(const String& rNewString) +void SvxSearchItem::SetReplaceString(const OUString& rNewString) { aSearchOpt.replaceString = rNewString; } |