Kaydet (Commit) 80ae9161 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Any::operator >>= returns false rather than throw

Change-Id: Ib2cfdda0c255445544f899b01fdd47687e18712b
üst 151da124
...@@ -93,14 +93,7 @@ static bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv, co ...@@ -93,14 +93,7 @@ static bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv, co
else else
{ {
Any a( xHierarchicalNameAccess->getByHierarchicalName( aNode ) ); Any a( xHierarchicalNameAccess->getByHierarchicalName( aNode ) );
try bAvailable = (a >>= xReadAccess);
{
a >>= xReadAccess;
}
catch ( ::com::sun::star::uno::Exception& )
{
bAvailable = false;
}
} }
} }
} }
......
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