summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2011-02-03 16:24:08 -0700
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-04 00:28:23 +0100
commit030633cd53e8aacdcf1927c46dd6d5b8db58d841 (patch)
tree300d66694581d452a9709f736ad7376ca8f55043 /pyuno
parentaac09aee6761197a023fba69a88340fdba0684fb (diff)
moving the rest of ure repository to boost unordered containers
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_impl.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx
index 537120e2457a..c1a38b5e06aa 100644
--- a/pyuno/source/module/pyuno_impl.hxx
+++ b/pyuno/source/module/pyuno_impl.hxx
@@ -30,8 +30,8 @@
#include <pyuno/pyuno.hxx>
-#include <hash_map>
-#include <hash_set>
+#include <boost/unordered_map.hpp>
+#include <boost/unordered_set.hpp>
#include <com/sun/star/beans/XIntrospection.hpp>
#include <com/sun/star/script/XTypeConverter.hpp>
@@ -81,7 +81,7 @@ static const sal_Int32 VAL2STR_MODE_SHALLOW = 1;
rtl::OUString val2str( const void * pVal, typelib_TypeDescriptionReference * pTypeRef, sal_Int32 mode = VAL2STR_MODE_DEEP ) SAL_THROW( () );
//--------------------------------------------------
-typedef ::std::hash_map
+typedef ::boost::unordered_map
<
PyRef,
com::sun::star::uno::WeakReference< com::sun::star::script::XInvocation >,
@@ -90,7 +90,7 @@ typedef ::std::hash_map
> PyRef2Adapter;
-typedef ::std::hash_map
+typedef ::boost::unordered_map
<
rtl::OUString,
PyRef,
@@ -98,7 +98,7 @@ rtl::OUStringHash,
std::equal_to<rtl::OUString>
> ExceptionClassMap;
-typedef ::std::hash_map
+typedef ::boost::unordered_map
<
rtl::OUString,
com::sun::star::uno::Sequence< sal_Int16 >,
@@ -106,7 +106,7 @@ typedef ::std::hash_map
std::equal_to< rtl::OUString >
> MethodOutIndexMap;
-typedef ::std::hash_set< PyRef , PyRef::Hash , std::equal_to<PyRef> > ClassSet;
+typedef ::boost::unordered_set< PyRef , PyRef::Hash , std::equal_to<PyRef> > ClassSet;
PyObject* PyUNO_new(
const com::sun::star::uno::Any & targetInterface,