From 9c281fda84bea4407bb8265d1e125fc6e429064d Mon Sep 17 00:00:00 2001 From: Ricardo Montania Date: Fri, 22 Mar 2013 13:52:16 -0300 Subject: String::AppendAscii cleanup Change-Id: I3c1ff291488b7747e143982aa7ea95169175c2c2 Reviewed-on: https://gerrit.libreoffice.org/2914 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- basctl/source/basicide/baside2.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 72d594d82000..f8962c5f7c31 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -1339,7 +1339,7 @@ EntryDescriptor ModulWindow::CreateEntryDescriptor() ScriptDocument aDocument( GetDocument() ); String aLibName( GetLibName() ); LibraryLocation eLocation = aDocument.getLibraryLocation( aLibName ); - String aModName( GetName() ); + OUString aModName( GetName() ); String aLibSubName; if( xBasic.Is() && aDocument.isInVBAMode() && XModule().Is() ) { @@ -1355,7 +1355,7 @@ EntryDescriptor ModulWindow::CreateEntryDescriptor() ModuleInfoHelper::getObjectName( xLib, aModName, sObjName ); if( !sObjName.isEmpty() ) { - aModName.AppendAscii(" (").Append(sObjName).AppendAscii(")"); + aModName += " (" + sObjName + ")"; } } break; -- cgit