diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-07-05 15:19:23 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-07-05 15:19:23 +0000 |
commit | e4028488a57131ddc58180ae675a4060e98bb60b (patch) | |
tree | 45794adf1da15e87ae8acd745786f9f1d79a918d /forms | |
parent | 70041d3e3599a7f9a986e1a87b696b4b6fd06bc8 (diff) |
INTEGRATION: CWS frmcontrols04 (1.3.18); FILE MERGED
2004/06/23 09:03:44 fs 1.3.18.1: #i24694# #i24686# HideInactiveSelection and BorderColor also for the rich text model
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 11 |
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 ); } |