diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-08-14 18:02:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-14 21:28:37 +0200 |
commit | d0c07ec1cad386a0ec3bf34c6aa6e7b50859ef09 (patch) | |
tree | fd7050cd2011357ebba52ba3b82a5faea12f3971 /sw/source/uibase/uiview/formatclipboard.cxx | |
parent | tdf#103492: Messed Arabic letter spacing in text starting with LTR character(s) (diff) | |
download | core-d0c07ec1cad386a0ec3bf34c6aa6e7b50859ef09.tar.gz core-d0c07ec1cad386a0ec3bf34c6aa6e7b50859ef09.zip |
use more GetContentIndex
Change-Id: I48e36a95872b5c2bdb6b92c66403d4c08eedd38c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138255
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uiview/formatclipboard.cxx')
-rw-r--r-- | sw/source/uibase/uiview/formatclipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/formatclipboard.cxx b/sw/source/uibase/uiview/formatclipboard.cxx index 16e72e40bdfc..b8c5023eac0d 100644 --- a/sw/source/uibase/uiview/formatclipboard.cxx +++ b/sw/source/uibase/uiview/formatclipboard.cxx @@ -319,7 +319,7 @@ void SwFormatClipboard::Copy( SwWrtShell& rWrtShell, SfxItemPool& rPool, bool bP // revert left and right if ( rightToLeft ) { - if (pCursor->GetPoint()->nContent == 0) + if (pCursor->GetPoint()->GetContentIndex() == 0) dontMove = true; else bForwardSelection = !bForwardSelection; |