diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-05-09 17:34:12 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-05-09 22:57:41 +0200 |
commit | 5fb29ca1f9da72641d2647fca100c8b269eeb07e (patch) | |
tree | d961b3e40eee5b88335ff37d16466227488ccc28 | |
parent | 5e71db87d491ac6782655dd36f23624a4eb81fe8 (diff) |
Fix build after 5e71db87d491ac6782655dd36f23624a4eb81fe8
Change-Id: I39e39cbaa763859039ca97922dea68770d0dce1b
Reviewed-on: https://gerrit.libreoffice.org/54043
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | configmgr/source/winreg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |