diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-16 10:32:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-16 16:13:46 +0200 |
commit | 7b764dc9ec52495c5552b33e37b745d6b57985bc (patch) | |
tree | e72ffbf0ba92077151f56ecc6080411658b7322e /sfx2/source | |
parent | 7c2a072d91cad9a55c3a37a89518b4fe29461391 (diff) |
cid#1448409 Uninitialized scalar field
Change-Id: I308ef87305efa1e37207f606470b6650dc301b58
Reviewed-on: https://gerrit.libreoffice.org/75696
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/control/thumbnailview.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index ecee30d0295e..0f1347693ad6 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -1231,7 +1231,9 @@ BitmapEx ThumbnailView::readThumbnail(const OUString &msURL) } SfxThumbnailView::SfxThumbnailView(std::unique_ptr<weld::ScrolledWindow> xWindow, std::unique_ptr<weld::Menu> xMenu) - : mpItemAttrs(new ThumbnailItemAttributes) + : mnThumbnailHeight(0) + , mnDisplayHeight(0) + , mpItemAttrs(new ThumbnailItemAttributes) , mxScrolledWindow(std::move(xWindow)) , mxContextMenu(std::move(xMenu)) { |