Kaydet (Commit) 24c52aae authored tarafından Takeshi Abe's avatar Takeshi Abe

starmath: boost::shared_ptr to std::shared_ptr

Change-Id: Id077493f9e462a00c427bc493f823fed79617c07
üst 53f51e32
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <document.hxx> #include <document.hxx>
#include <node.hxx> #include <node.hxx>
#include <memory>
class SmElement class SmElement
{ {
...@@ -85,7 +86,7 @@ class SmElementsControl : public Control ...@@ -85,7 +86,7 @@ class SmElementsControl : public Control
virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE; virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE;
virtual void MouseMove( 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; typedef std::vector< SmElementPointer > SmElementList;
SmDocShell* mpDocShell; SmDocShell* mpDocShell;
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "rect.hxx" #include "rect.hxx"
#include "format.hxx" #include "format.hxx"
#include <boost/ptr_container/ptr_deque.hpp> #include <boost/ptr_container/ptr_deque.hpp>
#include <memory>
#define ATTR_BOLD 0x0001 #define ATTR_BOLD 0x0001
#define ATTR_ITALIC 0x0002 #define ATTR_ITALIC 0x0002
...@@ -59,7 +59,7 @@ class SmDocShell; ...@@ -59,7 +59,7 @@ class SmDocShell;
class SmNode; class SmNode;
class SmStructureNode; class SmStructureNode;
typedef boost::shared_ptr<SmNode> SmNodePointer; typedef std::shared_ptr<SmNode> SmNodePointer;
typedef boost::ptr_deque<SmNode> SmNodeStack; typedef boost::ptr_deque<SmNode> SmNodeStack;
typedef std::vector< SmNode * > SmNodeArray; typedef std::vector< SmNode * > SmNodeArray;
typedef std::vector< SmStructureNode * > SmStructureNodeArray; typedef std::vector< SmStructureNode * > SmStructureNodeArray;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment