Kaydet (Commit) 1a6a2c8d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

OUString::replaceAt() does not replace in-place

Showed up as a warning: "ignoring return value of function declared with
warn_unused_result attribute". Please, use --enable-werror.

Change-Id: I783db186f0525df528174276958cce04ab9d44e8
üst dba1bb24
......@@ -207,7 +207,7 @@ static OUString lcl_ConvertTabsToSpaces( OUString sLine )
}
// Not 4 blanks, but on 4th TabPos:
const sal_Int32 nPadLen = 4 - (nPos % 4);
sLine.replaceAt(nPos, 1, OUString(aPadSpaces, nPadLen));
sLine = sLine.replaceAt(nPos, 1, OUString(aPadSpaces, nPadLen));
nPos += nPadLen;
}
}
......
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