summaryrefslogtreecommitdiff
path: root/sfx2/source/menu/virtmenu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/menu/virtmenu.cxx')
-rw-r--r--sfx2/source/menu/virtmenu.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index f356b7cde568..bf0c2c5113b7 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -108,7 +108,6 @@ void SfxMenuImageControl_Impl::Update()
}
-
static Image RetrieveAddOnImage( Reference< css::frame::XFrame >& rFrame,
const OUString& aImageId,
const OUString& aURL,
@@ -132,7 +131,6 @@ static Image RetrieveAddOnImage( Reference< css::frame::XFrame >& rFrame,
}
-
/* This helper function checks whether a Slot-id in the current application
status is visible or not. This relates to the application status to see
if the OLE server application exist or not.
@@ -151,7 +149,6 @@ bool IsItemHidden_Impl( sal_uInt16 nItemId, bool bOleServer, bool bMac )
}
-
void SfxVirtualMenu::Construct_Impl()
{
pSVMenu->SetHighlightHdl( LINK(this, SfxVirtualMenu, Highlight) );
@@ -164,7 +161,6 @@ void SfxVirtualMenu::Construct_Impl()
}
-
SfxVirtualMenu::SfxVirtualMenu( sal_uInt16 nOwnId,
SfxVirtualMenu* pOwnParent, Menu& rMenu, bool bWithHelp,
SfxBindings &rBindings, bool bOLEServer, bool bRes, bool bIsAddonMenu ):
@@ -195,7 +191,6 @@ SfxVirtualMenu::SfxVirtualMenu( sal_uInt16 nOwnId,
}
-
// creates a virtual menu from a StarView MenuBar or PopupMenu
SfxVirtualMenu::SfxVirtualMenu( Menu *pStarViewMenu, bool bWithHelp,
@@ -228,7 +223,6 @@ SfxVirtualMenu::SfxVirtualMenu( Menu *pStarViewMenu, bool bWithHelp,
}
-
/* The destructor of the class SfxVirtualMenu releases bounded items and
the associated StarView-PopupMenu is released from its parent.
If it is related to the Pickmenu or the MDI-menu, it is unregistered here.
@@ -480,7 +474,6 @@ void SfxVirtualMenu::CreateFromSVMenu()
}
-
// called on activation of the SV-Menu
IMPL_STATIC_LINK_NOARG_TYPED(
@@ -555,7 +548,6 @@ IMPL_LINK_NOARG_TYPED(SfxVirtualMenu, SettingsChanged, LinkParamNone*, void)
}
-
void SfxVirtualMenu::UpdateImages( Menu* pMenu )
{
if ( !pMenu )
@@ -596,7 +588,6 @@ void SfxVirtualMenu::UpdateImages( Menu* pMenu )
}
-
void SfxVirtualMenu::RemoveMenuImages( Menu* pMenu )
{
if ( !pMenu )
@@ -615,7 +606,6 @@ void SfxVirtualMenu::RemoveMenuImages( Menu* pMenu )
}
-
bool SfxVirtualMenu::Bind_Impl( Menu *pMenu )
{
// Search , as SV with 'sal_uInt16 nSID = pSVMenu->GetCurItemId();' always
@@ -730,7 +720,6 @@ void SfxVirtualMenu::UnbindControllers()
}
-
void SfxVirtualMenu::InsertAddOnsMenuItem( Menu* pMenu )
{
// Create special popup menu that is filled with the 3rd party components popup menu items
@@ -769,7 +758,6 @@ void SfxVirtualMenu::InsertAddOnsMenuItem( Menu* pMenu )
}
-
// called on activation of the SV-Menu
IMPL_LINK_TYPED( SfxVirtualMenu, Activate, Menu *, pMenu, bool )
@@ -907,7 +895,6 @@ IMPL_LINK_TYPED( SfxVirtualMenu, Activate, Menu *, pMenu, bool )
}
-
IMPL_LINK_TYPED( SfxVirtualMenu, Deactivate, Menu *, pMenu, bool )
{
SAL_INFO(
@@ -976,12 +963,9 @@ IMPL_LINK_TYPED( SfxVirtualMenu, Select, Menu *, pMenu, bool )
}
-
// returns the associated StarView-menu
-
-
// set the checkmark of the specified item
void SfxVirtualMenu::CheckItem( sal_uInt16 nItemId, bool bCheck )
@@ -1013,8 +997,6 @@ void SfxVirtualMenu::SetItemText( sal_uInt16 nItemId, const OUString& rText )
}
-
-
void SfxVirtualMenu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu *pMenu )
{
@@ -1029,7 +1011,6 @@ void SfxVirtualMenu::SetPopupMenu( sal_uInt16 nItemId, PopupMenu *pMenu )
}
-
// Forces the initialization, which is otherwise only happens in Activate
void SfxVirtualMenu::InitPopup( sal_uInt16 nPos, bool /*bOLE*/ )