diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-22 12:27:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-22 15:49:36 +0100 |
commit | 6873e0a969948a96679f667400da4eaa4ef2cc07 (patch) | |
tree | 0ab7f225de65c7a3729d53b46c263404d35a3098 /sc/source/core/tool/interpr4.cxx | |
parent | 494e6a082c0186d7e54bc718439f79ed29471614 (diff) |
sal_Char->char in sc
Change-Id: I7e212a36898e71b03db88053647bfeee12a49cb5
Reviewed-on: https://gerrit.libreoffice.org/85690
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/tool/interpr4.cxx')
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 1a371f3f3381..78a2bf59f7f2 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -2528,7 +2528,7 @@ void ScInterpreter::ScExternal() ParamType eParamType[MAXFUNCPARAM]; void* ppParam[MAXFUNCPARAM]; double nVal[MAXFUNCPARAM]; - sal_Char* pStr[MAXFUNCPARAM]; + char* pStr[MAXFUNCPARAM]; sal_uInt8* pCellArr[MAXFUNCPARAM]; short i; @@ -2567,7 +2567,7 @@ void ScInterpreter::ScExternal() SetError( FormulaError::StringOverflow ); else { - pStr[i-1] = new sal_Char[ADDIN_MAXSTRLEN]; + pStr[i-1] = new char[ADDIN_MAXSTRLEN]; strncpy( pStr[i-1], aStr.getStr(), ADDIN_MAXSTRLEN ); pStr[i-1][ADDIN_MAXSTRLEN-1] = 0; ppParam[i] = pStr[i-1]; @@ -2646,7 +2646,7 @@ void ScInterpreter::ScExternal() break; case ParamType::PTR_STRING : { - std::unique_ptr<sal_Char[]> pcErg(new sal_Char[ADDIN_MAXSTRLEN]); + std::unique_ptr<char[]> pcErg(new char[ADDIN_MAXSTRLEN]); ppParam[0] = pcErg.get(); pLegacyFuncData->Call(ppParam); OUString aUni( pcErg.get(), strlen(pcErg.get()), osl_getThreadTextEncoding() ); |