diff options
Diffstat (limited to 'toolkit/source/awt/vclxwindows.cxx')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index fc8286ceb628..001741c7430d 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2143,10 +2143,10 @@ void SAL_CALL VCLXListBox::itemListChanged( const EventObject& i_rEvent ) throw uno::Reference< beans::XPropertySet > xPropSet( i_rEvent.Source, uno::UNO_QUERY_THROW ); uno::Reference< beans::XPropertySetInfo > xPSI( xPropSet->getPropertySetInfo(), uno::UNO_QUERY_THROW ); uno::Reference< resource::XStringResourceResolver > xStringResourceResolver; - if ( xPSI->hasPropertyByName( OUString( "ResourceResolver" ) ) ) + if ( xPSI->hasPropertyByName("ResourceResolver") ) { xStringResourceResolver.set( - xPropSet->getPropertyValue( OUString( "ResourceResolver" ) ), + xPropSet->getPropertyValue("ResourceResolver"), uno::UNO_QUERY ); } @@ -4614,12 +4614,12 @@ void SAL_CALL VCLXComboBox::itemListChanged( const EventObject& i_rEvent ) throw uno::Reference< beans::XPropertySet > xPropSet( i_rEvent.Source, uno::UNO_QUERY_THROW ); uno::Reference< beans::XPropertySetInfo > xPSI( xPropSet->getPropertySetInfo(), uno::UNO_QUERY_THROW ); - // bool localize = xPSI->hasPropertyByName( OUString( "ResourceResolver" ) ); + // bool localize = xPSI->hasPropertyByName("ResourceResolver"); uno::Reference< resource::XStringResourceResolver > xStringResourceResolver; - if ( xPSI->hasPropertyByName( OUString( "ResourceResolver" ) ) ) + if ( xPSI->hasPropertyByName("ResourceResolver") ) { xStringResourceResolver.set( - xPropSet->getPropertyValue( OUString( "ResourceResolver" ) ), + xPropSet->getPropertyValue("ResourceResolver"), uno::UNO_QUERY ); } |