From c3e03390f276bd28eb34783b18b30cfd532f5f67 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Wed, 24 Oct 2001 09:55:13 +0000
Subject: [PATCH] #92924#: const
---
xmlhelp/source/cxxhelp/provider/databases.cxx | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index a8cec2accf94..8255a92e8bd2 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: databases.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: abi $ $Date: 2001-10-05 14:38:57 $
+ * last change: $Author: hr $ $Date: 2001-10-24 10:55:13 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -86,6 +86,8 @@
#endif
#include "inputstream.hxx"
+#include
+
using namespace chelp;
using namespace com::sun::star::uno;
@@ -511,7 +513,7 @@ KeywordInfo::Compare::Compare( const Reference< XCollator >& xCollator )
}
-int KeywordInfo::Compare::operator()( const rtl::OUString& l,const rtl::OUString& r )
+int KeywordInfo::Compare::operator()( const rtl::OUString& l,const rtl::OUString& r ) const
{
if( m_xCollator.is() )
{
@@ -554,7 +556,7 @@ int KeywordInfo::Compare::operator()( const rtl::OUString& l,const rtl::OUString
-void KeywordInfo::sort( std::vector< rtl::OUString >& listKey_,Compare& comp )
+void KeywordInfo::sort( std::vector< rtl::OUString >& listKey_, const Compare& comp )
{
std::sort( listKey_.begin(),listKey_.end(),comp );
listKey.realloc( listKey_.size() );