summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-03-09 16:32:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-03-09 16:32:57 +0100
commitc7ad399a535d21cc73f0e99fbea361e559b34d4f (patch)
treee1eaa5ed7b08d9dff28b26bf95eb8f1795262eb5 /configmgr
parent347de4170751f99d92fb4f014586cd606e30887f (diff)
Line breaks in registrymodifications.xcu
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/writemodfile.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 8683302db409..272e739e393f 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -509,7 +509,7 @@ void writeModifications(
break;
}
}
- writeData(handle, RTL_CONSTASCII_STRINGPARAM("</item>"));
+ writeData(handle, RTL_CONSTASCII_STRINGPARAM("</item>\n"));
} else {
assert(node.is());
rtl::OUString pathRep(
@@ -573,10 +573,10 @@ void writeModFile(
writeData(
tmp.handle,
RTL_CONSTASCII_STRINGPARAM(
- "<?xml version=\"1.0\" encoding=\"UTF-8\"?><oor:items"
+ "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<oor:items"
" xmlns:oor=\"http://openoffice.org/2001/registry\""
" xmlns:xs=\"http://www.w3.org/2001/XMLSchema\""
- " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">"));
+ " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n"));
//TODO: Do not write back information about those removed items that did not
// come from the .xcs/.xcu files, anyway (but had been added dynamically
// instead):
@@ -590,7 +590,7 @@ void writeModFile(
Data::findNode(Data::NO_LAYER, data.getComponents(), j->first),
j->second);
}
- writeData(tmp.handle, RTL_CONSTASCII_STRINGPARAM("</oor:items>"));
+ writeData(tmp.handle, RTL_CONSTASCII_STRINGPARAM("</oor:items>\n"));
oslFileError e = osl_closeFile(tmp.handle);
tmp.closed = true;
if (e != osl_File_E_None) {