include/vcl/pdfwriter.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 86b8e5563cb2d2c054befb89f7a90d6676a8ae64
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sun Jun 11 21:28:49 2023 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Tue Jun 13 11:51:14 2023 +0200

    cid#1532366 Uninitialized scalar variable
    
    Change-Id: Iea2b38149815c7025f1df0739731142f892ba016
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152876
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Jaume Pujantell <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 5f5ad9a851ec..7794547b4b7d 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -66,7 +66,7 @@ struct PDFNote
     OUString          Title;          // optional title for the popup 
containing the note
     OUString          Contents;       // contents of the note
     css::util::DateTime maModificationDate;
-    bool isFreeText;
+    bool isFreeText = false;
     std::vector<basegfx::B2DPolygon> maPolygons;
     Color annotColor;
     Color interiorColor;

Reply via email to