vcl/inc/pdf/pdfwriter_impl.hxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f8523e26040040910ca53485039afcca65fd46ab
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun May 22 11:50:34 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sun May 22 14:33:21 2022 +0200

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

diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx
index 93889954476d..85592b03eb46 100644
--- a/vcl/inc/pdf/pdfwriter_impl.hxx
+++ b/vcl/inc/pdf/pdfwriter_impl.hxx
@@ -488,7 +488,9 @@ struct PDFWidget : public PDFAnnotation
               m_nParent( 0 ),
               m_nTabOrder( 0 ),
               m_nRadioGroup( -1 ),
-              m_nMaxLen( 0 ),
+              m_nFormat( PDFWriter::FormatType::Text ),
+              m_nDecimalAccuracy ( 0 ),
+              m_bPrependCurrencySymbol( false ),
               m_bSubmit( false ),
               m_bSubmitGet( false ),
               m_nDest( -1 )

Reply via email to