summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-13 23:39:50 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-13 23:44:24 +0900
commitebba94a9572b4154a4106380d949be3d83a68fa5 (patch)
treed3a1a688fb248b5a59d514d3463b44cbbe1b5da0 /basic
parent516905788436c386caac8ae5288ae0619bc032d1 (diff)
Replaced String by rtl::OUString
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/propacc.cxx3
-rw-r--r--basic/source/comp/dim.cxx1
-rw-r--r--basic/source/comp/io.cxx10
3 files changed, 4 insertions, 10 deletions
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index 80b0c72257bd..ce9c027a9623 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -29,7 +29,6 @@
#include "propacc.hxx"
-#include <tools/errcode.hxx>
#include <svl/svarray.hxx>
#include <basic/sbstar.hxx>
#include <sbunoobj.hxx>
@@ -316,7 +315,7 @@ void RTL_Impl_CreatePropertySet( StarBASIC* pBasic, SbxArray& rPar, sal_Bool bWr
}
// Get class names of struct
- String aServiceName( RTL_CONSTASCII_USTRINGPARAM("stardiv.uno.beans.PropertySet") );
+ ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM("stardiv.uno.beans.PropertySet") );
Reference< XInterface > xInterface = (OWeakObject*) new SbPropertyValues();
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx
index 4571f9c82f65..5263d42ff7fc 100644
--- a/basic/source/comp/dim.cxx
+++ b/basic/source/comp/dim.cxx
@@ -86,7 +86,6 @@ void SbiParser::TypeDecl( SbiSymDef& rDef, sal_Bool bAsNewAlreadyParsed )
if( !bAsNewAlreadyParsed )
Next();
rDef.SetDefinedAs();
- String aType;
SbiToken eTok = Next();
if( !bAsNewAlreadyParsed && eTok == NEW )
{
diff --git a/basic/source/comp/io.cxx b/basic/source/comp/io.cxx
index 038f20020d8c..df02a4e2383f 100644
--- a/basic/source/comp/io.cxx
+++ b/basic/source/comp/io.cxx
@@ -26,9 +26,6 @@
*
************************************************************************/
-
-
-#include <tools/stream.hxx>
#include "sbcomp.hxx"
#include "iosys.hxx"
@@ -127,7 +124,7 @@ void SbiParser::Line()
aGen.Statement();
KeywordSymbolInfo aInfo;
- aInfo.m_aKeywordSymbol = String( RTL_CONSTASCII_USTRINGPARAM( "line" ) );
+ aInfo.m_aKeywordSymbol = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "line" ) );
aInfo.m_eSbxDataType = GetType();
aInfo.m_eTok = SYMBOL;
@@ -258,8 +255,7 @@ void SbiParser::Open()
if( Peek() == SYMBOL )
{
Next();
- String aLen( aSym );
- if( aLen.EqualsIgnoreCaseAscii( "LEN" ) )
+ if( aSym.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("LEN")) )
{
TestToken( EQ );
pLen = new SbiExpression( this );
@@ -289,7 +285,7 @@ void SbiParser::Name()
aGen.Statement();
KeywordSymbolInfo aInfo;
- aInfo.m_aKeywordSymbol = String( RTL_CONSTASCII_USTRINGPARAM( "name" ) );
+ aInfo.m_aKeywordSymbol = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "name" ) );
aInfo.m_eSbxDataType = GetType();
aInfo.m_eTok = SYMBOL;