summaryrefslogtreecommitdiff
path: root/pyuno/source
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
commit0d2c4a1d4698092ea00de8430eab3b60576532fd (patch)
treefc66a40bbce213b65c24d66fb5182c8176eff037 /pyuno/source
parent6030d8ac9410fc1fcade35d7f7fb31eedfd86950 (diff)
moving the rest of ure repository to boost unordered containers
Diffstat (limited to 'pyuno/source')
-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 2d0d246e6..744fb8160 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,