[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann
sbergman at redhat.com
Wed Jan 17 08:51:36 UTC 2018
vcl/unx/kde4/KDEXLib.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 61adec681004531bb2ffa86f21249bacc09ecec3
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jan 17 09:50:45 2018 +0100
Fix --enable-kde4
...after 2ea733e525773e5631210e9503fd8415a72c2ea9 "loplugin:useuniqueptr in
SalXLib"
Change-Id: I430458b7e95b4814775f80b688259bc960268f9d
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 7a72b57c296c..60c39edff386 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -94,7 +94,7 @@ KDEXLib::~KDEXLib()
void KDEXLib::Init()
{
- m_pInputMethod = new SalI18N_InputMethod;
+ m_pInputMethod.reset(new SalI18N_InputMethod);
m_pInputMethod->SetLocale();
XrmInitialize();
More information about the Libreoffice-commits
mailing list