summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2020-09-11 22:05:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-12 13:36:42 +0200
commit04203a26757d26814a18c3251d1a97f6ded64a62 (patch)
tree80962f43d3b46e8670ad49068a1a6e8459c22f39 /include/registry
parent05d5062dca095f2e53de26db41edeb0b1279138b (diff)
Replace remaining uses of sal_Char
+ remove sal_Char check on compilerplugins Change-Id: I0f7da14e620f0c3d031d038aa8345ba4080fb3e9 Change-Id: Ia6dba4f27b47bc9e0c89159182ad80a5aee17166 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102499 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index c71e7dc804c4..76eb45e2648e 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -53,12 +53,12 @@ struct Registry_Api
RegError (REGISTRY_CALLTYPE *closeKey) (RegKeyHandle);
RegError (REGISTRY_CALLTYPE *setValue) (RegKeyHandle, rtl_uString*, RegValueType, RegValue, sal_uInt32);
RegError (REGISTRY_CALLTYPE *setLongListValue) (RegKeyHandle, rtl_uString*, sal_Int32 const *, sal_uInt32);
- RegError (REGISTRY_CALLTYPE *setStringListValue) (RegKeyHandle, rtl_uString*, sal_Char**, sal_uInt32);
+ RegError (REGISTRY_CALLTYPE *setStringListValue) (RegKeyHandle, rtl_uString*, char**, sal_uInt32);
RegError (REGISTRY_CALLTYPE *setUnicodeListValue)(RegKeyHandle, rtl_uString*, sal_Unicode**, sal_uInt32);
RegError (REGISTRY_CALLTYPE *getValueInfo) (RegKeyHandle, rtl_uString*, RegValueType*, sal_uInt32*);
RegError (REGISTRY_CALLTYPE *getValue) (RegKeyHandle, rtl_uString*, RegValue);
RegError (REGISTRY_CALLTYPE *getLongListValue) (RegKeyHandle, rtl_uString*, sal_Int32**, sal_uInt32*);
- RegError (REGISTRY_CALLTYPE *getStringListValue) (RegKeyHandle, rtl_uString*, sal_Char***, sal_uInt32*);
+ RegError (REGISTRY_CALLTYPE *getStringListValue) (RegKeyHandle, rtl_uString*, char***, sal_uInt32*);
RegError (REGISTRY_CALLTYPE *getUnicodeListValue)(RegKeyHandle, rtl_uString*, sal_Unicode***, sal_uInt32*);
RegError (REGISTRY_CALLTYPE *freeValueList) (RegValueType, RegValue, sal_uInt32);
RegError (REGISTRY_CALLTYPE *getResolvedKeyName) (RegKeyHandle, rtl_uString*, sal_Bool, rtl_uString**);
@@ -455,12 +455,12 @@ public:
@param keyName specifies the name of the key which value will be set.
If keyName is an empty string, the value will be set for the key
specified by hKey.
- @param pValueList points to an array of sal_Char* containing the data for the value.
+ @param pValueList points to an array of char* containing the data for the value.
@param len specifies the length of the list (the array referenced by pValueList).
@return RegError::NO_ERROR if succeeds else an error code.
*/
inline RegError setStringListValue(const OUString& keyName,
- sal_Char** pValueList,
+ char** pValueList,
sal_uInt32 len);
/** sets a unicode string list value of a key.
@@ -520,7 +520,7 @@ public:
@return RegError::NO_ERROR if succeeds else an error code.
*/
inline RegError getStringListValue(const OUString& keyName,
- RegistryValueList<sal_Char*>& rValueList);
+ RegistryValueList<char*>& rValueList);
/** gets a unicode value of a key.
@@ -834,7 +834,7 @@ inline RegError RegistryKey::setLongListValue(const OUString& keyName,
}
inline RegError RegistryKey::setStringListValue(const OUString& keyName,
- sal_Char** pValueList,
+ char** pValueList,
sal_uInt32 len)
{
if (m_registry.isValid())
@@ -898,12 +898,12 @@ inline RegError RegistryKey::getLongListValue(const OUString& keyName,
}
inline RegError RegistryKey::getStringListValue(const OUString& keyName,
- RegistryValueList<sal_Char*>& rValueList)
+ RegistryValueList<char*>& rValueList)
{
if (m_registry.isValid())
{
RegError ret = RegError::NO_ERROR;
- sal_Char** pValueList;
+ char** pValueList;
sal_uInt32 length;
ret = m_registry.m_pApi->getStringListValue(m_hImpl, keyName.pData,
&pValueList, &length);