summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 15:36:02 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:06:16 +0200
commit6f2adb1a0421e626aa498cf722d7be573f287a11 (patch)
treeca52369861e7890fdfe88bf6da6c524ac35f36e5 /basctl/source/basicide
parent90830788b1f8fd61ea86135712868aeda395edd0 (diff)
convert basctl/source/inc/basobj.hxx from String to OUString
Change-Id: Ied011ae19ef850826f52f4ebd5a22dba0caf5d2b
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/basobj2.cxx6
-rw-r--r--basctl/source/basicide/basobj3.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/basobj2.cxx b/basctl/source/basicide/basobj2.cxx
index 321f282c4a48..d5b7030c1215 100644
--- a/basctl/source/basicide/basobj2.cxx
+++ b/basctl/source/basicide/basobj2.cxx
@@ -88,11 +88,11 @@ void Organize( sal_Int16 tabId )
//----------------------------------------------------------------------------
-bool IsValidSbxName( const String& rName )
+bool IsValidSbxName( const OUString& rName )
{
- for ( sal_uInt16 nChar = 0; nChar < rName.Len(); nChar++ )
+ for ( sal_uInt16 nChar = 0; nChar < rName.getLength(); nChar++ )
{
- sal_Unicode c = rName.GetChar(nChar);
+ sal_Unicode c = rName[nChar];
bool bValid = (
( c >= 'A' && c <= 'Z' ) ||
( c >= 'a' && c <= 'z' ) ||
diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx
index 89f9f450eaf9..f6b787797963 100644
--- a/basctl/source/basicide/basobj3.cxx
+++ b/basctl/source/basicide/basobj3.cxx
@@ -72,7 +72,7 @@ extern "C" {
//----------------------------------------------------------------------------
-SbMethod* CreateMacro( SbModule* pModule, const String& rMacroName )
+SbMethod* CreateMacro( SbModule* pModule, const OUString& rMacroName )
{
SfxDispatcher* pDispatcher = GetDispatcher();
if( pDispatcher )