[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Thu Nov 28 06:49:47 PST 2013
vcl/source/filter/FilterConfigItem.cxx | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
New commits:
commit 80ae9161ff231908431b6ee6471bd5363425ff26
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Nov 28 15:49:07 2013 +0100
Any::operator >>= returns false rather than throw
Change-Id: Ib2cfdda0c255445544f899b01fdd47687e18712b
diff --git a/vcl/source/filter/FilterConfigItem.cxx b/vcl/source/filter/FilterConfigItem.cxx
index 3e7ca7f..6cb59e0 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);
}
}
}
More information about the Libreoffice-commits
mailing list