diff options
Diffstat (limited to 'framework/source/fwi/uielement/constitemcontainer.cxx')
-rw-r--r-- | framework/source/fwi/uielement/constitemcontainer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx index 397218a26f85..669df6297e0b 100644 --- a/framework/source/fwi/uielement/constitemcontainer.cxx +++ b/framework/source/fwi/uielement/constitemcontainer.cxx @@ -220,7 +220,7 @@ Any SAL_CALL ConstItemContainer::getPropertyValue( const OUString& PropertyName if ( PropertyName == PROPNAME_UINAME ) return makeAny( m_aUIName ); - throw UnknownPropertyException(); + throw UnknownPropertyException(PropertyName); } void SAL_CALL ConstItemContainer::addPropertyChangeListener( const OUString&, const css::uno::Reference< css::beans::XPropertyChangeListener >& ) @@ -252,7 +252,7 @@ Any SAL_CALL ConstItemContainer::getFastPropertyValue( sal_Int32 nHandle ) if ( nHandle == PROPHANDLE_UINAME ) return makeAny( m_aUIName ); - throw UnknownPropertyException(); + throw UnknownPropertyException(OUString::number(nHandle)); } ::cppu::IPropertyArrayHelper& ConstItemContainer::getInfoHelper() |