diff options
-rw-r--r-- | sc/source/core/tool/queryentry.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/core/tool/queryentry.cxx b/sc/source/core/tool/queryentry.cxx index 7878c04c7f6f..7ea2c49344c1 100644 --- a/sc/source/core/tool/queryentry.cxx +++ b/sc/source/core/tool/queryentry.cxx @@ -29,8 +29,6 @@ #include "queryentry.hxx" #include <unotools/textsearch.hxx> -#include <unotools/transliterationwrapper.hxx> -#include <unotools/collatorwrapper.hxx> /* * dialog returns the special field values "empty"/"not empty" @@ -153,25 +151,6 @@ ScQueryEntry::Item& ScQueryEntry::GetQueryItem() return maQueryItems[0]; } -namespace { - -class CompareString : std::binary_function<rtl::OUString, rtl::OUString, bool> -{ - CollatorWrapper* mpCollator; -public: - CompareString(bool bCaseSens) : - mpCollator( - bCaseSens ? ScGlobal::GetCaseCollator() : ScGlobal::GetCollator()) - {} - - bool operator() (const rtl::OUString& rL, const rtl::OUString& rR) const - { - return mpCollator->compareString(rL, rR) < 0; - } -}; - -} - void ScQueryEntry::Clear() { bDoQuery = false; |