summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-18 14:09:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 07:58:15 +0200
commite61e4e56994c22221dcc0e9f4c2cb62fd63ac823 (patch)
treed38359c4e9a3de7112075244d7013907ce135d4f /scripting
parentba80f637b82ef5df7c650ec301ca9ebb5f678f44 (diff)
clang-tidy readability-misleading-indentation
Change-Id: I4673fc7c694924b41d048a1918ddb8b0e0af1f79 Reviewed-on: https://gerrit.libreoffice.org/61935 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx12
-rw-r--r--scripting/source/provider/ProviderCache.cxx8
2 files changed, 10 insertions, 10 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index 7f91fb83da12..fa4b53100fa8 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -559,9 +559,9 @@ MasterScriptProvider::removeByName( const OUString& Name )
Reference< container::XNameContainer > xCont( m_xMSPPkg, UNO_QUERY_THROW );
xCont->removeByName( Name );
- }
- else
- {
+ }
+ else
+ {
if ( Name.isEmpty() )
{
throw lang::IllegalArgumentException( "Name not set!!",
@@ -625,9 +625,9 @@ MasterScriptProvider::hasByName( const OUString& aName )
throw RuntimeException( "PackageMasterScriptProvider is unitialised" );
}
- }
- else
- {
+ }
+ else
+ {
if ( aName.isEmpty() )
{
throw lang::IllegalArgumentException( "Name not set!!",
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx
index eeaac5fd44eb..f669a9cc3a31 100644
--- a/scripting/source/provider/ProviderCache.cxx
+++ b/scripting/source/provider/ProviderCache.cxx
@@ -71,11 +71,11 @@ ProviderCache::getProvider( const OUString& providerName )
{
provider = h_it->second.provider;
}
- else
- {
- // need to create provider and insert into hash
+ else
+ {
+ // need to create provider and insert into hash
provider = createProvider( h_it->second );
- }
+ }
}
return provider;
}