diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-04 11:15:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-04 13:12:24 +0100 |
commit | 7940abb4cc491fd1c72859ef21d120b3543bc40c (patch) | |
tree | 71acdbd0f8f5725b2fc2f982c7ce5d4c5ae6f52c /sw/source/uibase/wrtsh/delete.cxx | |
parent | 042054d0507bac8ede0c045a58a91c0830312fc5 (diff) |
rename Set/GetTextFirstLineOfst->Set/GetTextFirstLineOffset
Change-Id: Iaeb3c17fe157dec82cd70991122c08ee1e215752
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87955
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/wrtsh/delete.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/delete.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/wrtsh/delete.cxx b/sw/source/uibase/wrtsh/delete.cxx index 4a2420ad7b84..177cb2344c46 100644 --- a/sw/source/uibase/wrtsh/delete.cxx +++ b/sw/source/uibase/wrtsh/delete.cxx @@ -62,16 +62,16 @@ bool SwWrtShell::TryRemoveIndent() GetCurAttr(aAttrSet); SvxLRSpaceItem aItem = aAttrSet.Get(RES_LR_SPACE); - short aOldFirstLineOfst = aItem.GetTextFirstLineOfst(); + short aOldFirstLineOfst = aItem.GetTextFirstLineOffset(); if (aOldFirstLineOfst > 0) { - aItem.SetTextFirstLineOfst(0); + aItem.SetTextFirstLineOffset(0); bResult = true; } else if (aOldFirstLineOfst < 0) { - aItem.SetTextFirstLineOfst(0); + aItem.SetTextFirstLineOffset(0); aItem.SetLeft(aItem.GetLeft() + aOldFirstLineOfst); bResult = true; |