From db1b7178dde8daa8660becf35acf8362b5f4bd7e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Aug 2011 22:41:25 +0100 Subject: callcatcher: unused methods --- framework/inc/framework/statusbarconfiguration.hxx | 8 ------- framework/inc/uielement/panelwindow.hxx | 5 ----- framework/source/fwe/classes/addonsoptions.cxx | 19 ---------------- .../source/fwe/xml/statusbarconfiguration.cxx | 16 ------------- framework/source/uielement/panelwindow.cxx | 26 ---------------------- 5 files changed, 74 deletions(-) (limited to 'framework') diff --git a/framework/inc/framework/statusbarconfiguration.hxx b/framework/inc/framework/statusbarconfiguration.hxx index 080def952a3c..cb515ad5f772 100644 --- a/framework/inc/framework/statusbarconfiguration.hxx +++ b/framework/inc/framework/statusbarconfiguration.hxx @@ -62,14 +62,6 @@ SV_DECL_PTRARR_DEL( StatusBarDescriptor, StatusBarItemDescriptorPtr, 10, 2) class FWE_DLLPUBLIC StatusBarConfiguration { public: - static sal_Bool LoadStatusBar( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, - SvStream& rInStream, StatusBarDescriptor& aItems ); - - static sal_Bool StoreStatusBar( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, - SvStream& rOutStream, const StatusBarDescriptor& aItems ); - static sal_Bool LoadStatusBar( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xInputStream, diff --git a/framework/inc/uielement/panelwindow.hxx b/framework/inc/uielement/panelwindow.hxx index 324d1a38c5b0..ff3db6b433fa 100644 --- a/framework/inc/uielement/panelwindow.hxx +++ b/framework/inc/uielement/panelwindow.hxx @@ -51,11 +51,6 @@ class PanelWindow : public DockingWindow PanelWindow( Window* pParent, WinBits nWinBits =0); virtual ~PanelWindow(); - const ::rtl::OUString& getResourceURL() const; - void setResourceURL(const ::rtl::OUString& rResourceURL); - Window* getContentWindow() const; - void setContentWindow( Window* pContentWindow ); - virtual void Command ( const CommandEvent& rCEvt ); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index 11627487cd2c..4e1b58316880 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -347,7 +347,6 @@ class AddonsOptions_Impl : public ConfigItem void InsertToolBarSeparator( Sequence< Sequence< PropertyValue > >& rAddonOfficeToolBarSeq ); ::rtl::OUString GeneratePrefixURL(); - Sequence< ::rtl::OUString > GetPropertyNamesMergeMenuInstruction( const ::rtl::OUString& aPropertyRootName ) const; Sequence< ::rtl::OUString > GetPropertyNamesMenuItem( const ::rtl::OUString& aPropertyRootNode ) const; Sequence< ::rtl::OUString > GetPropertyNamesPopupMenu( const ::rtl::OUString& aPropertyRootNode ) const; Sequence< ::rtl::OUString > GetPropertyNamesToolBarItem( const ::rtl::OUString& aPropertyRootNode ) const; @@ -1541,24 +1540,6 @@ sal_Bool AddonsOptions_Impl::CreateImageFromSequence( Image& rImage, sal_Bool bB return bResult; } -//***************************************************************************************************************** -// private methods -//***************************************************************************************************************** -Sequence< ::rtl::OUString > AddonsOptions_Impl::GetPropertyNamesMergeMenuInstruction( const ::rtl::OUString& aPropertyRootNode ) const -{ - Sequence< ::rtl::OUString > lResult( PROPERTYCOUNT_MERGE_MENUBAR ); - - // Create property names dependent from the root node name - lResult[ OFFSET_MERGEMENU_MERGEPOINT ] = ::rtl::OUString( aPropertyRootNode + m_aPropMergeMenuNames[ OFFSET_MERGEMENU_MERGEPOINT ] ); - lResult[ OFFSET_MERGEMENU_MERGECOMMAND ] = ::rtl::OUString( aPropertyRootNode + m_aPropMergeMenuNames[ OFFSET_MERGEMENU_MERGECOMMAND ] ); - lResult[ OFFSET_MERGEMENU_MERGECOMMANDPARAMETER ] = ::rtl::OUString( aPropertyRootNode + m_aPropMergeMenuNames[ OFFSET_MERGEMENU_MERGECOMMANDPARAMETER ] ); - lResult[ OFFSET_MERGEMENU_MERGEFALLBACK ] = ::rtl::OUString( aPropertyRootNode + m_aPropMergeMenuNames[ OFFSET_MERGEMENU_MERGEFALLBACK ] ); - lResult[ OFFSET_MERGEMENU_MERGECONTEXT ] = ::rtl::OUString( aPropertyRootNode + m_aPropMergeMenuNames[ OFFSET_MERGEMENU_MERGECONTEXT ] ); - lResult[ OFFSET_MERGEMENU_MENUITEMS ] = ::rtl::OUString( aPropertyRootNode + m_aPropMergeMenuNames[ OFFSET_MERGEMENU_MENUITEMS ] ); - - return lResult; -} - Sequence< ::rtl::OUString > AddonsOptions_Impl::GetPropertyNamesMenuItem( const ::rtl::OUString& aPropertyRootNode ) const { Sequence< ::rtl::OUString > lResult( PROPERTYCOUNT_MENUITEM ); diff --git a/framework/source/fwe/xml/statusbarconfiguration.cxx b/framework/source/fwe/xml/statusbarconfiguration.cxx index 52643d238172..613e45710622 100644 --- a/framework/source/fwe/xml/statusbarconfiguration.cxx +++ b/framework/source/fwe/xml/statusbarconfiguration.cxx @@ -80,22 +80,6 @@ static Reference< XDocumentHandler > GetSaxWriter( return Reference< XDocumentHandler >( xServiceFactory->createInstance( SERVICENAME_SAXWRITER), UNO_QUERY) ; } -sal_Bool StatusBarConfiguration::LoadStatusBar( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&, - SvStream&, StatusBarDescriptor& ) -{ - // obsolete - only support linkage of binary filters! - return sal_True; -} - -sal_Bool StatusBarConfiguration::StoreStatusBar( - const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&, - SvStream&, const StatusBarDescriptor& ) -{ - // obsolete - only support linkage of binary filters! - return sal_True; -} - sal_Bool StatusBarConfiguration::LoadStatusBar( const Reference< XMultiServiceFactory >& xServiceFactory, const Reference< XInputStream >& xInputStream, diff --git a/framework/source/uielement/panelwindow.cxx b/framework/source/uielement/panelwindow.cxx index 61e1d3095eb0..e24fbc3d8ee0 100644 --- a/framework/source/uielement/panelwindow.cxx +++ b/framework/source/uielement/panelwindow.cxx @@ -21,32 +21,6 @@ PanelWindow::~PanelWindow() { } -const ::rtl::OUString& PanelWindow::getResourceURL() const -{ - return m_aResourceURL; -} - -void PanelWindow::setResourceURL(const ::rtl::OUString& rResourceURL) -{ - m_aResourceURL = rResourceURL; -} - -Window* PanelWindow::getContentWindow() const -{ - return m_pContentWindow; -} - -void PanelWindow::setContentWindow( Window* pContentWindow ) -{ - m_pContentWindow = pContentWindow; - if ( m_pContentWindow != NULL ) - { - m_pContentWindow->SetParent(this); - m_pContentWindow->SetSizePixel( GetOutputSizePixel() ); - m_pContentWindow->Show(); - } -} - void PanelWindow::Command( const CommandEvent& rCEvt ) { if ( m_aCommandHandler.IsSet() ) -- cgit