From 24c52aaeb99984cc62c7235430a107d34e0d6e3b Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 1 Jan 2015 13:53:56 +0900 Subject: starmath: boost::shared_ptr to std::shared_ptr Change-Id: Id077493f9e462a00c427bc493f823fed79617c07 --- starmath/inc/ElementsDockingWindow.hxx | 3 ++- starmath/inc/node.hxx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'starmath/inc') 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 #include +#include 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 SmElementPointer; + typedef std::shared_ptr 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 - +#include #define ATTR_BOLD 0x0001 #define ATTR_ITALIC 0x0002 @@ -59,7 +59,7 @@ class SmDocShell; class SmNode; class SmStructureNode; -typedef boost::shared_ptr SmNodePointer; +typedef std::shared_ptr SmNodePointer; typedef boost::ptr_deque SmNodeStack; typedef std::vector< SmNode * > SmNodeArray; typedef std::vector< SmStructureNode * > SmStructureNodeArray; -- cgit