shell/source/win32/spsupp/registrar.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit a63087f58090418b6a7c8b046698b372ddc903cf Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Fri Nov 27 10:52:12 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Nov 27 13:19:24 2020 +0100 RegCreateKeyExW etc. return LSTATUS Change-Id: I78ebfd3e9eec9437ee405e99e2bcb96c53b1b84b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106728 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/shell/source/win32/spsupp/registrar.cxx b/shell/source/win32/spsupp/registrar.cxx index 008c2ac59c82..1d647f3a556c 100644 --- a/shell/source/win32/spsupp/registrar.cxx +++ b/shell/source/win32/spsupp/registrar.cxx @@ -16,7 +16,7 @@ namespace { HRESULT RegRead(HKEY hRootKey, const wchar_t* subKey, const wchar_t* valName, wchar_t* valData, size_t cchData) { HKEY hKey; - long iRetVal = RegCreateKeyExW( + LSTATUS iRetVal = RegCreateKeyExW( hRootKey, subKey, 0, @@ -43,7 +43,7 @@ namespace { HRESULT RegWrite(HKEY hRootKey, const wchar_t* subKey, const wchar_t* valName, const wchar_t* valData, HKEY *hKeyResult = nullptr) { HKEY hKey; - long iRetVal = RegCreateKeyExW( + LSTATUS iRetVal = RegCreateKeyExW( hRootKey, subKey, 0, @@ -72,7 +72,7 @@ namespace { HRESULT RegDel(HKEY hRootKey, const wchar_t* subKey) { - long iRetVal = RegDeleteKeyW(hRootKey, subKey); + LSTATUS iRetVal = RegDeleteKeyW(hRootKey, subKey); return HRESULT_FROM_WIN32(iRetVal); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits