diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-16 00:14:00 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-08-16 00:14:26 +0200 |
commit | 08d4ea4b48f9d6419e76fe31d5b53c1ea0b427df (patch) | |
tree | e787f25bf24e775cd27933ab3ead70322aef8620 /sc | |
parent | 0e633c51d8ed0c0d4050a3d0781c5bc036607616 (diff) |
use scoped_ptr instead of shared_ptr
Change-Id: Ic814a2301aaf6e57aa8ca04b837acafb6e4f4566
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/tabprotection.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/tabprotection.hxx b/sc/inc/tabprotection.hxx index 9acfefd42dc3..0843a1fde1dc 100644 --- a/sc/inc/tabprotection.hxx +++ b/sc/inc/tabprotection.hxx @@ -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 |