summaryrefslogtreecommitdiff
path: root/svtools/source/control/toolbarmenu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/toolbarmenu.cxx')
-rw-r--r--svtools/source/control/toolbarmenu.cxx82
1 files changed, 0 insertions, 82 deletions
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx
index d83c578d4650..deffcebc1a7c 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -547,14 +547,6 @@ void ToolbarMenu::checkEntry( int nEntryId, bool bChecked )
// --------------------------------------------------------------------
-bool ToolbarMenu::isEntryChecked( int nEntryId ) const
-{
- ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
- return pEntry && pEntry->mbChecked;
-}
-
-// --------------------------------------------------------------------
-
void ToolbarMenu::enableEntry( int nEntryId, bool bEnable )
{
ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
@@ -574,14 +566,6 @@ void ToolbarMenu::enableEntry( int nEntryId, bool bEnable )
// --------------------------------------------------------------------
-bool ToolbarMenu::isEntryEnabled( int nEntryId ) const
-{
- ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
- return pEntry && pEntry->mbEnabled;
-}
-
-// --------------------------------------------------------------------
-
void ToolbarMenu::setEntryText( int nEntryId, const String& rStr )
{
ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
@@ -596,20 +580,6 @@ void ToolbarMenu::setEntryText( int nEntryId, const String& rStr )
// --------------------------------------------------------------------
-const String& ToolbarMenu::getEntryText( int nEntryId ) const
-{
- ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
- if( pEntry )
- return pEntry->maText;
- else
- {
- static String aEmptyStr;
- return aEmptyStr;
- }
-}
-
-// --------------------------------------------------------------------
-
void ToolbarMenu::setEntryImage( int nEntryId, const Image& rImage )
{
ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
@@ -624,20 +594,6 @@ void ToolbarMenu::setEntryImage( int nEntryId, const Image& rImage )
// --------------------------------------------------------------------
-const Image& ToolbarMenu::getEntryImage( int nEntryId ) const
-{
- ToolbarMenuEntry* pEntry = implSearchEntry( nEntryId );
- if( pEntry )
- return pEntry->maImage;
- else
- {
- static Image aEmptyImage;
- return aEmptyImage;
- }
-}
-
-// --------------------------------------------------------------------
-
void ToolbarMenu::initWindow()
{
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
@@ -870,13 +826,6 @@ void ToolbarMenu::appendEntry( int nEntryId, const String& rStr, MenuItemBits nI
// --------------------------------------------------------------------
-void ToolbarMenu::appendEntry( int nEntryId, const Image& rImage, MenuItemBits nItemBits )
-{
- appendEntry( new ToolbarMenuEntry( *this, nEntryId, rImage, nItemBits ) );
-}
-
-// --------------------------------------------------------------------
-
void ToolbarMenu::appendEntry( int nEntryId, const String& rStr, const Image& rImage, MenuItemBits nItemBits )
{
appendEntry( new ToolbarMenuEntry( *this, nEntryId, rImage, rStr, nItemBits ) );
@@ -1664,20 +1613,6 @@ void ToolbarMenu::AddStatusListener( const rtl::OUString& rCommandURL )
// --------------------------------------------------------------------
-void ToolbarMenu::RemoveStatusListener( const rtl::OUString& rCommandURL )
-{
- mpImpl->mxStatusListener->removeStatusListener( rCommandURL );
-}
-// --------------------------------------------------------------------
-
-
-void ToolbarMenu::UpdateStatus( const rtl::OUString& rCommandURL )
-{
- mpImpl->mxStatusListener->updateStatus( rCommandURL );
-}
-
-// --------------------------------------------------------------------
-
// XStatusListener (subclasses must override this one to get the status updates
void SAL_CALL ToolbarMenu::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& /*Event*/ ) throw ( ::com::sun::star::uno::RuntimeException )
{
@@ -1763,23 +1698,6 @@ void ToolbarMenu::SetSelectHdl( const Link& rLink )
// --------------------------------------------------------------------
-const Link& ToolbarMenu::GetSelectHdl() const
-{
- return mpImpl->maSelectHdl;
-}
-
-// --------------------------------------------------------------------
-
-Reference< XFrame > ToolbarMenu::GetFrame() const
-{
- return mpImpl->mxFrame;
-}
-
-// --------------------------------------------------------------------
-
-
-// --------------------------------------------------------------------
-
}