summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:55:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 11:18:35 +0100
commitf68f3b98cc47868cda3a75298a211c5735c0a4e7 (patch)
tree13eed7d0b65c9e2c39f5274eed61c32d8976ae58 /stoc
parentb95512e936b4eebb301c169e091bd9064c1eb2ac (diff)
loplugin:indentation in soltools..svl
Change-Id: I270a12cdb68920b8fa23b82dd933724e30334485 Reviewed-on: https://gerrit.libreoffice.org/67565 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/defaultregistry/defaultregistry.cxx2
-rw-r--r--stoc/source/implementationregistration/implreg.cxx9
-rw-r--r--stoc/source/invocation/invocation.cxx2
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;