Kaydet (Commit) 57f10ec5 authored tarafından Andras Timar's avatar Andras Timar

fdo#74489 replace '\n' to ' ' in fields (e.g. multiline headings)

Change-Id: I1ce125e459dfcf22adef85efac344ceb320812a2
üst 295a55b6
...@@ -34,7 +34,7 @@ namespace ...@@ -34,7 +34,7 @@ namespace
OUString removeControlChars(OUString sIn) OUString removeControlChars(OUString sIn)
{ {
OUStringBuffer aBuf(sIn); OUStringBuffer aBuf(sIn.replace('\n', ' '));
sal_Int32 nLen = aBuf.getLength(); sal_Int32 nLen = aBuf.getLength();
for (sal_Int32 i = 0; i < nLen; ++i) for (sal_Int32 i = 0; i < nLen; ++i)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment