summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2013-03-22 13:52:16 -0300
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-22 17:17:18 +0000
commit9c281fda84bea4407bb8265d1e125fc6e429064d (patch)
tree83ac360ed343a617cea32c7956b361edd7e08e26 /basctl
parent43f59b86cd2c65bf408bea8108b56839b21b8b4e (diff)
String::AppendAscii cleanup
Change-Id: I3c1ff291488b7747e143982aa7ea95169175c2c2 Reviewed-on: https://gerrit.libreoffice.org/2914 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx4
1 files changed, 2 insertions, 2 deletions
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;