diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-18 12:19:04 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-10-19 10:44:59 +0200 |
commit | ac60fba3b5a506f6659f268a8b4fa8e1da600603 (patch) | |
tree | 0d51cc5dbb91253fd49513d08fffdac8747726ad /unotools/inc | |
parent | 556aa12b84ef6f6d6baf56781925d0868693fe55 (diff) |
delegating a constructor can't work like this, fdo#55033
Change-Id: I6b057ad68054fe5806daec722b3bfe4e33bc3602
Diffstat (limited to 'unotools/inc')
-rw-r--r-- | unotools/inc/unotools/textsearch.hxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/unotools/inc/unotools/textsearch.hxx b/unotools/inc/unotools/textsearch.hxx index 42a9e2738a35..2812ee6a2f0a 100644 --- a/unotools/inc/unotools/textsearch.hxx +++ b/unotools/inc/unotools/textsearch.hxx @@ -71,23 +71,12 @@ private: long nTransliterationFlags; public: - SearchParam( const String &rText, + SearchParam( const rtl::OUString &rText, SearchType eSrchType = SearchParam::SRCH_NORMAL, sal_Bool bCaseSensitive = sal_True, sal_Bool bWordOnly = sal_False, sal_Bool bSearchInSelection = sal_False ); - // Wrapper to use OUString as parameter - SearchParam( const ::rtl::OUString &rText, - SearchType eSrchType = SearchParam::SRCH_NORMAL, - sal_Bool bCaseSensitive = sal_True, - sal_Bool bWordOnly = sal_False, - sal_Bool bSearchInSelection = sal_False ) - { - String rText2(rText); - SearchParam( rText2, eSrchType, bCaseSensitive, bWordOnly, bSearchInSelection ); - } - SearchParam( const SearchParam& ); const String& GetSrchStr() const { return sSrchStr; } |