summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/documentbuilder.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:00:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:00:42 +0200
commitd57a33520003ef6f88277dd4ea57cf662b10aac5 (patch)
tree1cb1e74cb770613154e4e4570f0282b9749200e1 /unoxml/source/dom/documentbuilder.cxx
parentbcba4102b47b69527dc85caae3b3499ccc437870 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Iddea2a6462b52e39aab31e96fbc83836cf157e27
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index e3fc29b0b840..a5a1bb5ec117 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -176,9 +176,9 @@ namespace DOM
{
OUStringBuffer buf;
buf.appendAscii(ctxt->lastError.message);
- buf.appendAscii("Line: ");
+ buf.append("Line: ");
buf.append(static_cast<sal_Int32>(ctxt->lastError.line));
- buf.appendAscii("\nColumn: ");
+ buf.append("\nColumn: ");
buf.append(static_cast<sal_Int32>(ctxt->lastError.int2));
OUString msg = buf.makeStringAndClear();
return msg;