diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-13 18:07:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-13 18:08:07 +0100 |
commit | 01f3186c4b8357e7a3784e0249aaee1af381f609 (patch) | |
tree | f42a01743b66e3b81eaec17b6e41115d99c0900d /cui | |
parent | b23867abd8427da361dfa5edb9b41fbbd064ae10 (diff) |
SvTreeListBox::ExpandingHdl should return bool
Change-Id: I39a854910299ab2e7c64beabda381bb9f0bd2891
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 6339593cc8e9..b47fa2e4fa51 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -340,9 +340,9 @@ void SFTreeListBox:: RequestSubEntries( SvTreeListEntry* pRootEntry, Reference< } } -long SFTreeListBox::ExpandingHdl() +bool SFTreeListBox::ExpandingHdl() { - return sal_True; + return true; } void SFTreeListBox::ExpandAllTrees() diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index bbf35c0eadb6..394462f4e4d9 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -73,7 +73,7 @@ protected: void ExpandTree( SvTreeListEntry* pRootEntry ); virtual void RequestingChildren( SvTreeListEntry* pParent ); virtual void ExpandedHdl(); - virtual long ExpandingHdl(); + virtual bool ExpandingHdl(); public: void Init( const OUString& language ); void RequestSubEntries( SvTreeListEntry* pRootEntry, ::com::sun::star::uno::Reference< ::com::sun::star::script::browse::XBrowseNode >& node, |