summaryrefslogtreecommitdiff
path: root/include/vcl/builder.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/builder.hxx')
-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