[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - include/vcl

Caolán McNamara caolanm at redhat.com
Mon Jul 13 06:06:45 PDT 2015


 include/vcl/printerinfomanager.hxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit b78b90732b3089c865773efab362038bd913dac5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jul 12 15:56:40 2015 +0100

    coverity#1311653 Uninitialized scalar field
    
    Change-Id: Ib1cc81ce30752a3794a009ee8cae826abdb9fc03
    (cherry picked from commit ca1a5ebf49d377d93c6c8c57a14d64460babf176)
    Reviewed-on: https://gerrit.libreoffice.org/16966
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: David Tardon <dtardon at redhat.com>

diff --git a/include/vcl/printerinfomanager.hxx b/include/vcl/printerinfomanager.hxx
index 52245c4..3f1debf 100644
--- a/include/vcl/printerinfomanager.hxx
+++ b/include/vcl/printerinfomanager.hxx
@@ -52,8 +52,9 @@ struct PrinterInfo : JobData
     OUString             m_aFeatures;
     bool                 m_bPapersizeFromSetup;
 
-    PrinterInfo() :
-            JobData()
+    PrinterInfo()
+        : JobData()
+        , m_bPapersizeFromSetup(false)
     {}
 };
 


More information about the Libreoffice-commits mailing list