summaryrefslogtreecommitdiff
path: root/svx/source/styles
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-24 12:35:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-24 15:12:49 +0200
commitc61c70e51cd6bc1721ec0d840aad28b5ed284ae7 (patch)
tree3e6f8d79837323d9a3946c2b699db1fcacabac11 /svx/source/styles
parent006fd925feafcf9beecf01279907fb330d704a89 (diff)
cid#1510131 Uninitialized scalar field
Change-Id: Iff08a3dbbfc7ac14606061c66c81519e780d846c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138761 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/styles')
-rw-r--r--svx/source/styles/CommonStylePreviewRenderer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/styles/CommonStylePreviewRenderer.cxx b/svx/source/styles/CommonStylePreviewRenderer.cxx
index 66fbb9e72603..3a78a3df22f8 100644
--- a/svx/source/styles/CommonStylePreviewRenderer.cxx
+++ b/svx/source/styles/CommonStylePreviewRenderer.cxx
@@ -53,6 +53,7 @@ CommonStylePreviewRenderer::CommonStylePreviewRenderer(
, maFontColor(COL_AUTO)
, maHighlightColor(COL_AUTO)
, maBackgroundColor(COL_AUTO)
+ , mnHeight(0)
, maStyleName(mpStyle->GetName())
{
}