summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextcontrol.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index 06f3c380747b..3cf6d6aed48e 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: richtextcontrol.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-05-25 14:55:36 $
+ * last change: $Author: obo $ $Date: 2004-07-05 16:19:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -517,6 +517,13 @@ namespace frm
aDispatcherLoop->second->invalidate();
}
}
+ else if ( _rPropertyName.equals( PROPERTY_HIDEINACTIVESELECTION ) )
+ {
+ RichTextControl* pRichTextControl = static_cast< RichTextControl* >( GetWindow() );
+ sal_Bool bHide = pRichTextControl->GetHideInactiveSelection();
+ OSL_VERIFY( _rValue >>= bHide );
+ pRichTextControl->SetHideInactiveSelection( bHide );
+ }
else
VCLXWindow::setProperty( _rPropertyName, _rValue );
}