include/svx/ColorSets.hxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 34791b203fdf5f571189f82510fd4a2d02008bd4
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Jan 7 11:01:20 2023 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Jan 7 16:03:21 2023 +0000

    cid#1518911 Uninitialized scalar variable
    
    Change-Id: Ieef6bf8cd20907531301ab8cf6d81d2dcd5397a4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145171
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/include/svx/ColorSets.hxx b/include/svx/ColorSets.hxx
index 3d345b20c1b3..115b7448a8a0 100644
--- a/include/svx/ColorSets.hxx
+++ b/include/svx/ColorSets.hxx
@@ -113,9 +113,9 @@ struct SVXCORE_DLLPUBLIC ThemeFont
 {
     OUString maTypeface;
     OUString maPanose;
-    sal_Int16 maPitch;
-    sal_Int16 maFamily;
-    sal_Int32 maCharset;
+    sal_Int16 maPitch = 0;
+    sal_Int16 maFamily = 0;
+    sal_Int32 maCharset = 0;
 
     sal_Int16 getPitchFamily() const
     {

Reply via email to