summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-14 15:26:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-14 15:26:43 +0100
commit62b50cb69cbf2cb6b99da3b6ff78435af4927b77 (patch)
treebc6e7b67f11a31a63a23f7a8ebddd35624369486 /include
parentb20f10fc9fe6ec76e057b399bf42bbb0e3013a87 (diff)
ToolBox: Remove dead drag'n'drop "customization" support
There was support for an MOD2+drag operation in ToolBox, apparently intended to allow customization by re-arranging items. However, in ImplTBDragMgr::EndDragging that operation would always have ended in doing nothing: Ever since at least 8ab086b6cc054501bfbf7ef6fa509c393691e860 "initial import", what happened was a call to virtual ToolBox::Customize, but which had an empty body and wasn't overridden anywhere (and has since been cleaned away over a series of commits). Change-Id: I8c5962d7b29506dc7dc8d803f49847f30fb93ea1
Diffstat (limited to 'include')
-rw-r--r--include/vcl/toolbox.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 17c31cbda733..864f3ab13d7a 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -132,7 +132,6 @@ private:
ImplToolItems::size_type mnVisLines; // number of visible lines (for scrolling)
ImplToolItems::size_type mnFloatLines; // number of lines during floating mode
ImplToolItems::size_type mnDockLines;
- sal_uInt16 mnConfigItem;
sal_uInt16 mnMouseClicks;
sal_uInt16 mnMouseModifier;
bool mbDrag:1,
@@ -255,7 +254,6 @@ public:
SAL_DLLPRIVATE ImplToolItems::size_type ImplCalcLines( long nToolSize ) const;
SAL_DLLPRIVATE sal_uInt16 ImplTestLineSize( const Point& rPos ) const;
SAL_DLLPRIVATE void ImplLineSizing( const Point& rPos, Rectangle& rRect, sal_uInt16 nLineMode );
- SAL_DLLPRIVATE sal_uInt16 ImplFindItemPos( const Point& rPos ) const;
static SAL_DLLPRIVATE ImplToolItems::size_type ImplFindItemPos( const ImplToolItem* pItem, const ImplToolItems& rList );
SAL_DLLPRIVATE void ImplDrawMenuButton(vcl::RenderContext& rRenderContext, bool bHighlight);
SAL_DLLPRIVATE void ImplDrawButton(vcl::RenderContext& rRenderContext, const Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bEnabled, bool bIsWindow);