diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-02-16 15:01:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-02-16 15:01:49 +0000 |
commit | 1c901fbc10ee3b5a29d213809c501c03363a189f (patch) | |
tree | 72e27992d9cb48067fe94fac5e62c824b50ecb6e /comphelper/inc | |
parent | 531c783ddddbf3850cb8914264f92542776ddc68 (diff) |
INTEGRATION: CWS visibility02 (1.3.50); FILE MERGED
2005/01/27 11:33:37 mhu 1.3.50.2: #i38608# Modified SequenceAsHashMapBase declaration to compile with msvc.
2005/01/05 05:54:12 mnicel 1.3.50.1: Issue number: 38608
Part of symbol visibility work.
Diffstat (limited to 'comphelper/inc')
-rw-r--r-- | comphelper/inc/comphelper/sequenceashashmap.hxx | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/comphelper/inc/comphelper/sequenceashashmap.hxx b/comphelper/inc/comphelper/sequenceashashmap.hxx index fbc04eda9ffb..37ac250df6b3 100644 --- a/comphelper/inc/comphelper/sequenceashashmap.hxx +++ b/comphelper/inc/comphelper/sequenceashashmap.hxx @@ -2,9 +2,9 @@ * * $RCSfile: sequenceashashmap.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2004-09-20 10:17:09 $ + * last change: $Author: vg $ $Date: 2005-02-16 16:01:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,8 +65,15 @@ //_______________________________________________ // includes +#ifndef INCLUDED_HASH_MAP #include <hash_map> +#define INCLUDED_HASH_MAP +#endif + +#ifndef INCLUDED_ALGORITHM #include <algorithm> +#define INCLUDED_ALGORITHM +#endif #ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_ #include <com/sun/star/uno/Sequence.hxx> @@ -83,6 +90,9 @@ #ifndef _COM_SUN_STAR_BEANS_IllegalTypeException_HPP_ #include <com/sun/star/beans/IllegalTypeException.hpp> #endif +#ifndef INCLUDED_COMPHELPERDLLAPI_H +#include "comphelper/comphelperdllapi.h" +#endif // see method dbg_dumpToFile() below! #if OSL_DEBUG_LEVEL > 1 @@ -109,12 +119,15 @@ namespace comphelper{ such name sequences very easy ... */ -typedef ::std::hash_map< ::rtl::OUString , - ::com::sun::star::uno::Any , - ::rtl::OUStringHash , - ::std::equal_to< ::rtl::OUString > > SequenceAsHashMapBase; +struct SequenceAsHashMapBase : public ::std::hash_map< + ::rtl::OUString , + ::com::sun::star::uno::Any , + ::rtl::OUStringHash , + ::std::equal_to< ::rtl::OUString > > +{ +}; -class SequenceAsHashMap : public SequenceAsHashMapBase +class COMPHELPER_DLLPUBLIC SequenceAsHashMap : public SequenceAsHashMapBase { //------------------------------------------- public: |