From 592c31a8fa8729259cf42440a0a26c0322bbbba5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 24 Aug 2019 20:33:45 +0200 Subject: loplugin:returnconstval in sw Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf Reviewed-on: https://gerrit.libreoffice.org/78062 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/ui/dialog/swdlgfact.cxx | 2 +- sw/source/ui/dialog/swdlgfact.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/ui/dialog') diff --git a/sw/source/ui/dialog/swdlgfact.cxx b/sw/source/ui/dialog/swdlgfact.cxx index dbcc97b426fb..db641e3dbfe8 100644 --- a/sw/source/ui/dialog/swdlgfact.cxx +++ b/sw/source/ui/dialog/swdlgfact.cxx @@ -636,7 +636,7 @@ const OUString& AbstractMailMergeDlg_Impl::GetSaveFilter() const return pDlg->GetSaveFilter(); } -const css::uno::Sequence< css::uno::Any > AbstractMailMergeDlg_Impl::GetSelection() const +css::uno::Sequence< css::uno::Any > AbstractMailMergeDlg_Impl::GetSelection() const { return pDlg->GetSelection(); } diff --git a/sw/source/ui/dialog/swdlgfact.hxx b/sw/source/ui/dialog/swdlgfact.hxx index 656de1e57e3e..e9f619132948 100644 --- a/sw/source/ui/dialog/swdlgfact.hxx +++ b/sw/source/ui/dialog/swdlgfact.hxx @@ -527,7 +527,7 @@ class AbstractMailMergeDlg_Impl : public AbstractMailMergeDlg DECL_ABSTDLG_BASE(AbstractMailMergeDlg_Impl,SwMailMergeDlg) virtual DBManagerOptions GetMergeType() override ; virtual const OUString& GetSaveFilter() const override; - virtual const css::uno::Sequence< css::uno::Any > GetSelection() const override ; + virtual css::uno::Sequence< css::uno::Any > GetSelection() const override ; virtual css::uno::Reference< css::sdbc::XResultSet> GetResultSet() const override; virtual bool IsSaveSingleDoc() const override; virtual bool IsGenerateFromDataBase() const override; -- cgit