summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undocell.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/undocell.hxx')
-rw-r--r--sc/source/ui/inc/undocell.hxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx
index edce6bc1f22b..1f55708cbdfb 100644
--- a/sc/source/ui/inc/undocell.hxx
+++ b/sc/source/ui/inc/undocell.hxx
@@ -25,8 +25,7 @@
#include "cellvalue.hxx"
#include <cellvalues.hxx>
-#include <boost/shared_ptr.hpp>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
class ScDocShell;
class ScPatternAttr;
@@ -72,11 +71,11 @@ private:
ScPatternAttr* pOldPattern;
ScPatternAttr* pNewPattern;
ScPatternAttr* pApplyPattern;
- ::boost::shared_ptr<EditTextObject> pOldEditData;
- ::boost::shared_ptr<EditTextObject> pNewEditData;
+ std::shared_ptr<EditTextObject> pOldEditData;
+ std::shared_ptr<EditTextObject> pNewEditData;
bool bIsAutomatic;
- void DoChange( const ScPatternAttr* pWhichPattern, const ::boost::shared_ptr<EditTextObject>& pEditData ) const;
+ void DoChange( const ScPatternAttr* pWhichPattern, const std::shared_ptr<EditTextObject>& pEditData ) const;
};
class ScUndoEnterData: public ScSimpleUndo
@@ -113,7 +112,7 @@ private:
ValuesType maOldValues;
OUString maNewString;
- boost::scoped_ptr<EditTextObject> mpNewEditData;
+ std::unique_ptr<EditTextObject> mpNewEditData;
sal_uLong mnEndChangeAction;
ScAddress maPos;