diff options
| author | Noel Grandin <noel@peralex.com> | 2013-11-04 13:56:13 +0200 |
|---|---|---|
| committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:25 +0200 |
| commit | e9c4ee996d5a6bf895072613ac4e488346ee5b05 (patch) | |
| tree | d2137ca122fea2aca4fbcf950577fb650bb4852e /basic/source/runtime/methods.cxx | |
| parent | 03995a6beaaabee40ec8ae718fad309238ca446f (diff) | |
remove unnecessary use of OUString constructor in BASIC module
Change-Id: Iee86ce9200285647d5031cb2f89266a52704dd44
Diffstat (limited to 'basic/source/runtime/methods.cxx')
| -rw-r--r-- | basic/source/runtime/methods.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 691c5ea5931a..083152b63fb0 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -2729,7 +2729,7 @@ OUString implSetupWildcard( const OUString& rFileParam, SbiRTLData* pRTLData ) delete pRTLData->pWildCard; pRTLData->pWildCard = NULL; - pRTLData->sFullNameToBeChecked = OUString(); + pRTLData->sFullNameToBeChecked = ""; OUString aFileParam = rFileParam; sal_Int32 nLastWild = aFileParam.lastIndexOf( cWild1 ); @@ -2767,7 +2767,7 @@ OUString implSetupWildcard( const OUString& rFileParam, SbiRTLData* pRTLData ) if( nLastDelim < 0 ) { aPureFileName = aFileParam; - aFileParam = OUString(); + aFileParam = ""; } else { @@ -2941,11 +2941,11 @@ RTLFUNC(Dir) { if( pRTLData->nCurDirPos == -2 ) { - aPath = OUString("." ); + aPath = "."; } else if( pRTLData->nCurDirPos == -1 ) { - aPath = OUString(".." ); + aPath = ".."; } pRTLData->nCurDirPos++; } @@ -3057,11 +3057,11 @@ RTLFUNC(Dir) { if( pRTLData->nCurDirPos == -2 ) { - aPath = OUString("." ); + aPath = "."; } else if( pRTLData->nCurDirPos == -1 ) { - aPath = OUString(".." ); + aPath = ".."; } pRTLData->nCurDirPos++; } @@ -3825,7 +3825,7 @@ OUString getObjectTypeName( SbxVariable* pVar ) SbxBase* pObj = pVar->GetObject(); if( !pObj ) { - sRet = OUString("Nothing"); + sRet = "Nothing"; } else { |
