summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/source/uibase/inc/tblctrl.hxx1
-rw-r--r--sw/source/uibase/inc/workctrl.hxx3
-rw-r--r--sw/source/uibase/ribbar/tblctrl.cxx5
-rw-r--r--sw/source/uibase/ribbar/workctrl.cxx15
4 files changed, 0 insertions, 24 deletions
diff --git a/sw/source/uibase/inc/tblctrl.hxx b/sw/source/uibase/inc/tblctrl.hxx
index 659591b4575d..3528a343ed2b 100644
--- a/sw/source/uibase/inc/tblctrl.hxx
+++ b/sw/source/uibase/inc/tblctrl.hxx
@@ -30,7 +30,6 @@ public:
SwTableOptimizeCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SwTableOptimizeCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE;
};
diff --git a/sw/source/uibase/inc/workctrl.hxx b/sw/source/uibase/inc/workctrl.hxx
index 9f3287e75c3e..910dcb26f7e2 100644
--- a/sw/source/uibase/inc/workctrl.hxx
+++ b/sw/source/uibase/inc/workctrl.hxx
@@ -64,7 +64,6 @@ public:
SwTbxInsertCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SwTbxInsertCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE;
virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
@@ -84,7 +83,6 @@ public:
SwTbxAutoTextCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SwTbxAutoTextCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE;
virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
@@ -101,7 +99,6 @@ public:
SwTbxFieldCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SwTbxFieldCtrl();
- virtual SfxPopupWindowType GetPopupWindowType() const SAL_OVERRIDE;
virtual VclPtr<SfxPopupWindow> CreatePopupWindow() SAL_OVERRIDE;
virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
diff --git a/sw/source/uibase/ribbar/tblctrl.cxx b/sw/source/uibase/ribbar/tblctrl.cxx
index bcdc852aa382..d5927051f237 100644
--- a/sw/source/uibase/ribbar/tblctrl.cxx
+++ b/sw/source/uibase/ribbar/tblctrl.cxx
@@ -47,9 +47,4 @@ VclPtr<SfxPopupWindow> SwTableOptimizeCtrl::CreatePopupWindow()
return NULL;
}
-SfxPopupWindowType SwTableOptimizeCtrl::GetPopupWindowType() const
-{
- return SfxPopupWindowType::ONCLICK;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx
index 96a073a94620..c56f9cbdf180 100644
--- a/sw/source/uibase/ribbar/workctrl.cxx
+++ b/sw/source/uibase/ribbar/workctrl.cxx
@@ -137,11 +137,6 @@ VclPtr<SfxPopupWindow> SwTbxInsertCtrl::CreatePopupWindow()
return NULL;
}
-SfxPopupWindowType SwTbxInsertCtrl::GetPopupWindowType() const
-{
- return nLastSlotId ? SfxPopupWindowType::ONTIMEOUT : SfxPopupWindowType::ONCLICK;
-}
-
void SwTbxInsertCtrl::Select( sal_uInt16 /*nSelectModifier*/ )
{
if( nLastSlotId )
@@ -226,11 +221,6 @@ VclPtr<SfxPopupWindow> SwTbxAutoTextCtrl::CreatePopupWindow()
}
-SfxPopupWindowType SwTbxAutoTextCtrl::GetPopupWindowType() const
-{
- return SfxPopupWindowType::ONTIMEOUT;
-}
-
void SwTbxAutoTextCtrl::StateChanged( sal_uInt16,
SfxItemState,
const SfxPoolItem* pState )
@@ -323,11 +313,6 @@ VclPtr<SfxPopupWindow> SwTbxFieldCtrl::CreatePopupWindow()
return 0;
}
-SfxPopupWindowType SwTbxFieldCtrl::GetPopupWindowType() const
-{
- return SfxPopupWindowType::ONTIMEOUT;
-}
-
void SwTbxFieldCtrl::StateChanged( sal_uInt16,
SfxItemState eState,
const SfxPoolItem* pState )