summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-12 21:23:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-13 10:24:52 +0100
commita34e61d3c1821a2bcec5fce378da77f20719a109 (patch)
treef6d11c2d3d5035104a96e03633f372269aebe4ef /sfx2
parente9b017f533497c3a809d719934e01e4041fa252f (diff)
callcatcher: unused HelpInterceptor_Impl::SetStartURL
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/helpinterceptor.cxx15
-rw-r--r--sfx2/source/appl/helpinterceptor.hxx1
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; }