summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-11 21:28:49 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-06-12 09:13:46 +0200
commit49d9bdd259bf17c1db8aae1e95937a15bb672521 (patch)
treee82f06f6633bad1608e227f4206ae02bf8f180e1 /include
parentf903d0f14245bc3f2d292cff5d13fb566cb20f51 (diff)
cid#1532366 Uninitialized scalar variable
Change-Id: Iea2b38149815c7025f1df0739731142f892ba016 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152861 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/pdfwriter.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index 1abd5bf80151..966798e814aa 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;