diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-11 15:46:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-12 13:31:39 +0200 |
commit | 2d296ee94077f1fdbea42c7fbf340fdd725817f3 (patch) | |
tree | be4eeedcaf349d18a8afa3c9638eccf84dec68bf /include/vcl/edit.hxx | |
parent | 86d7984cac6687edd6be2a86fae49c0a10d14627 (diff) |
silence coverity#1401328 Uncaught exception
Change-Id: I0bc55d1dd8fb909388508f2a1f74f846060fed17
Reviewed-on: https://gerrit.libreoffice.org/54142
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/edit.hxx')
-rw-r--r-- | include/vcl/edit.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 72e3e2273581..16ac23120429 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -25,6 +25,7 @@ #include <functional> #include <memory> +#include <o3tl/deleter.hxx> #include <tools/solar.h> #include <vcl/dllapi.h> #include <vcl/menu.hxx> @@ -73,7 +74,7 @@ private: VclPtr<Edit> mpSubEdit; std::unique_ptr<Timer> mpUpdateDataTimer; TextFilter* mpFilterText; - std::unique_ptr<DDInfo> mpDDInfo; + std::unique_ptr<DDInfo, o3tl::default_delete<DDInfo>> mpDDInfo; std::unique_ptr<Impl_IMEInfos> mpIMEInfos; OUStringBuffer maText; OUString maPlaceholderText; |