summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-08-21 10:35:44 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2011-08-21 10:37:48 +0200
commitcb937e72b855c68efe982b63cab9963f941867aa (patch)
tree93a2a49d7c454b89c4d395c2606fe09b1812252f /pyuno
parent2fa3cac022c6003b2e3268ad8289a413b2c7c687 (diff)
use boost::unordered_map instead of STL one so as not to require C++0x
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/module/pyuno_module.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index a4144d91b77d..7bf8da28b2d8 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -28,7 +28,7 @@
#include "pyuno_impl.hxx"
-#include <unordered_map>
+#include <boost/unordered_map.hpp>
#include <utility>
#include <osl/module.hxx>
@@ -91,11 +91,11 @@ namespace {
class fillStructState
{
- typedef std::unordered_map <const OUString, bool, OUStringHash> initialised_t;
+ typedef boost::unordered_map <const OUString, bool, OUStringHash> initialised_t;
// Keyword arguments used
PyObject *used;
// Which structure members are initialised
- std::unordered_map <const OUString, bool, OUStringHash> initialised;
+ boost::unordered_map <const OUString, bool, OUStringHash> initialised;
// How many positional arguments are consumed
// This is always the so-many first ones
sal_Int32 nPosConsumed;