summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-10 19:25:24 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-10 23:27:42 +0200
commitad94eaf540260296e8aee0b5bff91d22a5fe6b78 (patch)
tree9d3fe465d4dbbf0ef26b6f9285a1592f2d4b248c /include
parent72c11ce76abebdbe88a7be793dbf690c54b30500 (diff)
vcl: avoid a boost::ptr_map in VclBuilder
This eliminates 638MB of preprocessor input. Change-Id: Ife434310ec08e408e1f8aaf52d6298f8caa209af
Diffstat (limited to 'include')
-rw-r--r--include/vcl/builder.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index b0d8ace17354..baf523d5d301 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -18,6 +18,8 @@
#include <vcl/dllapi.h>
#include <vcl/window.hxx>
#include <vcl/vclptr.hxx>
+
+#include <memory>
#include <map>
#include <set>
#include <stack>
@@ -26,7 +28,6 @@
# //some problem with MacOSX and a check define
# undef check
#endif
-#include <boost/ptr_container/ptr_map.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -124,7 +125,7 @@ private:
VclBuilder(const VclBuilder&) SAL_DELETED_FUNCTION;
VclBuilder& operator=(const VclBuilder&) SAL_DELETED_FUNCTION;
- typedef boost::ptr_map<OUString, osl::Module> ModuleMap;
+ typedef std::map<OUString, std::unique_ptr<osl::Module>> ModuleMap;
//We store these until the builder is deleted, that way we can use the
//ui-previewer on custom widgets and guarantee the modules they are from