summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-28 15:49:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-28 15:49:21 +0100
commit80ae9161ff231908431b6ee6471bd5363425ff26 (patch)
treeb3f8df0e8997e2456f830c62a0d5e33a973f751f /vcl
parent151da1244f8db451f9b8c5c75dc09dd0969e4a28 (diff)
Any::operator >>= returns false rather than throw
Change-Id: Ib2cfdda0c255445544f899b01fdd47687e18712b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/FilterConfigItem.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/vcl/source/filter/FilterConfigItem.cxx b/vcl/source/filter/FilterConfigItem.cxx
index 3e7ca7f12dbc..6cb59e0b4bcb 100644
--- a/vcl/source/filter/FilterConfigItem.cxx
+++ b/vcl/source/filter/FilterConfigItem.cxx
@@ -93,14 +93,7 @@ static bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv, co
else
{
Any a( xHierarchicalNameAccess->getByHierarchicalName( aNode ) );
- try
- {
- a >>= xReadAccess;
- }
- catch ( ::com::sun::star::uno::Exception& )
- {
- bAvailable = false;
- }
+ bAvailable = (a >>= xReadAccess);
}
}
}