summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2015-07-05 01:31:02 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2015-07-05 11:50:16 +0000
commitd6794cf0d590dc504fb9245a2930a8433dfe569e (patch)
tree56cf86e4c15ae735d53a7af83d7fcf1dc071483b /basctl
parent10008d6ecd076006ca9f3c178baabc9e0d01c485 (diff)
SfxToolBoxControl::GetPopupWindowType seems unused, kill it
together with SfxPopupWindowType enum. Change-Id: Ia0b2388b34c96bb044f1bfcc7e89b33ac37d5f95 Reviewed-on: https://gerrit.libreoffice.org/16766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/tbxctl.cxx12
-rw-r--r--basctl/source/basicide/tbxctl.hxx1
2 files changed, 0 insertions, 13 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index 328ea08e3f27..8e193add4a82 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -55,18 +55,6 @@ TbxControls::TbxControls( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
rTbx.Invalidate();
}
-/*************************************************************************
-|*
-|* If you want to create a pop-up window
-|*
-\************************************************************************/
-SfxPopupWindowType TbxControls::GetPopupWindowType() const
-{
- if( nLastSlot == USHRT_MAX )
- return SfxPopupWindowType::ONCLICK;
- return SfxPopupWindowType::ONTIMEOUT;
-}
-
void TbxControls::StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState )
{
diff --git a/basctl/source/basicide/tbxctl.hxx b/basctl/source/basicide/tbxctl.hxx
index d9152a07211b..2eabe8cc6101 100644
--- a/basctl/source/basicide/tbxctl.hxx
+++ b/basctl/source/basicide/tbxctl.hxx
@@ -45,7 +45,6 @@ public:
TbxControls(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~TbxControls() {}
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE;
using SfxToolBoxControl::Select;