summaryrefslogtreecommitdiff
path: root/include/svl/aeitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/aeitem.hxx')
-rw-r--r--include/svl/aeitem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/aeitem.hxx b/include/svl/aeitem.hxx
index 10aaa1f30d26..9f99ea85a934 100644
--- a/include/svl/aeitem.hxx
+++ b/include/svl/aeitem.hxx
@@ -24,6 +24,7 @@
#include <svl/eitem.hxx>
#include <cstddef>
+#include <memory>
#include <vector>
class SfxAllEnumValueArr;
@@ -42,8 +43,7 @@ protected:
class SVL_DLLPUBLIC SfxAllEnumItem: public SfxAllEnumItem_Base
{
- SfxAllEnumValueArr* pValues;
- std::vector<sal_uInt16>* pDisabledValues;
+ std::unique_ptr<SfxAllEnumValueArr> pValues;
sal_uInt16 GetPosByValue( sal_uInt16 nValue ) const;
std::size_t GetPosByValue_( sal_uInt16 nValue ) const;