diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2017-04-06 00:45:08 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-04-07 08:42:41 +0000 |
commit | bc4176fa43dc8047774a11dfb5b913e6adce2252 (patch) | |
tree | 90bd78a4ba1507ab2f7b3db32a92be0d598d5204 /reportdesign | |
parent | 49b237c46efa1ba3513dfbe6c782c713296352d8 (diff) |
tdf#95386 More Help Agent cleanup
These methods were creating and passing URLs for the
long dead Help Agent
Change-Id: I5e3eafc2ca3bf5c1ca0032b9cb19ed30c8f06e66
Reviewed-on: https://gerrit.libreoffice.org/36172
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/inc/ReportController.hxx | 1 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx index fbe24c668cc4..46d9194fb099 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -309,7 +309,6 @@ namespace rptui void OnInvalidateClipboard(); DECL_LINK( OnClipboardChanged, TransferableDataHelper*, void ); DECL_LINK( OnExecuteReport, void*, void ); - DECL_LINK( OnOpenHelpAgent, void*, void ); // all the features which should be handled by this class virtual void describeSupportedFeatures() override; // state of a feature. 'feature' may be the handle of a css::util::URL somebody requested a dispatch interface for OR a toolbar slot. diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 138d4791b499..4ce1c6cec14c 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -1718,10 +1718,6 @@ void OReportController::impl_initialize( ) } setModified(false); // and we are not modified yet - - // open the global help agent - // we need a Frame but at this time there is no frame, therefore we send a UserEvent - getView()->PostUserEvent(LINK(this, OReportController, OnOpenHelpAgent)); } catch(const SQLException&) { @@ -1740,22 +1736,6 @@ IMPL_LINK( OReportController, OnCreateHdl, OAddFieldWindow& ,_rAddFieldDlg, void } } - -IMPL_LINK_NOARG( OReportController, OnOpenHelpAgent, void*, void ) -{ - // open the help agent of report designer at start time - if (getFrame().is()) - { - OUString suURL("vnd.sun.star.help://shared/text/shared/explorer/database/rep_main.xhp?UseDB=no&DbPAR=swriter"); - openHelpAgent(suURL); - } - else - { - // as long as we don't get a Frame, we send the user event again. - getView()->PostUserEvent(LINK(this, OReportController, OnOpenHelpAgent)); - } -} - bool OReportController::Construct(vcl::Window* pParent) { VclPtrInstance<ODesignView> pMyOwnView( pParent, m_xContext, *this ); |