diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 17:04:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 09:18:33 +0100 |
commit | 380d4600d73a2f57a93d841d5fdfdd0a042d5d39 (patch) | |
tree | 94c4326f0ac9e3197da5b7b03450e27f23b9a471 /include | |
parent | WaE: -Werror=uninitialized (diff) | |
download | core-380d4600d73a2f57a93d841d5fdfdd0a042d5d39.tar.gz core-380d4600d73a2f57a93d841d5fdfdd0a042d5d39.zip |
use TriState instead of sal_Bool as there's three possibilities
Change-Id: If24d4cec9ef4369f20419fe70de7392614a35316
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/treelistbox.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index a8c072e3b343..188cfb67f0a6 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -473,15 +473,15 @@ public: virtual SvTreeListEntry* CloneEntry( SvTreeListEntry* pSource ); virtual SvTreeListEntry* CreateEntry() const; // To create new Entries - // Return value: sal_True == Ok, sal_False == Cancel, 2==some hack - virtual sal_Bool NotifyMoving( + // Return value: TRISTATE_TRUE == Ok, TRISTATE_FALSE == Cancel, TRISTATE_INDET == Ok and Make visible moved entry + virtual TriState NotifyMoving( SvTreeListEntry* pTarget, // D'n'D DropPosition in this->GetModel() SvTreeListEntry* pEntry, // Entry to be moved from GetSourceListBox()->GetModel() SvTreeListEntry*& rpNewParent, // New TargetParent sal_uLong& rNewChildPos); // The TargetParent's position in Childlist - // Return value: sal_True == Ok, sal_False == Cancel, 2==some hack - virtual sal_Bool NotifyCopying( + // Return value: TRISTATE_TRUE == Ok, TRISTATE_FALSE == Cancel, TRISTATE_INDET == Ok and Make visible moved entry + virtual TriState NotifyCopying( SvTreeListEntry* pTarget, // D'n'D DropPosition in this->GetModel() SvTreeListEntry* pEntry, // Entry to be copied from GetSourceListBox()->GetModel() SvTreeListEntry*& rpNewParent, // New TargetParent |