diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-29 21:01:51 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-06 07:01:24 +0000 |
commit | 4d666f5092d7c4f2ece9702dda4d874e44cdc6f7 (patch) | |
tree | 86e78c047c1d4b2b58438855d68f27fc7a24b130 /include/svl | |
parent | 71cf1aefca1ecf10272308d7c75201bd39d3b0f6 (diff) |
tdf#89329: use shared_ptr for pImpl in slstitm
Change-Id: Icb9167f8e7612f40992e7146c0dce539c0b0eac7
Reviewed-on: https://gerrit.libreoffice.org/25632
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/slstitm.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/slstitm.hxx b/include/svl/slstitm.hxx index 51662456e94c..79f4def0dcf6 100644 --- a/include/svl/slstitm.hxx +++ b/include/svl/slstitm.hxx @@ -24,13 +24,14 @@ #include <svl/svldllapi.h> #include <svl/poolitem.hxx> #include <com/sun/star/uno/Sequence.h> +#include <memory> class SfxImpStringList; class SVL_DLLPUBLIC SfxStringListItem : public SfxPoolItem { protected: - SfxImpStringList* pImp; + std::shared_ptr<SfxImpStringList> pImpl; public: static SfxPoolItem* CreateDefault(); |