summaryrefslogtreecommitdiffstats
path: root/sc/inc/addincol.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 12:50:56 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 12:50:56 +0000
commitb2941c8c41b25c7b2e7053868fbe7a3894ba415e (patch)
tree9c02f013a9484f76a3d978f0aaa811ee883fc534 /sc/inc/addincol.hxx
parentINTEGRATION: CWS calcautofilter (1.82.30); FILE MERGED (diff)
downloadcore-b2941c8c41b25c7b2e7053868fbe7a3894ba415e.tar.gz
core-b2941c8c41b25c7b2e7053868fbe7a3894ba415e.zip
INTEGRATION: CWS calc44 (1.9.302); FILE MERGED
2007/09/17 13:34:44 nn 1.9.302.1: #i81594# Remove duplicate hash code function
Diffstat (limited to 'sc/inc/addincol.hxx')
-rw-r--r--sc/inc/addincol.hxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/sc/inc/addincol.hxx b/sc/inc/addincol.hxx
index cc395f0dcff1..97202a348f14 100644
--- a/sc/inc/addincol.hxx
+++ b/sc/inc/addincol.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: addincol.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: ihi $ $Date: 2006-08-04 12:10:52 $
+ * last change: $Author: hr $ $Date: 2007-09-27 13:50:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,6 +36,7 @@
#ifndef SC_ADDINCOL_HXX
#define SC_ADDINCOL_HXX
+#include "global.hxx"
#ifndef _COM_SUN_STAR_SHEET_XVOLATILERESULT_HPP_
#include <com/sun/star/sheet/XVolatileResult.hpp>
@@ -87,14 +88,7 @@ class ScMatrix;
class ScFuncDesc;
-struct ScAddInStringHashCode
-{
- size_t operator()( const String& rStr ) const
- {
- return rtl_ustr_hashCode_WithLength( rStr.GetBuffer(), rStr.Len() );
- }
-};
-typedef ::std::hash_map< String, const ScUnoAddInFuncData*, ScAddInStringHashCode, ::std::equal_to< String > > ScAddInHashMap;
+typedef ::std::hash_map< String, const ScUnoAddInFuncData*, ScStringHashCode, ::std::equal_to< String > > ScAddInHashMap;
enum ScAddInArgumentType