summaryrefslogtreecommitdiff
path: root/include/svl/aeitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 13:10:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 16:03:34 +0200
commite037381f85413fe6329c54e49ccfcac88dd71048 (patch)
tree78bce79b46f2f5415d70214555ceccc84897dfbf /include/svl/aeitem.hxx
parentca4701fec182d928ab3d39f2183dafecf90e430b (diff)
loplugin:unusedfields in slideshow..svtools
Change-Id: I74d5a4b8cfc4b18267f99648a3112b163c91fd8c Reviewed-on: https://gerrit.libreoffice.org/39474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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;