diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-27 21:28:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-28 10:00:47 +0100 |
commit | f4873d0e7972ec3ee646aa0d847c626ebe7d857f (patch) | |
tree | c830fd586c7430042878d5fb48d37a0b051a6e90 /include/vcl | |
parent | 2b4f2cdd3deb9b131ea19c91ae50e2c34f35754c (diff) |
use COL_AUTO to let set_font_color reset to automatic text color
Change-Id: I5761081fde66da3dc8071709e53b2014f10b5916
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89651
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/weld.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index a6d9978850c5..fa6594089de9 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -848,7 +848,7 @@ public: virtual bool get_text_emphasis(int row, int col) const = 0; virtual void swap(int pos1, int pos2) = 0; virtual std::vector<int> get_selected_rows() const = 0; - virtual void set_font_color(int pos, const Color& rColor) const = 0; + virtual void set_font_color(int pos, const Color& rColor) = 0; virtual void scroll_to_row(int pos) = 0; virtual bool is_selected(int pos) const = 0; virtual int get_cursor_index() const = 0; @@ -932,7 +932,7 @@ public: virtual void set_image(const TreeIter& rIter, const css::uno::Reference<css::graphic::XGraphic>& rImage, int col = -1) = 0; - virtual void set_font_color(const TreeIter& rIter, const Color& rColor) const = 0; + virtual void set_font_color(const TreeIter& rIter, const Color& rColor) = 0; virtual void scroll_to_row(const TreeIter& rIter) = 0; virtual bool is_selected(const TreeIter& rIter) const = 0; |