include/vcl/pdfwriter.hxx | 2 +- sd/source/ui/view/viewshel.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 49d9bdd259bf17c1db8aae1e95937a15bb672521 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jun 11 21:28:49 2023 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Jun 12 09:13:46 2023 +0200 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.mcnam...@collabora.com> 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; commit f903d0f14245bc3f2d292cff5d13fb566cb20f51 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Jun 11 21:38:32 2023 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Mon Jun 12 09:13:32 2023 +0200 cid#1401342 Uncaught exception Change-Id: I23459898259415b3b2f8b58e5db05b5646994d00 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152864 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 8a7d6f482c82..d4007eb77510 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -143,7 +143,7 @@ ViewShell::~ViewShell() // Keep the content window from accessing in its destructor the // WindowUpdater. if (mpContentWindow) - mpContentWindow->SetViewShell(nullptr); + suppress_fun_call_w_exception(mpContentWindow->SetViewShell(nullptr)); mpZoomList.reset();