diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-08-08 18:42:40 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.de> | 2013-08-08 17:18:26 +0000 |
commit | 96c12d1ad73afa7ca18746c62cf0f4edc9a50b99 (patch) | |
tree | 652f840a314e3f2bc7638468e3345cfa02af6bd5 | |
parent | 4bf01389def5dc99a9f64ab551079e95d90501a6 (diff) |
fdo#63539 make SvTreeListBox::Select virtual
SvLBox was merged with SvTreeListBox;
SvLBox had a virtual Select() and some derived classes override it.
E.g. dbaui::DbaIndexList.
Change-Id: I82b3718e72db5d320704e1e2871de86abc686441
Reviewed-on: https://gerrit.libreoffice.org/5320
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
-rw-r--r-- | svtools/inc/svtools/treelistbox.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx index d2590889ac6f..cdee931ee7b6 100644 --- a/svtools/inc/svtools/treelistbox.hxx +++ b/svtools/inc/svtools/treelistbox.hxx @@ -716,7 +716,7 @@ public: sal_Bool Expand( SvTreeListEntry* pParent ); sal_Bool Collapse( SvTreeListEntry* pParent ); - sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True ); + virtual sal_Bool Select( SvTreeListEntry* pEntry, sal_Bool bSelect=sal_True ); sal_uLong SelectChildren( SvTreeListEntry* pParent, sal_Bool bSelect ); virtual void SelectAll( sal_Bool bSelect, sal_Bool bPaint = sal_True ); |