summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/view0.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-08-28 11:24:07 +0000
committerOliver Specht <os@openoffice.org>2002-08-28 11:24:07 +0000
commit741027302060a775249bddcb9480813f71741ae1 (patch)
tree70788150fce3512322a1f3efd7b631defaec0a3f /sw/source/ui/uiview/view0.cxx
parent1bf1c955ae3660d167800fe41ca3f03d33f8cfbe (diff)
#101996# Accessibility option for text selection in readonly docs added
Diffstat (limited to 'sw/source/ui/uiview/view0.cxx')
-rw-r--r--sw/source/ui/uiview/view0.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/view0.cxx b/sw/source/ui/uiview/view0.cxx
index f0243ef9b1..02c7d76e05 100644
--- a/sw/source/ui/uiview/view0.cxx
+++ b/sw/source/ui/uiview/view0.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: view0.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: os $ $Date: 2002-05-06 12:11:04 $
+ * last change: $Author: os $ $Date: 2002-08-28 12:23:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -188,4 +188,8 @@ view::XSelectionSupplier* SwView::GetUNOObject()
void SwView::ApplyAccessiblityOptions(SvtAccessibilityOptions& rAccessibilityOptions)
{
pWrtShell->ApplyAccessiblityOptions(rAccessibilityOptions);
+ //to enable the right state of the selection cursor in readonly documents
+ if(GetDocShell()->IsReadOnly())
+ pWrtShell->ShowCrsr();
+
}