summaryrefslogtreecommitdiff
path: root/sw/source/ui/wrtsh/select.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/wrtsh/select.cxx')
-rw-r--r--sw/source/ui/wrtsh/select.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/source/ui/wrtsh/select.cxx b/sw/source/ui/wrtsh/select.cxx
index 3f99ce46564f..5194f13bdc9e 100644
--- a/sw/source/ui/wrtsh/select.cxx
+++ b/sw/source/ui/wrtsh/select.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: select.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: os $ $Date: 2002-10-24 11:05:45 $
+ * last change: $Author: hr $ $Date: 2003-03-27 15:45:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -220,6 +220,9 @@ void SwWrtShell::SelLine(const Point *pPt, BOOL )
long SwWrtShell::SelAll()
{
+ const BOOL bLockedView = IsViewLocked();
+ LockView( TRUE );
+
{
MV_KONTEXT(this);
BOOL bMoveTable = FALSE;
@@ -243,6 +246,9 @@ long SwWrtShell::SelAll()
GoEnd(TRUE, &bMoveTable);
}
EndSelect();
+
+ LockView( bLockedView );
+
return 1;
}