summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-16 17:07:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-17 08:40:38 +0200
commitdb20ca1171475967e60e416df09a12ec565e2d8b (patch)
tree325d730edc413407fe5cc891c368cd716064411b /sc/source/ui/attrdlg
parent100f66cfa594454a4f06998e6a346b8f42c052b1 (diff)
loplugin:useuniqueptr in ScCondFormatManagerDlg
Change-Id: Icca18a88686493b30e89a3fc00880968a48fe964 Reviewed-on: https://gerrit.libreoffice.org/57528 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/attrdlg')
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx2
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index 9f7bb7190d62..a511594f2126 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -503,7 +503,7 @@ sal_uLong AbstractScLinkedAreaDlg_Impl::GetRefresh()
return m_xDlg->GetRefresh();
}
-ScConditionalFormatList* AbstractScCondFormatManagerDlg_Impl::GetConditionalFormatList()
+std::unique_ptr<ScConditionalFormatList> AbstractScCondFormatManagerDlg_Impl::GetConditionalFormatList()
{
return pDlg->GetConditionalFormatList();
}
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index dd56b7f9a712..ec1f62d35f9f 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -131,7 +131,7 @@ class AbstractScCondFormatManagerDlg_Impl : public AbstractScCondFormatManagerDl
{
DECL_ABSTDLG_BASE(AbstractScCondFormatManagerDlg_Impl, ScCondFormatManagerDlg)
- virtual ScConditionalFormatList* GetConditionalFormatList() override;
+ virtual std::unique_ptr<ScConditionalFormatList> GetConditionalFormatList() override;
virtual bool CondFormatsChanged() const override;