diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 09:31:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 18:23:46 +0100 |
commit | 33a477004c89a166f4f684ebce0df5b3f44aef83 (patch) | |
tree | 83a3e85d9d92691681bdb8abd6de3ab35d2026b3 /basctl | |
parent | another expected exception in initial corpus (diff) | |
download | core-33a477004c89a166f4f684ebce0df5b3f44aef83.tar.gz core-33a477004c89a166f4f684ebce0df5b3f44aef83.zip |
coverity warnings
Change-Id: I456210188ab96e6be03e65c94eedb348cc93a8e1
Reviewed-on: https://gerrit.libreoffice.org/45023
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/inc/dlged.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index 791cc74bc216..d844255c837b 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -25,6 +25,7 @@ #include <com/sun/star/datatransfer/DataFlavor.hpp> #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> +#include <o3tl/deleter.hxx> #include <svl/SfxBroadcaster.hxx> #include <svl/hint.hxx> #include <tools/gen.hxx> @@ -118,7 +119,7 @@ private: css::uno::Sequence< css::datatransfer::DataFlavor > m_ClipboardDataFlavors; css::uno::Sequence< css::datatransfer::DataFlavor > m_ClipboardDataFlavorsResource; css::uno::Reference< css::util::XNumberFormatsSupplier > m_xSupplier; - std::unique_ptr<DlgEdFactory> pObjFac; // never nullptr + std::unique_ptr<DlgEdFactory, o3tl::default_delete<DlgEdFactory>> pObjFac; // never nullptr vcl::Window& rWindow; // DialogWindow std::unique_ptr<DlgEdFunc> pFunc; DialogWindowLayout& rLayout; |