diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-18 14:37:47 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-18 14:37:47 -0500 |
commit | de171082fc55fd52e35a0d0528d47c1ff89191f9 (patch) | |
tree | 9b770baa1c28a289761bd58f0fcdde4110362e8b /sc/source/ui/inc/checklistmenu.hxx | |
parent | e046efdbb55329e97cddbd6fd7d6ec5c92bdf2c8 (diff) |
Use scoped_ptr instead of auto_ptr; auto_ptr is deprecated.
Diffstat (limited to 'sc/source/ui/inc/checklistmenu.hxx')
-rw-r--r-- | sc/source/ui/inc/checklistmenu.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 8f402d030e6f..80b180fa358a 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -35,8 +35,8 @@ #include "vcl/timer.hxx" #include "svx/checklbx.hxx" -#include <memory> #include <boost/unordered_map.hpp> +#include <boost/scoped_ptr.hpp> namespace com { namespace sun { namespace star { @@ -310,8 +310,8 @@ private: size_t mnCurTabStop; ::std::vector<Member> maMembers; - ::std::auto_ptr<ExtendedData> mpExtendedData; - ::std::auto_ptr<Action> mpOKAction; + boost::scoped_ptr<ExtendedData> mpExtendedData; + boost::scoped_ptr<Action> mpOKAction; Size maWndSize; /// whole window size. Size maMenuSize; /// size of all menu items combined. |