diff options
Diffstat (limited to 'svx/source/inc/svdoutlinercache.hxx')
-rw-r--r-- | svx/source/inc/svdoutlinercache.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/inc/svdoutlinercache.hxx b/svx/source/inc/svdoutlinercache.hxx index f3aa9ec43107..30f5c6699e11 100644 --- a/svx/source/inc/svdoutlinercache.hxx +++ b/svx/source/inc/svdoutlinercache.hxx @@ -21,6 +21,7 @@ #define INCLUDED_SVX_SOURCE_INC_SVDOUTLINERCACHE_HXX #include <sal/types.h> +#include <memory> #include <vector> #include <set> @@ -32,8 +33,8 @@ class SdrOutlinerCache { private: SdrModel* mpModel; - std::vector< SdrOutliner* > maModeOutline; - std::vector< SdrOutliner* > maModeText; + std::vector< std::unique_ptr<SdrOutliner> > maModeOutline; + std::vector< std::unique_ptr<SdrOutliner> > maModeText; std::set< SdrOutliner* > maActiveOutliners; public: |