[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - include/svtools

Lionel Elie Mamane lionel at mamane.lu
Thu Aug 8 10:19:52 PDT 2013


 include/svtools/treelistbox.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a5e941204a9bacf1a695423ab0518cea4a493f2
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Thu Aug 8 18:42:40 2013 +0200

    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/5321
    Reviewed-by: Kohei Yoshida <kohei.yoshida at suse.de>
    Tested-by: Kohei Yoshida <kohei.yoshida at suse.de>

diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index 305cfbe..2a1054f 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -714,7 +714,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 );
 


More information about the Libreoffice-commits mailing list