summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/bastype3.cxx
diff options
context:
space:
mode:
authorAugust Sodora <augsod@gmail.com>2011-12-09 00:56:17 -0500
committerAugust Sodora <augsod@gmail.com>2011-12-09 00:56:17 -0500
commit7c8b0959fd24d4938d26e732817b59a57dda3f1d (patch)
tree696b87c194d6bb16dbe4310134989201d8b2ea0e /basctl/source/basicide/bastype3.cxx
parent9c2f9c79aca1e1dc0670d6443fd7865b8dc1ee63 (diff)
String->OUString
Diffstat (limited to 'basctl/source/basicide/bastype3.cxx')
-rw-r--r--basctl/source/basicide/bastype3.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index 9f41a7a8842b..4128474acc40 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -491,13 +491,15 @@ SvLBoxEntry* BasicTreeListBox::FindRootEntry( const ScriptDocument& rDocument, L
return 0;
}
-String CreateMgrAndLibStr( const String& rMgrName, const String& rLibName )
+::rtl::OUString CreateMgrAndLibStr( const ::rtl::OUString& rMgrName, const ::rtl::OUString& rLibName )
{
- String aName( '[' );
- aName += rMgrName;
- aName += String( RTL_CONSTASCII_USTRINGPARAM( "]." ) );
- aName += rLibName;
- return aName;
+ ::rtl::OUStringBuffer aName;
+ aName.append('[');
+ aName.append(rMgrName);
+ aName.append(']');
+ aName.append('.');
+ aName.append(rLibName);
+ return aName.makeStringAndClear();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */