vcl/qt5/Qt5Clipboard.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2eb1da59d9fb49755b2371a560b76b2e4f251927
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Oct 4 11:09:48 2018 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Oct 4 11:09:48 2018 +0200

    loplugin:subtlezeroinit (--enable-qt5)
    
    Change-Id: I1a6f0a2b0de82fd0e8c30818c2ddf6e0a2d3f1b0

diff --git a/vcl/qt5/Qt5Clipboard.cxx b/vcl/qt5/Qt5Clipboard.cxx
index 048acd4e70c8..52c43a2541b1 100644
--- a/vcl/qt5/Qt5Clipboard.cxx
+++ b/vcl/qt5/Qt5Clipboard.cxx
@@ -100,7 +100,7 @@ sal_Bool VclQt5Clipboard::supportsService(const OUString& 
ServiceName)
 Reference<css::datatransfer::XTransferable> VclQt5Clipboard::getContents()
 {
     if (!m_aContents.is())
-        m_aContents = new Qt5Transferable();
+        m_aContents = new Qt5Transferable;
 
     return m_aContents;
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to