summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-11-25 00:53:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-11-25 01:09:48 +0100
commit5d0402cfccd7efaeb4f65c48c295af91e52df0da (patch)
treeda6b90c57d2dfeb27fd021e7739bd029f34d1117 /unotools
parent8b52b40b1d5111e8fab1f13e903ab4b2c56d892c (diff)
Make ~SearchParam non-inline
...so clients do not need to link against tl merely because of ~String. Change-Id: I1cf1dd17c6bed96f6bea765747adbbe962a93fb1
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/textsearch.hxx2
-rw-r--r--unotools/source/i18n/textsearch.cxx2
2 files changed, 4 insertions, 0 deletions
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 &&