diff options
Diffstat (limited to 'toolkit/source/controls/unocontrolbase.cxx')
-rw-r--r-- | toolkit/source/controls/unocontrolbase.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrolbase.cxx b/toolkit/source/controls/unocontrolbase.cxx index 3bfead451907..b0cc24f082c8 100644 --- a/toolkit/source/controls/unocontrolbase.cxx +++ b/toolkit/source/controls/unocontrolbase.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unocontrolbase.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:02:09 $ + * last change: $Author: mt $ $Date: 2001-10-11 14:58:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -75,6 +75,12 @@ // class UnoControlBase // ---------------------------------------------------- +sal_Bool UnoControlBase::ImplHasProperty( sal_uInt16 nPropId ) +{ + ::rtl::OUString aPropName( GetPropertyName( nPropId ) ); + return ImplHasProperty( aPropName ); +} + sal_Bool UnoControlBase::ImplHasProperty( const ::rtl::OUString& aPropertyName ) { ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xPSet( mxModel, ::com::sun::star::uno::UNO_QUERY ); |