diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-07-24 10:21:43 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-07-26 01:18:56 +0200 |
commit | 51c7a6f68ef25d7c292dc988400a2c59ef479017 (patch) | |
tree | 3b2dd9a706a1f35eee39287b643af1604aa5921b | |
parent | 1d0f07887166577fc9769e028a089e6051a38ed2 (diff) |
valgrind: use of unit value exporting tdf107162-1.ots to xls
Conditional jump or move depends on uninitialised value(s)
at 0x4554B657: SetApiUnderline (xlstyle.cxx:487)
by 0x4554B657: (anonymous namespace)::lclSetApiFontSettings(XclFontData&, rtl::OUString const&, float, float, com::sun::star::awt::FontSlant, short, short) (xlstyle.cxx:583)
by 0x4554C096: XclFontPropSetHelper::ReadFontProperties(XclFontData&, ScfPropertySet const&, XclFontPropSetType, short) (xlstyle.cxx:679)
by 0x4546D8BE: XclExpTbxControlObj::XclExpTbxControlObj(XclExpObjectManager&, com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&, tools::Rectangle const*) (xeescher.cxx:753)
by 0x45593D99: XclEscherEx::CreateTBXCtrlObj(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&, tools::Rectangle const*) (xcl97esc.cxx:441)
by 0x45594E85: XclEscherEx::StartShape(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&, tools::Rectangle const*) (xcl97esc.cxx:254)
by 0x44E4FFBC: ImplEESdrWriter::ImplWriteShape(ImplEESdrObject&, EscherSolverContainer&, bool) (eschesdo.cxx:164)
by 0x44E510C3: ImplEESdrWriter::ImplWriteShape(ImplEESdrObject&, EscherSolverContainer&, bool) (eschesdo.cxx:215)
by 0x44E5452B: ImplEESdrWriter::ImplWritePage(EscherSolverContainer&) (eschesdo.cxx:848)
by 0x44E54D27: ImplWriteCurrentPage (eschesdo.cxx:932)
by 0x44E54D27: EscherEx::AddSdrPage(SdrPage const&) (eschesdo.cxx:945)
by 0x454696BC: XclExpObjectManager::ProcessDrawing(SdrPage const*) (xeescher.cxx:1523)
by 0x45407A35: ExcTable::FillAsTableBinary(short) (excdoc.cxx:518)
by 0x454088B8: ExcDocument::ReadDoc() (excdoc.cxx:767)
Change-Id: Ibefe8ea808bfbd9dfc8e773b4c13936387633507
Reviewed-on: https://gerrit.libreoffice.org/57905
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/filter/excel/xlstyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xlstyle.cxx b/sc/source/filter/excel/xlstyle.cxx index 673b2a5bf62c..e9095b580cad 100644 --- a/sc/source/filter/excel/xlstyle.cxx +++ b/sc/source/filter/excel/xlstyle.cxx @@ -659,8 +659,8 @@ void XclFontPropSetHelper::ReadFontProperties( XclFontData& rFontData, case EXC_FONTPROPSET_CONTROL: { OUString aApiFontName; - float fApiHeight, fApiWeight; - sal_Int16 nApiFamily, nApiCharSet, nApiPosture, nApiUnderl, nApiStrikeout; + float fApiHeight(0.0), fApiWeight(0.0); + sal_Int16 nApiFamily(0), nApiCharSet(0), nApiPosture(0), nApiUnderl(0), nApiStrikeout(0); // read font properties maHlpControl.ReadFromPropertySet( rPropSet ); |