summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/ElementsDockingWindow.hxx3
-rw-r--r--starmath/inc/node.hxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index 85b27a4f9a6b..c71638978250 100644
--- a/starmath/inc/ElementsDockingWindow.hxx
+++ b/starmath/inc/ElementsDockingWindow.hxx
@@ -28,6 +28,7 @@
#include <document.hxx>
#include <node.hxx>
+#include <memory>
class SmElement
{
@@ -85,7 +86,7 @@ class SmElementsControl : public Control
virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
- typedef boost::shared_ptr<SmElement> SmElementPointer;
+ typedef std::shared_ptr<SmElement> SmElementPointer;
typedef std::vector< SmElementPointer > SmElementList;
SmDocShell* mpDocShell;
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 28acdebdb304..e70d5a3097cb 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -30,7 +30,7 @@
#include "rect.hxx"
#include "format.hxx"
#include <boost/ptr_container/ptr_deque.hpp>
-
+#include <memory>
#define ATTR_BOLD 0x0001
#define ATTR_ITALIC 0x0002
@@ -59,7 +59,7 @@ class SmDocShell;
class SmNode;
class SmStructureNode;
-typedef boost::shared_ptr<SmNode> SmNodePointer;
+typedef std::shared_ptr<SmNode> SmNodePointer;
typedef boost::ptr_deque<SmNode> SmNodeStack;
typedef std::vector< SmNode * > SmNodeArray;
typedef std::vector< SmStructureNode * > SmStructureNodeArray;