diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-04-21 20:14:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-22 09:42:11 +0200 |
commit | 0f52706d8f1aef8b48236c60065f6ef0714987c0 (patch) | |
tree | b8e37dbdecacfdc65464ed0ffdb08a50bfc2d0b0 /include | |
parent | 92d026269df0d6eb7a20000aaa5502c0bf2b495e (diff) |
pEntry argument can be const
Change-Id: I57357fabbbc2e10a6a82031320e2a65d78383507
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114455
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/toolkit/svtabbx.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/toolkit/svtabbx.hxx b/include/vcl/toolkit/svtabbx.hxx index 480221ce0b09..e85fd85a61f1 100644 --- a/include/vcl/toolkit/svtabbx.hxx +++ b/include/vcl/toolkit/svtabbx.hxx @@ -81,7 +81,7 @@ public: sal_uLong nPos = TREELIST_APPEND, sal_uInt16 nCol = 0xffff, void* pUserData = nullptr ); virtual OUString GetEntryText( SvTreeListEntry* pEntry ) const override; - static OUString GetEntryText( SvTreeListEntry*, sal_uInt16 nCol ); + static OUString GetEntryText( const SvTreeListEntry*, sal_uInt16 nCol ); OUString GetEntryText( sal_uLong nPos, sal_uInt16 nCol = 0xffff ) const; using SvTreeListBox::SetEntryText; OUString GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const; |