From 5d0402cfccd7efaeb4f65c48c295af91e52df0da Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 25 Nov 2012 00:53:58 +0100 Subject: Make ~SearchParam non-inline ...so clients do not need to link against tl merely because of ~String. Change-Id: I1cf1dd17c6bed96f6bea765747adbbe962a93fb1 --- unotools/inc/unotools/textsearch.hxx | 2 ++ unotools/source/i18n/textsearch.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'unotools') diff --git a/unotools/inc/unotools/textsearch.hxx b/unotools/inc/unotools/textsearch.hxx index 2812ee6a2f0a..5e4244f209a2 100644 --- a/unotools/inc/unotools/textsearch.hxx +++ b/unotools/inc/unotools/textsearch.hxx @@ -79,6 +79,8 @@ public: SearchParam( const SearchParam& ); + ~SearchParam(); + const String& GetSrchStr() const { return sSrchStr; } const String& GetReplaceStr() const { return sReplaceStr; } SearchType GetSrchType() const { return m_eSrchType; } diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx index a6f851230858..770b529136af 100644 --- a/unotools/source/i18n/textsearch.cxx +++ b/unotools/source/i18n/textsearch.cxx @@ -76,6 +76,8 @@ SearchParam::SearchParam( const SearchParam& rParam ) nTransliterationFlags = rParam.nTransliterationFlags; } +SearchParam::~SearchParam() {} + static bool lcl_Equals( const SearchOptions& rSO1, const SearchOptions& rSO2 ) { return rSO1.algorithmType == rSO2.algorithmType && -- cgit