summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textsh1.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 07:47:41 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 07:47:41 +0000
commit7358b559c11c0bb330f554c69dbe8e518b770534 (patch)
tree94edb3b46a8ce1e6062481eb8c13cfc591dff853 /sw/source/ui/shells/textsh1.cxx
parent842771b7218b5985230d327ef6657e87669992af (diff)
INTEGRATION: CWS sw30bf05 (1.66.66); FILE MERGED
2008/05/29 09:50:10 ama 1.66.66.1: Fix #i89440#: Extend selection
Diffstat (limited to 'sw/source/ui/shells/textsh1.cxx')
-rw-r--r--sw/source/ui/shells/textsh1.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/ui/shells/textsh1.cxx b/sw/source/ui/shells/textsh1.cxx
index 7b27cadb70..64ae91ebe4 100644
--- a/sw/source/ui/shells/textsh1.cxx
+++ b/sw/source/ui/shells/textsh1.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: textsh1.cxx,v $
- * $Revision: 1.66 $
+ * $Revision: 1.67 $
*
* This file is part of OpenOffice.org.
*
@@ -614,7 +614,10 @@ void SwTextShell::Execute(SfxRequest &rReq)
if (bForParagraph)
lcl_SelectCurrentPara( rWrtSh );
if (!bForSelection) // document language to be changed...
+ {
rWrtSh.SelAll();
+ rWrtSh.ExtendedSelectAll();
+ }
if (aNewLangTxt != aStrNone)
lcl_SetLanguage( rWrtSh, aNewLangTxt, bForSelection, aCoreSet );
else