diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-10-23 15:35:12 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-11-03 20:24:26 -0500 |
commit | bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0 (patch) | |
tree | 8c7f10c39e826bbec818b3bb9f66a427b8207351 /vbahelper/source | |
parent | c5e5699c80cfb32a164696a2c5144b5ccb0a91a9 (diff) |
basic: String -> OUString in basicmanager
Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5
Diffstat (limited to 'vbahelper/source')
-rw-r--r-- | vbahelper/source/vbahelper/vbahelper.cxx | 2 |
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 ) ) |