diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-23 22:21:49 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-24 10:58:54 +0200 |
commit | 5e6a0eed2743b99dbbe133168204fdb184608476 (patch) | |
tree | 361256fef4d27ccf4811be8074d4a908b1683624 /include/svx/PaletteManager.hxx | |
parent | 2f467535231af44af5ee857e2444a87779e82b2c (diff) |
svx: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I512ed27ef812498e021e320259b1e0862969a10e
Diffstat (limited to 'include/svx/PaletteManager.hxx')
-rw-r--r-- | include/svx/PaletteManager.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx index 7af989c1d862..7ad0cdb8ee86 100644 --- a/include/svx/PaletteManager.hxx +++ b/include/svx/PaletteManager.hxx @@ -23,7 +23,6 @@ #include <svx/Palette.hxx> #include <rtl/ustring.hxx> #include <svx/tbxcolorupdate.hxx> -#include <deque> #include <tools/urlobj.hxx> #include <comphelper/processfactory.hxx> @@ -33,7 +32,9 @@ #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XDispatchProvider.hpp> -#include <boost/ptr_container/ptr_vector.hpp> +#include <deque> +#include <vector> +#include <memory> class PaletteManager { @@ -47,7 +48,8 @@ class PaletteManager Color mLastColor; std::deque<Color> maRecentColors; - boost::ptr_vector<Palette> maPalettes; + std::vector<std::unique_ptr<Palette>> m_Palettes; + public: PaletteManager(); ~PaletteManager(); |