Kaydet (Commit) f23ae024 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: reduce scope

Change-Id: I14956a86b8c83b9432c1eda511371beb026fd680
üst a81896a9
...@@ -506,9 +506,8 @@ namespace pcr ...@@ -506,9 +506,8 @@ namespace pcr
//------------------------------------------------------------------------ //------------------------------------------------------------------------
bool CellBindingHelper::doesComponentSupport( const Reference< XInterface >& _rxComponent, const OUString& _rService ) const bool CellBindingHelper::doesComponentSupport( const Reference< XInterface >& _rxComponent, const OUString& _rService ) const
{ {
bool bDoes = false;
Reference< XServiceInfo > xSI( _rxComponent, UNO_QUERY ); Reference< XServiceInfo > xSI( _rxComponent, UNO_QUERY );
bDoes = xSI.is() && xSI->supportsService( _rService ); bool bDoes = xSI.is() && xSI->supportsService( _rService );
return bDoes; return bDoes;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment