[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3-desktop' - configmgr/source
Mike Kaganski
mike.kaganski at collabora.com
Wed May 9 20:58:03 UTC 2018
configmgr/source/winreg.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 5fb29ca1f9da72641d2647fca100c8b269eeb07e
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date: Wed May 9 17:34:12 2018 +0100
Fix build after 5e71db87d491ac6782655dd36f23624a4eb81fe8
Change-Id: I39e39cbaa763859039ca97922dea68770d0dce1b
Reviewed-on: https://gerrit.libreoffice.org/54043
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/configmgr/source/winreg.cxx b/configmgr/source/winreg.cxx
index c6f7eb841731..c131cbaccddd 100644
--- a/configmgr/source/winreg.cxx
+++ b/configmgr/source/winreg.cxx
@@ -178,9 +178,9 @@ void dumpWindowsRegistryKey(HKEY hKey, OUString const & aKeyName, TempFile &aFil
if (*reinterpret_cast<DWORD*>(pValue) == 1)
bFinal = true;
}
- else if (!wcscmp(pValueName.get(), L"Nil"))
+ else if (!wcscmp(pValueName, L"Nil"))
{
- if (*reinterpret_cast<DWORD*>(pValue.get()) == 1)
+ if (*reinterpret_cast<DWORD*>(pValue) == 1)
bNil = true;
}
else if (!wcscmp(pValueName, L"External"))
@@ -259,7 +259,7 @@ void dumpWindowsRegistryKey(HKEY hKey, OUString const & aKeyName, TempFile &aFil
writeData(aFileHandle, "><value");
if (aValue.isEmpty() && bNil)
{
- aFileHandle.writeString(" xsi:nil=\"true\"/");
+ writeData(aFileHandle, " xsi:nil=\"true\"/");
}
else if (bExternal)
{
More information about the Libreoffice-commits
mailing list