vcl/inc/pdf/pdfwriter_impl.hxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 7fffe8bfdc6c5c4034700d16c996c112ec5da400
Author: Caolán McNamara <[email protected]>
AuthorDate: Wed May 25 08:57:15 2022 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Wed May 25 12:02:49 2022 +0200
cid#1504535 Uninitialized scalar field
Change-Id: I354e6ccc118ec20649eac5257375e493c8172dfa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134925
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx
index 85592b03eb46..ae461895a55b 100644
--- a/vcl/inc/pdf/pdfwriter_impl.hxx
+++ b/vcl/inc/pdf/pdfwriter_impl.hxx
@@ -488,6 +488,7 @@ 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 ),