diff options
-rw-r--r-- | sfx2/source/appl/helpinterceptor.cxx | 15 | ||||
-rw-r--r-- | sfx2/source/appl/helpinterceptor.hxx | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx index 26f0117aa566..367bb3a091ee 100644 --- a/sfx2/source/appl/helpinterceptor.cxx +++ b/sfx2/source/appl/helpinterceptor.cxx @@ -129,21 +129,6 @@ void HelpInterceptor_Impl::setInterception( Reference< XFrame > xFrame ) // ----------------------------------------------------------------------- -void HelpInterceptor_Impl::SetStartURL( const String& rURL ) -{ - DBG_ASSERT( !m_pHistory, "invalid history" ); - if ( !m_pHistory ) - { - m_pHistory = new HelpHistoryList_Impl; - Any aEmptyViewData; - m_pHistory->insert( m_pHistory->begin(), new HelpHistoryEntry_Impl( rURL, aEmptyViewData)); - m_nCurPos = m_pHistory->size() - 1; - - m_pWindow->UpdateToolbox(); - } - m_aCurrentURL = rURL; -} - sal_Bool HelpInterceptor_Impl::HasHistoryPred() const { return m_pHistory && ( m_nCurPos > 0 ); diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx index e912fcdf2364..f610d9d94fde 100644 --- a/sfx2/source/appl/helpinterceptor.hxx +++ b/sfx2/source/appl/helpinterceptor.hxx @@ -85,7 +85,6 @@ public: ~HelpInterceptor_Impl(); void setInterception( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame ); - void SetStartURL( const String& rURL ); String GetCurrentURL() const { return m_aCurrentURL; } |