diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-19 13:15:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-19 19:17:40 +0100 |
commit | 7c18da2dc6963b6f3f74a72fc4f6a3eedd8f9eb7 (patch) | |
tree | bf9b5cf5f648936e5c12c51a7a643059c5bcb6a5 /registry/source/keyimpl.cxx | |
parent | f22044a49a56e585e2e9f419a1b77aba263b2afe (diff) |
sal_Char->char in oox..registry
Change-Id: Icc7f2a32696c30317c1ee77ef39d682d5f5a80b9
Reviewed-on: https://gerrit.libreoffice.org/85512
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry/source/keyimpl.cxx')
-rw-r--r-- | registry/source/keyimpl.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index d7baabe008da..e14a88ec2576 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -313,7 +313,7 @@ RegError ORegKey::setValue(const OUString& valueName, RegValueType vType, RegVal writeINT32(pBuffer.get()+VALUE_HEADEROFFSET, *static_cast<sal_Int32*>(value)); break; case RegValueType::STRING: - writeUtf8(pBuffer.get()+VALUE_HEADEROFFSET, static_cast<const sal_Char*>(value)); + writeUtf8(pBuffer.get()+VALUE_HEADEROFFSET, static_cast<const char*>(value)); break; case RegValueType::UNICODE: writeString(pBuffer.get()+VALUE_HEADEROFFSET, static_cast<const sal_Unicode*>(value)); @@ -398,7 +398,7 @@ RegError ORegKey::setLongListValue(const OUString& valueName, sal_Int32 const * // setStringListValue -RegError ORegKey::setStringListValue(const OUString& valueName, sal_Char** pValueList, sal_uInt32 len) +RegError ORegKey::setStringListValue(const OUString& valueName, char** pValueList, sal_uInt32 len) { OStoreStream rValue; std::unique_ptr<sal_uInt8[]> pBuffer; @@ -589,7 +589,7 @@ RegError ORegKey::getValue(const OUString& valueName, RegValue value) const readINT32(pBuffer.get(), *static_cast<sal_Int32*>(value)); break; case RegValueType::STRING: - readUtf8(pBuffer.get(), static_cast<sal_Char*>(value), valueSize); + readUtf8(pBuffer.get(), static_cast<char*>(value), valueSize); break; case RegValueType::UNICODE: readString(pBuffer.get(), static_cast<sal_Unicode*>(value), valueSize); @@ -714,7 +714,7 @@ RegError ORegKey::getLongListValue(const OUString& valueName, sal_Int32** pValue // getStringListValue -RegError ORegKey::getStringListValue(const OUString& valueName, sal_Char*** pValueList, sal_uInt32* pLen) const +RegError ORegKey::getStringListValue(const OUString& valueName, char*** pValueList, sal_uInt32* pLen) const { OStoreStream rValue; std::unique_ptr<sal_uInt8[]> pBuffer; @@ -785,19 +785,19 @@ RegError ORegKey::getStringListValue(const OUString& valueName, sal_Char*** pVal readUINT32(pBuffer.get(), len); *pLen = len; - sal_Char** pVList = static_cast<sal_Char**>(rtl_allocateZeroMemory(len * sizeof(sal_Char*))); + char** pVList = static_cast<char**>(rtl_allocateZeroMemory(len * sizeof(char*))); sal_uInt32 offset = 4; // initial 4 bytes for the size of the array; sal_uInt32 sLen = 0; - sal_Char *pValue; + char *pValue; for (sal_uInt32 i=0; i < len; i++) { readUINT32(pBuffer.get()+offset, sLen); offset += 4; - pValue = static_cast<sal_Char*>(std::malloc(sLen)); + pValue = static_cast<char*>(std::malloc(sLen)); readUtf8(pBuffer.get()+offset, pValue, sLen); pVList[i] = pValue; |