diff options
Diffstat (limited to 'sw/source/uibase/shells/langhelper.cxx')
-rw-r--r-- | sw/source/uibase/shells/langhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx index 0de6c4863ada..9900952c9d46 100644 --- a/sw/source/uibase/shells/langhelper.cxx +++ b/sw/source/uibase/shells/langhelper.cxx @@ -521,7 +521,7 @@ namespace SwLangHelper aText = pNode->GetText(); if (!aText.isEmpty()) { - sal_Int32 nEnd = pCursor->GetPoint()->nContent.GetIndex(); + sal_Int32 nEnd = pCursor->GetPoint()->GetContentIndex(); // at most 100 chars to the left... const sal_Int32 nStt = nEnd > 100 ? nEnd - 100 : 0; // ... and 100 to the right of the cursor position |