summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/ReportController.cxx
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2017-04-06 00:45:08 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-04-07 08:42:41 +0000
commitbc4176fa43dc8047774a11dfb5b913e6adce2252 (patch)
tree90bd78a4ba1507ab2f7b3db32a92be0d598d5204 /reportdesign/source/ui/report/ReportController.cxx
parent49b237c46efa1ba3513dfbe6c782c713296352d8 (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/source/ui/report/ReportController.cxx')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx20
1 files changed, 0 insertions, 20 deletions
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 );