diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-21 20:46:50 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-21 20:53:10 +0200 |
commit | 4b8f887266321ade837e1ebebee72a60ac6f840b (patch) | |
tree | d2daacdcc7703dfba78930406e6a5dd6009ac777 | |
parent | 36703ca1de68cd62782d0d425123521a5bc6732b (diff) |
unusedcode: svtools::
-rw-r--r-- | sc/source/ui/inc/shtabdlg.hxx | 4 | ||||
-rw-r--r-- | svtools/Library_svt.mk | 1 | ||||
-rw-r--r-- | svtools/Package_inc.mk | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/DocumentInfoPreview.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/extcolorcfg.hxx | 4 | ||||
-rw-r--r-- | svtools/inc/svtools/toolbarmenu.hxx | 9 | ||||
-rw-r--r-- | svtools/inc/svtools/tooltiplbox.hxx | 69 | ||||
-rw-r--r-- | svtools/source/config/extcolorcfg.cxx | 22 | ||||
-rw-r--r-- | svtools/source/contnr/templwin.cxx | 7 | ||||
-rw-r--r-- | svtools/source/contnr/tooltiplbox.cxx | 122 | ||||
-rw-r--r-- | svtools/source/control/toolbarmenu.cxx | 82 | ||||
-rw-r--r-- | svtools/source/control/toolbarmenuacc.cxx | 24 | ||||
-rw-r--r-- | svtools/source/control/toolbarmenuimp.hxx | 1 | ||||
-rw-r--r-- | unusedcode.easy | 18 |
14 files changed, 2 insertions, 363 deletions
diff --git a/sc/source/ui/inc/shtabdlg.hxx b/sc/source/ui/inc/shtabdlg.hxx index 90dd3e217031..192989447819 100644 --- a/sc/source/ui/inc/shtabdlg.hxx +++ b/sc/source/ui/inc/shtabdlg.hxx @@ -31,8 +31,8 @@ #include <vcl/fixed.hxx> #include <vcl/button.hxx> -#include <svtools/tooltiplbox.hxx> #include <vcl/dialog.hxx> +#include <vcl/lstbox.hxx> //------------------------------------------------------------------------ @@ -40,7 +40,7 @@ class ScShowTabDlg : public ModalDialog { private: FixedText aFtLbTitle; - ::svtools::ToolTipMultiListBox aLb; + MultiListBox aLb; OKButton aBtnOk; CancelButton aBtnCancel; HelpButton aBtnHelp; diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk index b2fc5e15fe94..2df75fef5000 100644 --- a/svtools/Library_svt.mk +++ b/svtools/Library_svt.mk @@ -112,7 +112,6 @@ $(eval $(call gb_Library_add_exception_objects,svt,\ svtools/source/contnr/svtabbx \ svtools/source/contnr/svtreebx \ svtools/source/contnr/templwin \ - svtools/source/contnr/tooltiplbox \ svtools/source/contnr/treelist \ svtools/source/control/asynclink \ svtools/source/control/calendar \ diff --git a/svtools/Package_inc.mk b/svtools/Package_inc.mk index 3586c52dde1c..540db0909d9c 100644 --- a/svtools/Package_inc.mk +++ b/svtools/Package_inc.mk @@ -176,7 +176,6 @@ $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/tabitemconte $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/tablayouter.hxx,svtools/toolpanel/tablayouter.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/toolpanel.hxx,svtools/toolpanel/toolpanel.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/toolpanel/toolpaneldeck.hxx,svtools/toolpanel/toolpaneldeck.hxx)) -$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/tooltiplbox.hxx,svtools/tooltiplbox.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/transfer.hxx,svtools/transfer.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/treelist.hxx,svtools/treelist.hxx)) $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/ttprops.hxx,svtools/ttprops.hxx)) diff --git a/svtools/inc/svtools/DocumentInfoPreview.hxx b/svtools/inc/svtools/DocumentInfoPreview.hxx index 0e4e9bf86230..8dfb254d2c08 100644 --- a/svtools/inc/svtools/DocumentInfoPreview.hxx +++ b/svtools/inc/svtools/DocumentInfoPreview.hxx @@ -53,7 +53,6 @@ namespace svtools void fill(const ::com::sun::star::uno::Reference< ::com::sun::star::document::XDocumentProperties>& i_xDocProps ,const String& i_rURL); - void InsertEntry( const String& rTitle, const String& rValue ); void SetAutoScroll(sal_Bool _bAutoScroll); }; } diff --git a/svtools/inc/svtools/extcolorcfg.hxx b/svtools/inc/svtools/extcolorcfg.hxx index 11d551cd88e6..d9fa08483915 100644 --- a/svtools/inc/svtools/extcolorcfg.hxx +++ b/svtools/inc/svtools/extcolorcfg.hxx @@ -96,17 +96,13 @@ public: EditableExtendedColorConfig(); ~EditableExtendedColorConfig(); - ::com::sun::star::uno::Sequence< ::rtl::OUString > GetSchemeNames() const; void DeleteScheme(const ::rtl::OUString& rScheme ); void AddScheme(const ::rtl::OUString& rScheme ); sal_Bool LoadScheme(const ::rtl::OUString& rScheme ); - const ::rtl::OUString& GetCurrentSchemeName()const; void SetCurrentSchemeName(const ::rtl::OUString& rScheme); - ExtendedColorConfigValue GetColorValue(const ::rtl::OUString& _sComponentName,const ::rtl::OUString& _sName)const; sal_Int32 GetComponentCount() const; ::rtl::OUString GetComponentName(sal_uInt32 _nPos) const; - ::rtl::OUString GetComponentDisplayName(const ::rtl::OUString& _sComponentName) const; sal_Int32 GetComponentColorCount(const ::rtl::OUString& _sName) const; ExtendedColorConfigValue GetComponentColorConfigValue(const ::rtl::OUString& _sName,sal_uInt32 _nPos) const; void SetColorValue(const ::rtl::OUString& _sComponentName, const ExtendedColorConfigValue& rValue); diff --git a/svtools/inc/svtools/toolbarmenu.hxx b/svtools/inc/svtools/toolbarmenu.hxx index 362a57c21f96..f9a651278f13 100644 --- a/svtools/inc/svtools/toolbarmenu.hxx +++ b/svtools/inc/svtools/toolbarmenu.hxx @@ -76,7 +76,6 @@ public: virtual void LoseFocus(); void appendEntry( int nEntryId, const String& rStr, MenuItemBits nItemBits = 0 ); - void appendEntry( int nEntryId, const Image& rImage, MenuItemBits nItemBits = 0 ); void appendEntry( int nEntryId, const String& rStr, const Image& rImage, MenuItemBits nItemBits = 0 ); void appendEntry( int nEntryId, Control* pControl, MenuItemBits nItemBits = 0 ); void appendSeparator(); @@ -85,21 +84,16 @@ public: ValueSet* createEmptyValueSetControl(); void checkEntry( int nEntryId, bool bCheck = true ); - bool isEntryChecked( int nEntryId ) const; void enableEntry( int nEntryId, bool bEnable = true ); - bool isEntryEnabled( int nEntryId ) const; void setEntryText( int nEntryId, const String& rStr ); - const String& getEntryText( int nEntryId ) const; void setEntryImage( int nEntryId, const Image& rImage ); - const Image& getEntryImage( int nEntryId ) const; const Size& getMenuSize() const; void SetSelectHdl( const Link& rLink ); - const Link& GetSelectHdl() const; int getSelectedEntryId() const; int getHighlightedEntryId() const; @@ -111,8 +105,6 @@ protected: // todo: move to new base class that will replace SfxPopupWindow void AddStatusListener( const rtl::OUString& rCommandURL ); - void RemoveStatusListener( const rtl::OUString& rCommandURL ); - void UpdateStatus( const rtl::OUString& rCommandURL ); bool IsInPopupMode(); void EndPopupMode(); @@ -123,7 +115,6 @@ protected: void StateChanged( StateChangedType nType ); void DataChanged( const DataChangedEvent& rDCEvt ); - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > GetFrame() const; private: DECL_LINK( HighlightHdl, Control * ); diff --git a/svtools/inc/svtools/tooltiplbox.hxx b/svtools/inc/svtools/tooltiplbox.hxx deleted file mode 100644 index af01de65c316..000000000000 --- a/svtools/inc/svtools/tooltiplbox.hxx +++ /dev/null @@ -1,69 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifndef SVTOOLS_TOOLTIPLBOX_HXX -#define SVTOOLS_TOOLTIPLBOX_HXX - -#include "svtools/svtdllapi.h" -#include <vcl/lstbox.hxx> - -namespace svtools { - -// ============================================================================ - -/** ListBox with tool tips for long entries. */ -class ToolTipListBox : public ListBox -{ -public: - ToolTipListBox( Window* pParent, WinBits nStyle = WB_BORDER ); - ToolTipListBox( Window* pParent, const ResId& rResId ); - -protected: - virtual void RequestHelp( const HelpEvent& rHEvt ); -}; - -// ---------------------------------------------------------------------------- - -/** MultiListBox with tool tips for long entries. */ -class SVT_DLLPUBLIC ToolTipMultiListBox : public MultiListBox -{ -public: - ToolTipMultiListBox( Window* pParent, WinBits nStyle = WB_BORDER ); - ToolTipMultiListBox( Window* pParent, const ResId& rResId ); - -protected: - virtual void RequestHelp( const HelpEvent& rHEvt ); -}; - -// ============================================================================ - -} // namespace svtools - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx index 59bb82aa2c56..57a6a913b9a1 100644 --- a/svtools/source/config/extcolorcfg.cxx +++ b/svtools/source/config/extcolorcfg.cxx @@ -658,12 +658,6 @@ EditableExtendedColorConfig::~EditableExtendedColorConfig() delete m_pImpl; } - -uno::Sequence< ::rtl::OUString > EditableExtendedColorConfig::GetSchemeNames() const -{ - return m_pImpl->GetSchemeNames(); -} - void EditableExtendedColorConfig::DeleteScheme(const ::rtl::OUString& rScheme ) { m_pImpl->RemoveScheme(rScheme); @@ -687,11 +681,6 @@ sal_Bool EditableExtendedColorConfig::LoadScheme(const ::rtl::OUString& rScheme return sal_True; } -const ::rtl::OUString& EditableExtendedColorConfig::GetCurrentSchemeName()const -{ - return m_pImpl->GetLoadedScheme(); -} - // Changes the name of the current scheme but doesn't load it! void EditableExtendedColorConfig::SetCurrentSchemeName(const ::rtl::OUString& rScheme) { @@ -699,12 +688,6 @@ void EditableExtendedColorConfig::SetCurrentSchemeName(const ::rtl::OUString& rS m_pImpl->CommitCurrentSchemeName(); } -ExtendedColorConfigValue EditableExtendedColorConfig::GetColorValue(const ::rtl::OUString& _sComponentName, - const ::rtl::OUString& _sName)const -{ - return m_pImpl->GetColorConfigValue(_sComponentName,_sName); -} - void EditableExtendedColorConfig::SetColorValue( const ::rtl::OUString& _sName, const ExtendedColorConfigValue& rValue) { @@ -756,11 +739,6 @@ ExtendedColorConfigValue EditableExtendedColorConfig::GetComponentColorConfigVal { return m_pImpl->GetComponentName(_nPos); } -// ----------------------------------------------------------------------------- -::rtl::OUString EditableExtendedColorConfig::GetComponentDisplayName(const ::rtl::OUString& _sComponentName) const -{ - return m_pImpl->GetComponentDisplayName(_sComponentName); -} }//namespace svtools /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx index 6e4e51559754..3d25c6fc1d61 100644 --- a/svtools/source/contnr/templwin.cxx +++ b/svtools/source/contnr/templwin.cxx @@ -289,13 +289,6 @@ void ODocumentInfoPreview::fill( m_pEditWin->SetAutoScroll( sal_True ); } -// ----------------------------------------------------------------------------- -void ODocumentInfoPreview::InsertEntry( const String& rTitle, const String& rValue ) -{ - m_pEditWin->InsertEntry( rTitle, rValue); -} -// ----------------------------------------------------------------------------- - // class SvtDummyHeaderBar_Impl ------------------------------------------ void SvtDummyHeaderBar_Impl::UpdateBackgroundColor() diff --git a/svtools/source/contnr/tooltiplbox.cxx b/svtools/source/contnr/tooltiplbox.cxx deleted file mode 100644 index fb610e826f3a..000000000000 --- a/svtools/source/contnr/tooltiplbox.cxx +++ /dev/null @@ -1,122 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -// MARKER(update_precomp.py): autogen include statement, do not remove -#include "precompiled_svtools.hxx" -#include <svtools/tooltiplbox.hxx> -#include <vcl/help.hxx> - -// ============================================================================ - -namespace svtools { - -// ---------------------------------------------------------------------------- - -void lcl_ToolTipLBox_ShowToolTip( ListBox& rListBox, const HelpEvent& rHEvt ) -{ - // only show tooltip if helpmode is BALLOON or QUICK - if ( !( rHEvt.GetMode() & HELPMODE_BALLOON ) && !( rHEvt.GetMode() & HELPMODE_QUICK ) ) - { - // else call base class method - rListBox.ListBox::RequestHelp( rHEvt ); - return ; - } - - // find the list box entry the mouse points to - Point aMousePos( rListBox.ScreenToOutputPixel( rHEvt.GetMousePosPixel() ) ); - - sal_uInt16 nTop = rListBox.GetTopEntry(); - sal_uInt16 nBottom = nTop + rListBox.GetDisplayLineCount(); - - sal_uInt16 nPos; - for( nPos = nTop; nPos < nBottom; ++nPos ) - { - Rectangle aItemRect( rListBox.GetBoundingRectangle( nPos ) ); - if( (aItemRect.Top() <= aMousePos.Y()) && (aMousePos.Y() <= aItemRect.Bottom()) ) - break; - } - - // show text content of the entry, if it does not fit - if( nPos < nBottom ) - { - String aHelpText( rListBox.GetEntry( nPos ) ); - if( rListBox.GetTextWidth( aHelpText ) > rListBox.GetOutputSizePixel().Width() ) - { - Point aLBoxPos( rListBox.OutputToScreenPixel( Point( 0, 0 ) ) ); - Size aLBoxSize( rListBox.GetSizePixel() ); - Rectangle aLBoxRect( aLBoxPos, aLBoxSize ); - - if( rHEvt.GetMode() == HELPMODE_BALLOON ) - Help::ShowBalloon( &rListBox, aLBoxRect.Center(), aLBoxRect, aHelpText ); - else - Help::ShowQuickHelp( &rListBox, aLBoxRect, aHelpText ); - } - } -} - -// ---------------------------------------------------------------------------- - -ToolTipListBox::ToolTipListBox( Window* pParent, WinBits nStyle ) : - ListBox( pParent, nStyle ) -{ -} - -ToolTipListBox::ToolTipListBox( Window* pParent, const ResId& rResId ) : - ListBox( pParent, rResId ) -{ -} - -void ToolTipListBox::RequestHelp( const HelpEvent& rHEvt ) -{ - lcl_ToolTipLBox_ShowToolTip( *this, rHEvt ); -} - -// ---------------------------------------------------------------------------- - -ToolTipMultiListBox::ToolTipMultiListBox( Window* pParent, WinBits nStyle ) : - MultiListBox( pParent, nStyle ) -{ -} - -ToolTipMultiListBox::ToolTipMultiListBox( Window* pParent, const ResId& rResId ) : - MultiListBox( pParent, rResId ) -{ -} - -void ToolTipMultiListBox::RequestHelp( const HelpEvent& rHEvt ) -{ - lcl_ToolTipLBox_ShowToolTip( *this, rHEvt ); -} - -// ---------------------------------------------------------------------------- - -} // namespace svtools - -// ============================================================================ - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 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; -} - -// -------------------------------------------------------------------- - - -// -------------------------------------------------------------------- - } diff --git a/svtools/source/control/toolbarmenuacc.cxx b/svtools/source/control/toolbarmenuacc.cxx index 340fbeacb008..a859df3bb6d0 100644 --- a/svtools/source/control/toolbarmenuacc.cxx +++ b/svtools/source/control/toolbarmenuacc.cxx @@ -632,30 +632,6 @@ ToolbarMenuEntryAcc::~ToolbarMenuEntryAcc() // ----------------------------------------------------------------------- -void ToolbarMenuEntryAcc::FireAccessibleEvent( short nEventId, const Any& rOldValue, const Any& rNewValue ) -{ - if( nEventId ) - { - EventListenerVector aTmpListeners( mxEventListeners ); - ::std::vector< Reference< XAccessibleEventListener > >::const_iterator aIter( aTmpListeners.begin() ); - AccessibleEventObject aEvtObject; - - aEvtObject.EventId = nEventId; - aEvtObject.Source = static_cast<XWeak*>(this); - aEvtObject.NewValue = rNewValue; - aEvtObject.OldValue = rOldValue; - - while( aIter != aTmpListeners.end() ) - { - (*aIter)->notifyEvent( aEvtObject ); - aIter++; - } - } -} - - -// ----------------------------------------------------------------------------- - void SAL_CALL ToolbarMenuEntryAcc::disposing (void) { EventListenerVector aListenerListCopy; diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx index 7674e5f63d0e..f732f3dfbdb5 100644 --- a/svtools/source/control/toolbarmenuimp.hxx +++ b/svtools/source/control/toolbarmenuimp.hxx @@ -224,7 +224,6 @@ public: ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent ); ~ToolbarMenuEntryAcc(); - void FireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue ); bool HasAccessibleListeners() const { return( mxEventListeners.size() > 0 ); } virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException) diff --git a/unusedcode.easy b/unusedcode.easy index 80497d471787..79e27965b846 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -3498,24 +3498,6 @@ svt::table::TableControl::GetTopRow() const svt::table::TableControl::SetSelectHdl(Link const&) svt::table::TableControl::SetTopRow(int) svt::table::TableDataWindow::SetBackground() -svtools::EditableExtendedColorConfig::GetColorValue(rtl::OUString const&, rtl::OUString const&) const -svtools::EditableExtendedColorConfig::GetComponentDisplayName(rtl::OUString const&) const -svtools::EditableExtendedColorConfig::GetCurrentSchemeName() const -svtools::EditableExtendedColorConfig::GetSchemeNames() const -svtools::ODocumentInfoPreview::InsertEntry(String const&, String const&) -svtools::ToolTipListBox::ToolTipListBox(Window*, ResId const&) -svtools::ToolTipListBox::ToolTipListBox(Window*, long) -svtools::ToolTipMultiListBox::ToolTipMultiListBox(Window*, long) -svtools::ToolbarMenu::GetFrame() const -svtools::ToolbarMenu::GetSelectHdl() const -svtools::ToolbarMenu::RemoveStatusListener(rtl::OUString const&) -svtools::ToolbarMenu::UpdateStatus(rtl::OUString const&) -svtools::ToolbarMenu::appendEntry(int, Image const&, unsigned short) -svtools::ToolbarMenu::getEntryImage(int) const -svtools::ToolbarMenu::getEntryText(int) const -svtools::ToolbarMenu::isEntryChecked(int) const -svtools::ToolbarMenu::isEntryEnabled(int) const -svtools::ToolbarMenuEntryAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&) svx::ControllerFeatures::ControllerFeatures(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, com::sun::star::uno::Reference<com::sun::star::form::XForm> const&, svx::IControllerFeatureInvalidation*) svx::DialControl::DialControl(Window*, Size const&, Font const&, long) svx::DialControl::DialControl(Window*, Size const&, long) |