diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-12-10 16:01:21 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-12-10 16:01:21 +0000 |
commit | 472653c908e852ca96b68d8207070b7d25350220 (patch) | |
tree | be8eb97d93aa183c84cb0d71ce6acd56db54e8f2 /basctl/source/accessibility | |
parent | e7e278ae177df3c58c91c54b070a319b234202b3 (diff) |
INTEGRATION: CWS tbe14 (1.4.52); FILE MERGED
2004/11/17 14:09:38 tbe 1.4.52.1: #i31563# scroll area too small
Diffstat (limited to 'basctl/source/accessibility')
-rw-r--r-- | basctl/source/accessibility/accessibledialogcontrolshape.cxx | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx index 27d834288023..ccb73bbf2e14 100644 --- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx +++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx @@ -2,9 +2,9 @@ * * $RCSfile: accessibledialogcontrolshape.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-07-12 15:54:08 $ + * last change: $Author: rt $ $Date: 2004-12-10 17:01:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -66,6 +66,9 @@ #ifndef _BASIDE3_HXX #include <baside3.hxx> #endif +#ifndef _BASCTL_DLGEDDEF_HXX +#include <dlgeddef.hxx> +#endif #ifndef _BASCTL_DLGEDVIEW_HXX #include <dlgedview.hxx> #endif @@ -363,20 +366,20 @@ void AccessibleDialogControlShape::disposing( const lang::EventObject& rSource ) void AccessibleDialogControlShape::propertyChange( const beans::PropertyChangeEvent& rEvent ) throw (RuntimeException) { - if ( rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Name" ) ) ) + if ( rEvent.PropertyName == DLGED_PROP_NAME ) { NotifyAccessibleEvent( AccessibleEventId::NAME_CHANGED, rEvent.OldValue, rEvent.NewValue ); } - else if ( rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) ) || - rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) ) || - rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Width" ) ) || - rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Height" ) ) ) + else if ( rEvent.PropertyName == DLGED_PROP_POSITIONX || + rEvent.PropertyName == DLGED_PROP_POSITIONY || + rEvent.PropertyName == DLGED_PROP_WIDTH || + rEvent.PropertyName == DLGED_PROP_HEIGHT ) { SetBounds( GetBounds() ); } - else if ( rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BackgroundColor" ) ) || - rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TextColor" ) ) || - rEvent.PropertyName == ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TextLineColor" ) ) ) + else if ( rEvent.PropertyName == DLGED_PROP_BACKGROUNDCOLOR || + rEvent.PropertyName == DLGED_PROP_TEXTCOLOR || + rEvent.PropertyName == DLGED_PROP_TEXTLINECOLOR ) { NotifyAccessibleEvent( AccessibleEventId::VISIBLE_DATA_CHANGED, Any(), Any() ); } |