diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-03 14:08:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 07:17:23 +0100 |
commit | 21e0d8162a0e683558c4d042ce688fc9a6833809 (patch) | |
tree | 8c93a0158d7669b1e92a43c65b6b4a7a7eeca685 /sfx2/source | |
parent | 5de151f0fd7b590ae13560086b46ea84e4d9cf9c (diff) |
loplugin:unusedfields
fix the ReturnStmt check
Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8
Reviewed-on: https://gerrit.libreoffice.org/47309
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/helpinterceptor.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sfx2/source/appl/helpinterceptor.hxx b/sfx2/source/appl/helpinterceptor.hxx index 6f3f4beadf35..41d9665f264b 100644 --- a/sfx2/source/appl/helpinterceptor.hxx +++ b/sfx2/source/appl/helpinterceptor.hxx @@ -65,7 +65,6 @@ friend class SfxHelpWindow_Impl; VclPtr<SfxHelpWindow_Impl> m_pWindow; sal_uIntPtr m_nCurPos; OUString m_aCurrentURL; - css::uno::Any m_aViewData; void addURL( const OUString& rURL ); @@ -76,9 +75,6 @@ public: void setInterception( const css::uno::Reference< css::frame::XFrame >& xFrame ); const OUString& GetCurrentURL() const { return m_aCurrentURL; } - - const css::uno::Any& GetViewData()const {return m_aViewData;} - bool HasHistoryPred() const; // is there a predecessor for the current in the history bool HasHistorySucc() const; // is there a successor for the current in the history diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 0d7584e98337..fc86a0711c93 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -2897,7 +2897,7 @@ void SfxHelpWindow_Impl::openDone(const OUString& sURL , OUString sProperty( "IsExecuteHyperlinks" ); if ( xInfo->hasPropertyByName( sProperty ) ) xViewProps->setPropertyValue( sProperty, makeAny( true ) ); - xController->restoreViewData(pHelpInterceptor->GetViewData()); + xController->restoreViewData(Any()); } } catch( Exception& ) |