Kaydet (Commit) 08d4ea4b authored tarafından Markus Mohrhard's avatar Markus Mohrhard

use scoped_ptr instead of shared_ptr

Change-Id: Ic814a2301aaf6e57aa8ca04b837acafb6e4f4566
üst 0e633c51
......@@ -25,7 +25,7 @@
#include "global.hxx"
#include "rangelst.hxx"
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
class ScDocument;
class ScTableProtectionImpl;
......@@ -108,7 +108,7 @@ public:
void setOption(Option eOption, bool bEnabled);
private:
::boost::shared_ptr<ScTableProtectionImpl> mpImpl;
::boost::scoped_ptr<ScTableProtectionImpl> mpImpl;
};
/** Container for the Excel EnhancedProtection feature.
......@@ -200,7 +200,7 @@ public:
bool isSelectionEditable( const ScRangeList& rRangeList ) const;
private:
::boost::shared_ptr<ScTableProtectionImpl> mpImpl;
::boost::scoped_ptr<ScTableProtectionImpl> mpImpl;
};
#endif
......
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