From bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 23 Oct 2012 15:35:12 +0200 Subject: basic: String -> OUString in basicmanager Change-Id: I6607bfe8b6bf4d29ffd01cd88a19af5e53d616b5 --- vbahelper/source/vbahelper/vbahelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vbahelper') 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 ) ) -- cgit