summaryrefslogtreecommitdiff
path: root/sw/source/uibase/ribbar
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/source/uibase/ribbar
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/source/uibase/ribbar')
-rw-r--r--sw/source/uibase/ribbar/tblctrl.cxx5
-rw-r--r--sw/source/uibase/ribbar/workctrl.cxx15
2 files changed, 0 insertions, 20 deletions
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 )