From ce74572fb321b9a47fa4f70eb60dc7c6487abda3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 5 Sep 2018 09:03:13 +0200 Subject: loplugin:subtlezeroinit (Qt5System has no non-static data members to zero-initialize anyway) Change-Id: I80f349265c0056b81ae774e07f1e8717bff2d8a8 --- vcl/qt5/Qt5Instance.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/qt5') 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 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 Qt5Instance::CreateSalBitmap() { -- cgit