editeng/inc/TextPortion.hxx | 2 +- editeng/source/editeng/impedit3.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 8a32f77178e3adc2e661305838064ec9be5f25f6 Author: Simon Chenery <[email protected]> AuthorDate: Mon May 5 19:01:10 2025 +0200 Commit: David Gilbert <[email protected]> CommitDate: Wed May 7 00:37:53 2025 +0200 tdf#164954 fix mis-spelled "punktuation" in variable name in TextPortion.hxx Change-Id: I0d93d4e75652dbe2cca8227f95883e26b25faf76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184968 Reviewed-by: David Gilbert <[email protected]> Tested-by: Jenkins diff --git a/editeng/inc/TextPortion.hxx b/editeng/inc/TextPortion.hxx index c9de6b420d12..3c1caa882df3 100644 --- a/editeng/inc/TextPortion.hxx +++ b/editeng/inc/TextPortion.hxx @@ -68,7 +68,7 @@ struct ExtraPortionInfo sal_uInt16 nMaxCompression100thPercent = 0; AsianCompressionFlags nAsianCompressionTypes = AsianCompressionFlags::Normal; - bool bFirstCharIsRightPunktuation = false; + bool bFirstCharIsRightPunctuation = false; bool bCompressed = false; std::unique_ptr<double[]> pOrgDXArray; diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 0ea58552c3f6..57f2a1043a96 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -3881,7 +3881,7 @@ void ImpEditEngine::Paint( OutputDevice& rOutDev, tools::Rectangle aClipRect, Po Point aRealOutPos( aOutPos ); if ( ( rTextPortion.GetKind() == PortionKind::TEXT ) && rTextPortion.GetExtraInfos() && rTextPortion.GetExtraInfos()->bCompressed - && rTextPortion.GetExtraInfos()->bFirstCharIsRightPunktuation ) + && rTextPortion.GetExtraInfos()->bFirstCharIsRightPunctuation ) { aRealOutPos.AdjustX(rTextPortion.GetExtraInfos()->nPortionOffsetX ); } @@ -4901,7 +4901,7 @@ bool ImpEditEngine::ImplCalcAsianCompression(ContentNode* pNode, } else { - pTextPortion->GetExtraInfos()->bFirstCharIsRightPunktuation = true; + pTextPortion->GetExtraInfos()->bFirstCharIsRightPunctuation = true; pTextPortion->GetExtraInfos()->nPortionOffsetX = -nCompress; } }
