[Libreoffice-commits] core.git: vcl/qt5
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 5 07:05:01 UTC 2018
vcl/qt5/Qt5Instance.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ce74572fb321b9a47fa4f70eb60dc7c6487abda3
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Sep 5 09:03:13 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Sep 5 09:03:13 2018 +0200
loplugin:subtlezeroinit
(Qt5System has no non-static data members to zero-initialize anyway)
Change-Id: I80f349265c0056b81ae774e07f1e8717bff2d8a8
diff --git a/vcl/qt5/Qt5Instance.cxx b/vcl/qt5/Qt5Instance.cxx
index aa04e4a14086..f86a9c8834bc 100644
--- a/vcl/qt5/Qt5Instance.cxx
+++ b/vcl/qt5/Qt5Instance.cxx
@@ -127,7 +127,7 @@ std::unique_ptr<SalMenuItem> Qt5Instance::CreateMenuItem(const SalItemParams& rI
SalTimer* Qt5Instance::CreateSalTimer() { return new Qt5Timer(); }
-SalSystem* Qt5Instance::CreateSalSystem() { return new Qt5System(); }
+SalSystem* Qt5Instance::CreateSalSystem() { return new Qt5System; }
std::shared_ptr<SalBitmap> Qt5Instance::CreateSalBitmap()
{
More information about the Libreoffice-commits
mailing list