summaryrefslogtreecommitdiff
path: root/scripting/source/provider/MasterScriptProvider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/provider/MasterScriptProvider.cxx')
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx12
1 files changed, 6 insertions, 6 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!!",