[Libreoffice-commits] core.git: starmath/inc
Takeshi Abe
tabe at fixedpoint.jp
Wed Dec 31 21:36:56 PST 2014
starmath/inc/ElementsDockingWindow.hxx | 3 ++-
starmath/inc/node.hxx | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 24c52aaeb99984cc62c7235430a107d34e0d6e3b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Thu Jan 1 13:53:56 2015 +0900
starmath: boost::shared_ptr to std::shared_ptr
Change-Id: Id077493f9e462a00c427bc493f823fed79617c07
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index 85b27a4f..c716389 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 28acdeb..e70d5a3 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;
More information about the Libreoffice-commits
mailing list