diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-07 23:39:04 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-07 23:39:04 -0500 |
commit | 128f280839d15864ff4b6032702d6231d346116e (patch) | |
tree | 9c64f4161cb097fcd99658fd09ad18abde1165e0 /sc/source/core/tool/queryentry.cxx | |
parent | 43a98be551b01b603a34557c423f76392ca60f6f (diff) |
These are no longer needed.
Diffstat (limited to 'sc/source/core/tool/queryentry.cxx')
-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; |