[Libreoffice-commits] core.git: include/vcl
Caolán McNamara
caolanm at redhat.com
Sat May 12 11:31:59 UTC 2018
include/vcl/edit.hxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 2d296ee94077f1fdbea42c7fbf340fdd725817f3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri May 11 15:46:05 2018 +0100
silence coverity#1401328 Uncaught exception
Change-Id: I0bc55d1dd8fb909388508f2a1f74f846060fed17
Reviewed-on: https://gerrit.libreoffice.org/54142
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list