diff options
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/defaultregistry/defaultregistry.cxx | 2 | ||||
-rw-r--r-- | stoc/source/implementationregistration/implreg.cxx | 9 | ||||
-rw-r--r-- | stoc/source/invocation/invocation.cxx | 2 |
3 files changed, 3 insertions, 10 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx index a8a8418b80b5..0e605fed9298 100644 --- a/stoc/source/defaultregistry/defaultregistry.cxx +++ b/stoc/source/defaultregistry/defaultregistry.cxx @@ -266,7 +266,7 @@ sal_Bool SAL_CALL NestedKeyImpl::isReadOnly( ) if ( !m_localKey.is() || !m_localKey->isValid() ) throw InvalidRegistryException(); - return m_localKey->isReadOnly(); + return m_localKey->isReadOnly(); } diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index ede4e6f050b4..363a8bf7c52c 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -262,10 +262,7 @@ OUString searchImplForLink( OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey, const OUString& linkName, const OUString& implName) - // throw ( InvalidRegistryException, RuntimeException ) { -// try -// { Reference < XRegistryKey > xKey = xRootKey->openKey( slash_IMPLEMENTATIONS ); if (xKey.is()) @@ -289,12 +286,8 @@ OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey, } } } -// } -// catch(InvalidRegistryException&) -// { -// } - return OUString(); + return OUString(); } diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx index 34c93c5cb781..a4eec6a2fb76 100644 --- a/stoc/source/invocation/invocation.cxx +++ b/stoc/source/invocation/invocation.cxx @@ -883,7 +883,7 @@ InvocationInfo SAL_CALL Invocation_Impl::getInfoForName( const OUString& aName, if( _xIntrospectionAccess.is() && _xIntrospectionAccess->hasProperty ( aExactName, PropertyConcept::ALL ^ PropertyConcept::DANGEROUS ) ) { - Property aProp = _xIntrospectionAccess->getProperty + Property aProp = _xIntrospectionAccess->getProperty ( aExactName, PropertyConcept::ALL ^ PropertyConcept::DANGEROUS ); fillInfoForProperty( aRetInfo, aProp ); bFound = true; |