summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-13 18:07:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-13 18:08:07 +0100
commit01f3186c4b8357e7a3784e0249aaee1af381f609 (patch)
treef42a01743b66e3b81eaec17b6e41115d99c0900d /svtools
parentb23867abd8427da361dfa5edb9b41fbbd064ae10 (diff)
SvTreeListBox::ExpandingHdl should return bool
Change-Id: I39a854910299ab2e7c64beabda381bb9f0bd2891
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 018fcbde7d29..139975752544 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -504,10 +504,10 @@ sal_uLong SvTreeListBox::Insert( SvTreeListEntry* pEntry,sal_uLong nRootPos )
return nInsPos;
}
-long SvTreeListBox::ExpandingHdl()
+bool SvTreeListBox::ExpandingHdl()
{
DBG_CHKTHIS(SvTreeListBox,0);
- return aExpandingHdl.IsSet() ? aExpandingHdl.Call( this ) : 1;
+ return !aExpandingHdl.IsSet() || aExpandingHdl.Call( this );
}
void SvTreeListBox::ExpandedHdl()