diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 20:33:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-24 22:12:02 +0200 |
commit | 592c31a8fa8729259cf42440a0a26c0322bbbba5 (patch) | |
tree | 5448499c937ca9a5fba1ecb8c6a278180359853d /sw/source/ui/dialog | |
parent | ef2e9c91d0a0483c19d0175c1b0ccb24d3f6bfbc (diff) |
loplugin:returnconstval in sw
Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf
Reviewed-on: https://gerrit.libreoffice.org/78062
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/dialog')
-rw-r--r-- | sw/source/ui/dialog/swdlgfact.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dialog/swdlgfact.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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; |