summaryrefslogtreecommitdiff
path: root/package/inc
diff options
context:
space:
mode:
Diffstat (limited to 'package/inc')
-rw-r--r--package/inc/ZipPackage.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx
index 2856e42665eb..6a3ac01a88bd 100644
--- a/package/inc/ZipPackage.hxx
+++ b/package/inc/ZipPackage.hxx
@@ -36,6 +36,7 @@
#include <osl/file.h>
#include <mutexholder.hxx>
#include <vector>
+#include <memory>
class ZipOutputStream;
class ZipPackageFolder;
@@ -97,7 +98,7 @@ protected:
css::uno::Reference < css::io::XSeekable > m_xContentSeek;
const css::uno::Reference < css::uno::XComponentContext > m_xContext;
- ZipFile *m_pZipFile;
+ std::unique_ptr<ZipFile> m_pZipFile;
bool isLocalFile() const;