summaryrefslogtreecommitdiff
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-21 09:36:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-21 13:00:13 +0200
commit8d96717154c0c69e46032c10d7e7ddef297a4668 (patch)
tree2ca2736bb589e51682664948b604008444d93754 /include/svtools
parent4a5ed266e64b892dde8a3e36be042e7e9d307eae (diff)
coverity#1401334 Uncaught exception
Change-Id: I2a74e0bcba46b730067b5baca5e934f95ba265ce Reviewed-on: https://gerrit.libreoffice.org/60854 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/popupwindowcontroller.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx
index 21fe3ee6bd3e..41de1cbee9c7 100644
--- a/include/svtools/popupwindowcontroller.hxx
+++ b/include/svtools/popupwindowcontroller.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SVTOOLS_POPUPWINDOWCONTROLLER_HXX
#include <memory>
+#include <o3tl/deleter.hxx>
#include <svtools/svtdllapi.h>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -61,7 +62,7 @@ public:
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() override;
private:
- std::unique_ptr< PopupWindowControllerImpl > mxImpl;
+ std::unique_ptr<PopupWindowControllerImpl, o3tl::default_delete<PopupWindowControllerImpl>> mxImpl;
};
} // namespace svt