diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-28 15:27:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-29 06:42:30 +0000 |
commit | 5a725d1fde7381ef9c02afcb639235a11e52182c (patch) | |
tree | c1dfea787afb28c43be74eb981976e858550ccd1 /sc/source/ui/dialogs/searchresults.cxx | |
parent | 2729994bc519597db205aeeb4b2242a45c57712f (diff) |
loplugin:singlevalfields
Change-Id: I7f05903aaab9b0b274358243d680d0c30694ae61
Reviewed-on: https://gerrit.libreoffice.org/35804
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/dialogs/searchresults.cxx')
-rw-r--r-- | sc/source/ui/dialogs/searchresults.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx index 897c8ecae6c5..111e39c98f7e 100644 --- a/sc/source/ui/dialogs/searchresults.cxx +++ b/sc/source/ui/dialogs/searchresults.cxx @@ -57,7 +57,7 @@ namespace { class ListWrapper { size_t mnCount; - const size_t mnMaximum; + static const size_t mnMaximum = 1000; OUStringBuffer maName; VclPtr<FixedText> mpLabel; VclPtr<SvSimpleTable> mpList; @@ -65,7 +65,6 @@ namespace ListWrapper(const VclPtr<SvSimpleTable> &pList, const VclPtr<FixedText> &pLabel) : mnCount(0), - mnMaximum(1000), mpLabel(pLabel), mpList(pList) { |