diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-07 08:23:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-08 10:03:09 +0200 |
commit | 6bd2075b71146d0ec6ee44ba52800e2610ff4971 (patch) | |
tree | be3a06eda802d02c353c81575af3384b213e1540 /sc/source/ui/unoobj/tokenuno.cxx | |
parent | 1d2f7047f2646394395749bbcfccf14f3753d55f (diff) |
convert sc/source/ui/unoobj/*.cxx from String to OUString
Change-Id: If3d93c94b4a07a79585987a5d8a83344c088e805
Diffstat (limited to 'sc/source/ui/unoobj/tokenuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/tokenuno.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/ui/unoobj/tokenuno.cxx b/sc/source/ui/unoobj/tokenuno.cxx index 4271ce836dab..19b1237c7eba 100644 --- a/sc/source/ui/unoobj/tokenuno.cxx +++ b/sc/source/ui/unoobj/tokenuno.cxx @@ -193,12 +193,12 @@ void SAL_CALL ScFormulaParserObj::setPropertyValue( uno::RuntimeException) { SolarMutexGuard aGuard; - String aString(aPropertyName); - if ( aString.EqualsAscii( SC_UNO_COMPILEFAP ) ) + OUString aString(aPropertyName); + if ( aString.equalsAscii( SC_UNO_COMPILEFAP ) ) { aValue >>= mbCompileFAP; } - else if ( aString.EqualsAscii( SC_UNO_COMPILEENGLISH ) ) + else if ( aString.equalsAscii( SC_UNO_COMPILEENGLISH ) ) { bool bOldEnglish = mbEnglish; if (aValue >>= mbEnglish) @@ -217,15 +217,15 @@ void SAL_CALL ScFormulaParserObj::setPropertyValue( else throw lang::IllegalArgumentException(); } - else if ( aString.EqualsAscii( SC_UNO_FORMULACONVENTION ) ) + else if ( aString.equalsAscii( SC_UNO_FORMULACONVENTION ) ) { aValue >>= mnConv; } - else if ( aString.EqualsAscii( SC_UNO_IGNORELEADING ) ) + else if ( aString.equalsAscii( SC_UNO_IGNORELEADING ) ) { aValue >>= mbIgnoreSpaces; } - else if ( aString.EqualsAscii( SC_UNO_OPCODEMAP ) ) + else if ( aString.equalsAscii( SC_UNO_OPCODEMAP ) ) { if (aValue >>= maOpCodeMapping) { @@ -237,7 +237,7 @@ void SAL_CALL ScFormulaParserObj::setPropertyValue( else throw lang::IllegalArgumentException(); } - else if ( aString.EqualsAscii( SC_UNO_EXTERNALLINKS ) ) + else if ( aString.equalsAscii( SC_UNO_EXTERNALLINKS ) ) { if (!(aValue >>= maExternalLinks)) throw lang::IllegalArgumentException(); @@ -252,28 +252,28 @@ uno::Any SAL_CALL ScFormulaParserObj::getPropertyValue( const OUString& aPropert { SolarMutexGuard aGuard; uno::Any aRet; - String aString(aPropertyName); - if ( aString.EqualsAscii( SC_UNO_COMPILEFAP ) ) + OUString aString(aPropertyName); + if ( aString.equalsAscii( SC_UNO_COMPILEFAP ) ) { aRet <<= mbCompileFAP; } - else if ( aString.EqualsAscii( SC_UNO_COMPILEENGLISH ) ) + else if ( aString.equalsAscii( SC_UNO_COMPILEENGLISH ) ) { aRet <<= mbEnglish; } - else if ( aString.EqualsAscii( SC_UNO_FORMULACONVENTION ) ) + else if ( aString.equalsAscii( SC_UNO_FORMULACONVENTION ) ) { aRet <<= mnConv; } - else if ( aString.EqualsAscii( SC_UNO_IGNORELEADING ) ) + else if ( aString.equalsAscii( SC_UNO_IGNORELEADING ) ) { aRet <<= mbIgnoreSpaces; } - else if ( aString.EqualsAscii( SC_UNO_OPCODEMAP ) ) + else if ( aString.equalsAscii( SC_UNO_OPCODEMAP ) ) { aRet <<= maOpCodeMapping; } - else if ( aString.EqualsAscii( SC_UNO_EXTERNALLINKS ) ) + else if ( aString.equalsAscii( SC_UNO_EXTERNALLINKS ) ) { aRet <<= maExternalLinks; } |