summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-10-23 15:35:12 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-03 20:24:26 -0500
commitbbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0 (patch)
tree8c7f10c39e826bbec818b3bb9f66a427b8207351 /vbahelper
parentc5e5699c80cfb32a164696a2c5144b5ccb0a91a9 (diff)
basic: String -> OUString in basicmanager
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index a531e06cae89..f0f2f0641dc8 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -1154,7 +1154,7 @@ uno::Reference< XHelperInterface > getUnoDocModule( const String& aModName, SfxO
{
OUString sProj( "Standard" );
BasicManager* pBasMgr = pShell->GetBasicManager();
- if ( pBasMgr && pBasMgr->GetName().Len() )
+ if ( pBasMgr && !pBasMgr->GetName().isEmpty() )
sProj = pBasMgr->GetName();
if( StarBASIC* pBasic = pShell->GetBasicManager()->GetLib( sProj ) )
if( SbModule* pMod = pBasic->FindModule( aModName ) )