sw/source/core/text/itrpaint.cxx | 5 ----- 1 file changed, 5 deletions(-)
New commits: commit 602466268467b0f4b356d4613c6c649449503d1c Author: Xisco Fauli <[email protected]> AuthorDate: Mon Sep 9 14:02:06 2024 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Mon Sep 9 16:51:30 2024 +0200 sw: remove long commented out code Since: commit d6274bdd7062d08920dfdaff5b6a154d27298cca Author: Frank Meies <[email protected]> Date: Fri Nov 23 13:47:18 2001 +0000 Fix #95173#: Do not crash if no screen font available Change-Id: I2a7da5ba64c48c76bb8aa32d00837db001bfb2c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173075 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx index 2a19650acb92..e5f2ff287dd1 100644 --- a/sw/source/core/text/itrpaint.cxx +++ b/sw/source/core/text/itrpaint.cxx @@ -131,11 +131,6 @@ void SwTextPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip, ::std::optional<SwTaggedPDFHelper> & roTaggedParagraph, bool const isPDFTaggingEnabled) { -#if OSL_DEBUG_LEVEL > 1 -// sal_uInt16 nFntHeight = GetInfo().GetFont()->GetHeight( GetInfo().GetVsh(), GetInfo().GetOut() ); -// sal_uInt16 nFntAscent = GetInfo().GetFont()->GetAscent( GetInfo().GetVsh(), GetInfo().GetOut() ); -#endif - // maybe catch-up adjustment GetAdjusted(); AddExtraBlankWidth();
