summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-04 10:43:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-06-05 00:03:45 +0200
commit43c7f1944b47ca06234f1b37a24fe0f9ec659111 (patch)
tree2a59dde0e4829cd3b3518fee864b82efa281cf68 /include
parent214077401a736d49e9c9c6e8f1dd348725455fd7 (diff)
make [g|s]et_sort_indicator column argument required
which all users already do, and drop unused auto-pick of default text column if not set Change-Id: Ibf8d8fb8295ebd10d89b2096b85dd08314aff3f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95503 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index d8d6b1a0492d..fedf414432c3 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -1104,8 +1104,8 @@ public:
virtual void set_sort_order(bool bAscending) = 0;
// TRUE ascending, FALSE, descending, INDET, neither (off)
- virtual void set_sort_indicator(TriState eState, int nColumn = -1) = 0;
- virtual TriState get_sort_indicator(int nColumn = -1) const = 0;
+ virtual void set_sort_indicator(TriState eState, int nColumn) = 0;
+ virtual TriState get_sort_indicator(int nColumn) const = 0;
virtual int get_sort_column() const = 0;
virtual void set_sort_column(int nColumn) = 0;