diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:41:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:44 +0000 |
commit | a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (patch) | |
tree | 56a29f66f75f326a0a677ab1697ce28f1bc9fcbf /include/svx/ruler.hxx | |
parent | 18f41dfaf19d656d290c47d196ef2702e169a522 (diff) |
boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
Diffstat (limited to 'include/svx/ruler.hxx')
-rw-r--r-- | include/svx/ruler.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index 60bc63e0e786..ff44a6c45d64 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -24,8 +24,8 @@ #include <svl/lstner.hxx> #include <svx/svxdllapi.h> -#include <boost/scoped_ptr.hpp> #include <boost/scoped_array.hpp> +#include <memory> class SvxProtectItem; class SvxRulerItem; @@ -47,19 +47,19 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener using Window::Notify; SvxRulerItem** pCtrlItem; - boost::scoped_ptr<SvxLongLRSpaceItem> mpLRSpaceItem; // left and right edge - boost::scoped_ptr<SfxRectangleItem> mpMinMaxItem; // maxima for dragging - boost::scoped_ptr<SvxLongULSpaceItem> mpULSpaceItem; // upper and lower edge - boost::scoped_ptr<SvxTabStopItem> mpTabStopItem; // tab stops - boost::scoped_ptr<SvxLRSpaceItem> mpParaItem; // paragraphs - boost::scoped_ptr<SvxLRSpaceItem> mpParaBorderItem; // border distance - boost::scoped_ptr<SvxPagePosSizeItem> mpPagePosItem; // page distance to the rule - boost::scoped_ptr<SvxColumnItem> mpColumnItem; // columns - boost::scoped_ptr<SvxObjectItem> mpObjectItem; // object + std::unique_ptr<SvxLongLRSpaceItem> mxLRSpaceItem; // left and right edge + std::unique_ptr<SfxRectangleItem> mxMinMaxItem; // maxima for dragging + std::unique_ptr<SvxLongULSpaceItem> mxULSpaceItem; // upper and lower edge + std::unique_ptr<SvxTabStopItem> mxTabStopItem; // tab stops + std::unique_ptr<SvxLRSpaceItem> mxParaItem; // paragraphs + std::unique_ptr<SvxLRSpaceItem> mxParaBorderItem; // border distance + std::unique_ptr<SvxPagePosSizeItem> mxPagePosItem; // page distance to the rule + std::unique_ptr<SvxColumnItem> mxColumnItem; // columns + std::unique_ptr<SvxObjectItem> mxObjectItem; // object vcl::Window* pEditWin; - boost::scoped_ptr<SvxRuler_Impl> mpRulerImpl; + std::unique_ptr<SvxRuler_Impl> mxRulerImpl; bool bAppSetNullOffset :1; bool bHorz :1; |