diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-11-01 11:19:24 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-11-01 10:57:10 +0100 |
commit | 5a5953b90cd2ba5eaeddc9ba450e3f3ac9dd771a (patch) | |
tree | 440431093df3cadb83ad234f01c22e1acf40252c /configmgr | |
parent | 14d9b07fb5d5895b056fbf8dd47c3b326f200f55 (diff) |
Winreg configuration layer: use writeAttributeValue for oox:external
Change-Id: Ib15250c738f98b26adf9745d453a8d22189b271e
Reviewed-on: https://gerrit.libreoffice.org/44153
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/winreg.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configmgr/source/winreg.cxx b/configmgr/source/winreg.cxx index 81fc4b43ea0d..ea24c0ebacb4 100644 --- a/configmgr/source/winreg.cxx +++ b/configmgr/source/winreg.cxx @@ -226,17 +226,17 @@ void dumpWindowsRegistryKey(HKEY hKey, OUString const & aKeyName, TempFile &aFil aFileHandle.writeString(" oor:finalized=\"true\""); aFileHandle.writeString("><value"); if (bExternal) + { aFileHandle.writeString(" oor:external=\""); - else - aFileHandle.writeString(">"); - - writeValueContent(aFileHandle, aValue); - - if (bExternal) + writeAttributeValue(aFileHandle, aValue); aFileHandle.writeString("\"/"); + } else + { + aFileHandle.writeString(">"); + writeValueContent(aFileHandle, aValue); aFileHandle.writeString("</value"); - + } aFileHandle.writeString("></prop>"); for(; nCloseNode > 0; nCloseNode--) aFileHandle.writeString("</node>"); |