svx/source/dialog/svxruler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5ad6038fbe84ea1dc2d3f9e5dfc2747bf400e595 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Thu Jul 13 21:07:08 2023 +0300 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Fri Jul 14 14:00:25 2023 +0200 tdf#142808: use SvxLRSpaceItem::GetTextLeft instead of GetLeft Because we need the value without the negative (hanging) indent. Change-Id: I65f779476be5e8a57b723c289c6c3a9c75875bb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154398 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> (cherry picked from commit a177a4474b8c31f44741e2834df2c76ea8074aa3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154418 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 2211f09a20e1..ffc34cd5bfb5 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -2152,7 +2152,7 @@ void SvxRuler::ApplyTabs() = lAppNullOffset + (bRTL ? GetRightFrameMargin() : GetLeftFrameMargin()); if (mxRulerImpl->bIsTabsRelativeToIndent && mxParaItem) { - nTmpLeftIndentLogic += bRTL ? mxParaItem->GetRight() : mxParaItem->GetLeft(); + nTmpLeftIndentLogic += bRTL ? mxParaItem->GetRight() : mxParaItem->GetTextLeft(); } aTabStop.GetTabPos() = mxRulerImpl->lMaxRightLogic - lLogicNullOffset - nTmpLeftIndentLogic;