summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/dlg/Formula.cxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-15 09:40:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-16 07:52:57 +0100
commitbe92ed5799e7f8dab0d8d1042135afe38b7f258f (patch)
treee3c3897bb0b23021e8fb6e22052b38a1d54a659a /reportdesign/source/ui/dlg/Formula.cxx
parent7767ff7b521b7d43a1ea2a4fd19a64bd171da5e0 (diff)
loplugin:referencecasting in reportdesign
Also, I needed to add castToXInterface() to the upcasting Reference::Reference constructor, to resolve ambiguity in casting to XInterface. Change-Id: Ica60190bc842444c37de56407b586aa267f08372 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110890 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/ui/dlg/Formula.cxx')
-rw-r--r--reportdesign/source/ui/dlg/Formula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/Formula.cxx b/reportdesign/source/ui/dlg/Formula.cxx
index 3bdcb2e5b5a0..f1b95f953c62 100644
--- a/reportdesign/source/ui/dlg/Formula.cxx
+++ b/reportdesign/source/ui/dlg/Formula.cxx
@@ -249,7 +249,7 @@ IMPL_LINK( FormulaDialog, OnClickHdl, OAddFieldWindow& ,_rAddFieldDlg, void)
uno::Reference< sheet::XFormulaParser> FormulaDialog::getFormulaParser() const
{
- return m_xParser.get();
+ return m_xParser;
}
uno::Reference< sheet::XFormulaOpCodeMapper> FormulaDialog::getFormulaOpCodeMapper() const