diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 08:35:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 09:38:40 +0100 |
commit | da2d11d2efb1c0baaa80b9d7052f7c8da5b5bf45 (patch) | |
tree | f8c8fd04cdd9fa3dc1654e2693111e12f1f48696 /lotuswordpro/source/filter/bento.hxx | |
parent | 6256797dacfafaa573a67643440a3fe4e8128dca (diff) |
use unique_ptr in BenOpenContainer
Change-Id: Idc9d728e711f70cc11974020aa507552f31d4c9c
Reviewed-on: https://gerrit.libreoffice.org/65919
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/source/filter/bento.hxx')
-rw-r--r-- | lotuswordpro/source/filter/bento.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index 4b294183a8eb..f437ce9bdbec 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -59,6 +59,7 @@ #include <sal/config.h> #include <cstring> +#include <memory> #include <string> #include <vector> #include <lwpsvstream.hxx> @@ -136,7 +137,7 @@ typedef sal_uInt32 BenContainerPos; typedef sal_uInt32 BenObjectID; typedef sal_uInt32 BenGeneration; -sal_uLong BenOpenContainer(LwpSvStream * pStream, LtcBenContainer ** ppContainer); +sal_uLong BenOpenContainer(LwpSvStream * pStream, std::unique_ptr<LtcBenContainer>* ppContainer); class CBenIDListElmt : public CUtListElmt { |