summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-08 15:38:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-11 06:05:32 +0000
commit3716b144265dda695d7dd447dbe692a3f84c588e (patch)
tree6b8d8751e306841102f6808fbb5403dac193c35c /shell
parentb796b24793827583550279d40bfe565c66ad284d (diff)
loplugin:constantparam
Change-Id: Ia06b9b189033b9409d7a59a211866f66a0614886 Reviewed-on: https://gerrit.libreoffice.org/28016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/sysshell/recently_used_file_handler.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx
index eda1f1a5c2de..d6be7b63f33b 100644
--- a/shell/source/unix/sysshell/recently_used_file_handler.cxx
+++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx
@@ -72,11 +72,10 @@ namespace /* private */ {
recently_used_item(
const string_t& uri,
const string_t& mime_type,
- const string_container_t& groups,
- bool is_private = false) :
+ const string_container_t& groups) :
uri_(uri),
mime_type_(mime_type),
- is_private_(is_private),
+ is_private_(false),
groups_(groups)
{
timestamp_ = time(nullptr);