From 069d71b72566a0b8f234304d3bd4511ee86b6c60 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 Jul 2016 10:40:50 +0200 Subject: loplugin:countusersofdefaultparams in shell..starmath Change-Id: I553d1b031b8d261a1caa8b77a8d687af21a6f8d6 Reviewed-on: https://gerrit.libreoffice.org/27672 Tested-by: Jenkins Reviewed-by: Noel Grandin --- shell/source/unix/sysshell/recently_used_file_handler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx index cf399b1770b0..eda1f1a5c2de 100644 --- a/shell/source/unix/sysshell/recently_used_file_handler.cxx +++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx @@ -167,7 +167,7 @@ namespace /* private */ { void write_xml_tag(const string_t& name, const string_t& value, const recently_used_file& file) const { - write_xml_start_tag(name, file); + write_xml_start_tag(name, file, false); OString escaped = escape_content (value); file.write(escaped.getStr(), escaped.getLength()); write_xml_end_tag(name, file); @@ -180,7 +180,7 @@ namespace /* private */ { file.write("/>\n", 3); } - void write_xml_start_tag(const string_t& name, const recently_used_file& file, bool linefeed = false) const + void write_xml_start_tag(const string_t& name, const recently_used_file& file, bool linefeed) const { file.write("<", 1); file.write(name.c_str(), name.length()); -- cgit