diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 22:24:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 08:00:32 +0200 |
commit | a6050c32f30796743f9ab9b2a5c793ced9b8f747 (patch) | |
tree | a2fa6d05708d1c99414893064adaee56460ac728 /basic/source | |
parent | 01ed4bf52db701c4e7824f4a92b5a3afa2a5ca4b (diff) |
Clean up aEmpty
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sb.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 0fb82bfba764..2dc69d6a2c29 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -415,21 +415,20 @@ SbxBase* SbiFactory::Create( sal_uInt16 nSbxId, sal_uInt32 nCreator ) { if( nCreator == SBXCR_SBX ) { - OUString aEmpty; switch( nSbxId ) { case SBXID_BASIC: return new StarBASIC( NULL ); case SBXID_BASICMOD: - return new SbModule( aEmpty ); + return new SbModule( "" ); case SBXID_BASICPROP: - return new SbProperty( aEmpty, SbxVARIANT, NULL ); + return new SbProperty( "", SbxVARIANT, NULL ); case SBXID_BASICMETHOD: - return new SbMethod( aEmpty, SbxVARIANT, NULL ); + return new SbMethod( "", SbxVARIANT, NULL ); case SBXID_JSCRIPTMOD: - return new SbJScriptModule( aEmpty ); + return new SbJScriptModule( "" ); case SBXID_JSCRIPTMETH: - return new SbJScriptMethod( aEmpty, SbxVARIANT, NULL ); + return new SbJScriptMethod( "", SbxVARIANT, NULL ); } } return NULL; |