sw/source/core/txtnode/fntcache.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit beb3b39ddf04d90b4c18cb15c35dccac35f4dcb7 Author: Mark Hung <mark...@gmail.com> AuthorDate: Wed May 18 06:02:34 2022 +0800 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed May 18 09:50:16 2022 +0200 fix CID#1504441 for SwFntObj. Change-Id: Ia5dfb07e2c3e980f6fd8664f648ef96aa2c0d345 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134501 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index b3fe68906821..838547282770 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -112,6 +112,8 @@ SwFntObj::SwFntObj(const SwSubFont &rFont, std::uintptr_t nFontCacheId, SwViewSh , m_nScrHeight(0) , m_nPrtHeight(USHRT_MAX) , m_nPropWidth(rFont.GetPropWidth()) + , m_nScrHangingBaseline(0) + , m_nPrtHangingBaseline(0) { m_nZoom = pSh ? pSh->GetViewOptions()->GetZoom() : USHRT_MAX; m_bSymbol = RTL_TEXTENCODING_SYMBOL == m_aFont.GetCharSet();