diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-03-06 08:38:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-06 13:07:58 +0100 |
commit | 4474d167e1b69ab9ca8a97c636f0400a5084641a (patch) | |
tree | 2d29b5167785fa7e53bc3aa4c2686bf718106658 /include/svx | |
parent | 43436ef43132eb3ee6c10c0fe50971062677682a (diff) |
drop StyleSettings::GetColorValueSetMaximumRowCount
pull it into the only place it is used.
Change-Id: I5923f1599e033d893cebea606138c53ab2cd02fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112045
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/SvxColorValueSet.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx index 82792acf64f4..dd8f93348153 100644 --- a/include/svx/SvxColorValueSet.hxx +++ b/include/svx/SvxColorValueSet.hxx @@ -32,7 +32,9 @@ public: virtual void Resize() override; - static sal_uInt32 getMaxRowCount(); + /* Maximum row/line count for the ColorValueSet control. If more lines would be needed, a scrollbar will + be used. */ + static constexpr sal_uInt32 getMaxRowCount() { return 10; } static sal_uInt32 getEntryEdgeLength(); static sal_uInt32 getColumnCount(); |