summaryrefslogtreecommitdiff
path: root/shell/source/unix/sysshell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-09 13:26:44 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-09 12:42:25 +0000
commit20c14c812ccc00692d42d294d3b8dea1774e3511 (patch)
treed48011cd869cf64069c84d1494f504f6f59b8ed1 /shell/source/unix/sysshell
parent9dc0f2b703d8fbc8698a3cf36949a981e55b68c6 (diff)
loplugin:constantparam in sfx2
Change-Id: If5d401001abb7bf3fc642d47f537b57836e6d9c5 Reviewed-on: https://gerrit.libreoffice.org/28772 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'shell/source/unix/sysshell')
-rw-r--r--shell/source/unix/sysshell/recently_used_file_handler.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx
index d6be7b63f33b..9d19de32b555 100644
--- a/shell/source/unix/sysshell/recently_used_file_handler.cxx
+++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx
@@ -305,11 +305,9 @@ namespace /* private */ {
class recent_item_writer
{
public:
- recent_item_writer(
- recently_used_file& file,
- int max_items_to_write = MAX_RECENTLY_USED_ITEMS) :
+ recent_item_writer( recently_used_file& file ) :
file_(file),
- max_items_to_write_(max_items_to_write),
+ max_items_to_write_(MAX_RECENTLY_USED_ITEMS),
items_written_(0)
{}