diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-18 15:54:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-19 10:22:52 +0200 |
commit | f47804d56270ef4f0ee000bb6a1dfb45fa9bc4ac (patch) | |
tree | 5ee119ddba92b919aa0b57ce087453dee09cf27c /lotuswordpro/inc | |
parent | f9ffe96b84044e28c58b48d57662c7db3d50bcc0 (diff) |
use std::unique_ptr in lotuswordpro
Change-Id: I9f3e8de3284899376c7db55c3ea6f16023acc40f
Reviewed-on: https://gerrit.libreoffice.org/43526
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/xfilter/xfliststyle.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lotuswordpro/inc/xfilter/xfliststyle.hxx b/lotuswordpro/inc/xfilter/xfliststyle.hxx index c51ef7079664..fd993c322ea0 100644 --- a/lotuswordpro/inc/xfilter/xfliststyle.hxx +++ b/lotuswordpro/inc/xfilter/xfliststyle.hxx @@ -64,6 +64,7 @@ #include "xfilter/xfstyle.hxx" #include "xfilter/xfnumfmt.hxx" #include "unicode/utypes.h" +#include <memory> #include <vector> class IXFStream; @@ -214,7 +215,7 @@ public: virtual void ToXml(IXFStream *pStrm) override; private: - XFListLevel *m_pListLevels[10]; + std::unique_ptr<XFListLevel> m_pListLevels[10]; }; inline void XFListLevel::SetListlevelType(enumXFListLevel type) |