summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-rw-r--r--sc/source/ui/cctrl/tbinsert.cxx5
-rw-r--r--sc/source/ui/inc/tbinsert.hxx1
2 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/cctrl/tbinsert.cxx b/sc/source/ui/cctrl/tbinsert.cxx
index 8b3469a6f89e..2408618c4d3d 100644
--- a/sc/source/ui/cctrl/tbinsert.cxx
+++ b/sc/source/ui/cctrl/tbinsert.cxx
@@ -93,11 +93,6 @@ VclPtr<SfxPopupWindow> ScTbxInsertCtrl::CreatePopupWindow()
return NULL;
}
-SfxPopupWindowType ScTbxInsertCtrl::GetPopupWindowType() const
-{
- return nLastSlotId ? SfxPopupWindowType::ONTIMEOUT : SfxPopupWindowType::ONCLICK;
-}
-
void ScTbxInsertCtrl::Select( bool /* bMod1 */ )
{
SfxViewShell* pCurSh( SfxViewShell::Current() );
diff --git a/sc/source/ui/inc/tbinsert.hxx b/sc/source/ui/inc/tbinsert.hxx
index dda701868ab2..71bdbdce4a30 100644
--- a/sc/source/ui/inc/tbinsert.hxx
+++ b/sc/source/ui/inc/tbinsert.hxx
@@ -35,7 +35,6 @@ public:
ScTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rBox );
virtual ~ScTbxInsertCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE;
virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,