[Libreoffice-commits] .: sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Nov 7 20:39:01 PST 2011


 sc/source/core/tool/queryentry.cxx |   21 ---------------------
 1 file changed, 21 deletions(-)

New commits:
commit 128f280839d15864ff4b6032702d6231d346116e
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Mon Nov 7 23:39:04 2011 -0500

    These are no longer needed.

diff --git a/sc/source/core/tool/queryentry.cxx b/sc/source/core/tool/queryentry.cxx
index 7878c04..7ea2c49 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;


More information about the Libreoffice-commits mailing list