From f68f3b98cc47868cda3a75298a211c5735c0a4e7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Feb 2019 13:55:44 +0200 Subject: loplugin:indentation in soltools..svl Change-Id: I270a12cdb68920b8fa23b82dd933724e30334485 Reviewed-on: https://gerrit.libreoffice.org/67565 Tested-by: Jenkins Reviewed-by: Noel Grandin --- stoc/source/defaultregistry/defaultregistry.cxx | 2 +- stoc/source/implementationregistration/implreg.cxx | 9 +-------- stoc/source/invocation/invocation.cxx | 2 +- 3 files changed, 3 insertions(+), 10 deletions(-) (limited to 'stoc') 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; -- cgit