summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/langhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/shells/langhelper.cxx')
-rw-r--r--sw/source/ui/shells/langhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/shells/langhelper.cxx b/sw/source/ui/shells/langhelper.cxx
index 469aed3e78fa..c66a472d758b 100644
--- a/sw/source/ui/shells/langhelper.cxx
+++ b/sw/source/ui/shells/langhelper.cxx
@@ -592,7 +592,7 @@ namespace SwLangHelper
void SelectPara( EditView &rEditView, const ESelection &rCurSel )
{
- ESelection aParaSel( rCurSel.nStartPara, 0, rCurSel.nStartPara, USHRT_MAX );
+ ESelection aParaSel( rCurSel.nStartPara, 0, rCurSel.nStartPara, EE_TEXTPOS_ALL );
rEditView.SetSelection( aParaSel );
}