diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-13 21:30:25 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-13 21:34:17 +0100 |
commit | 06ecf7d2aebe64226142ee27c2512351960f8bb1 (patch) | |
tree | 5bcdc8fad264ee9fd2855d3b8d1cf9d1d751f8c7 /include/svtools | |
parent | 0811de12ee6727bbb9d4265217833ba02301eed8 (diff) |
tdf#91125 - unwind horrendous SvTreeListBox drag&drop code.
This removes a horrible mess of shoving various process pointers into
byte arrays and (potentially) pushing them across a process boundary
in a gross fashion. Killed the SvLBoxDDInfo struct, and its many
un-used members. Instead use the existing (also non-ideal) global
variable to track the relevant state.
Change-Id: I0b694bd530e7019042d22e46db831b5a4aae0e23
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/treelistbox.hxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 9e5333619d5b..5babd96909d1 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -587,6 +587,7 @@ protected: protected: + void SetupDragOrigin(); void EditItemText( SvTreeListEntry* pEntry, SvLBoxString* pItem, const Selection& ); void EditedText(const OUString&); @@ -817,15 +818,6 @@ public: }; #define SV_LBOX_DD_FORMAT "SV_LBOX_DD_FORMAT" -struct SvLBoxDDInfo -{ - Application* pApp; - VclPtr<SvTreeListBox> pSource; - SvTreeListEntry* pDDStartEntry; - // Relative position in the Entry at DragBeginn (IconView) - long nMouseRelX,nMouseRelY; - sal_uLong nRes1,nRes2,nRes3,nRes4; -}; class SvInplaceEdit2 { |