configmgr/source/winreg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 5fb29ca1f9da72641d2647fca100c8b269eeb07e Author: Mike Kaganski <mike.kagan...@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.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits