summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2014-07-30 19:45:37 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2014-09-17 10:19:52 +0200
commitb39f15cfcc28266c5c680d19eaa394960cb7c0ff (patch)
treeb3f644fdf65301e43f8d847a31f2f63e7d2b7111 /include
parent1bf3b9f2da8fe6e79e1e20d57784b55958ee3db4 (diff)
Change vector<Palette*> to ptr_vector<Palette>
Change-Id: I1f2832235e8d2ea3517efdce809970ed5f1c6769
Diffstat (limited to 'include')
-rw-r--r--include/svx/PaletteManager.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx
index 9d40d48426be..e4144f96ca9c 100644
--- a/include/svx/PaletteManager.hxx
+++ b/include/svx/PaletteManager.hxx
@@ -25,12 +25,14 @@
#include <svx/tbxcolorupdate.hxx>
#include <tools/urlobj.hxx>
+#include <comphelper/processfactory.hxx>
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
-#include <comphelper/processfactory.hxx>
+
+#include <boost/ptr_container/ptr_vector.hpp>
class PaletteManager
{
@@ -41,7 +43,7 @@ class PaletteManager
svx::ToolboxButtonColorUpdater* mpBtnUpdater;
Color mLastColor;
- std::vector<Palette*> maPalettes;
+ boost::ptr_vector<Palette> maPalettes;
public:
PaletteManager();
~PaletteManager();