summaryrefslogtreecommitdiff
path: root/include/svtools/ehdl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/ehdl.hxx')
-rw-r--r--include/svtools/ehdl.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx
index 653af7ef30cc..cb73990d31ce 100644
--- a/include/svtools/ehdl.hxx
+++ b/include/svtools/ehdl.hxx
@@ -62,7 +62,8 @@ private:
sal_uLong lEnd;
sal_uInt16 nId;
ResMgr *pMgr;
- ResMgr *pFreeMgr;
+ std::unique_ptr<ResMgr>
+ pFreeMgr;
SVT_DLLPRIVATE static void GetClassString(sal_uLong lErrId, OUString &);
virtual bool CreateString( const ErrorInfo *, OUString &, sal_uInt16 &) const override;