summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-04 15:11:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-05 12:06:26 +0200
commit42b629bc7f700d6f1d1b922e5c6aab119b8edf27 (patch)
treeb860545d390a89d989554c89a148eef4c20990d8 /include
parent1fefdd6f3b4165491af433a815e6c82aa5ac8204 (diff)
use more std::unique_ptr in FmFormView::createControlLabelPair
Change-Id: I36f364739e5a37f9adc0fbad8a49a71947b7318b Reviewed-on: https://gerrit.libreoffice.org/61399 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/fmview.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/svx/fmview.hxx b/include/svx/fmview.hxx
index 90125b46f5b0..cec43527f499 100644
--- a/include/svx/fmview.hxx
+++ b/include/svx/fmview.hxx
@@ -95,15 +95,13 @@ public:
sal_uInt16 _nControlObjectID,
SdrInventor _nInventor,
sal_uInt16 _nLabelObjectID,
- SdrPage* _pLabelPage,
- SdrPage* _pControlPage,
// tdf#118963 Need a SdrModel for SdrObject creation. To make the
// demand clear, hand over a SdrMldel&
SdrModel& _rModel,
- SdrUnoObj*& _rpLabel,
- SdrUnoObj*& _rpControl
+ std::unique_ptr<SdrUnoObj, SdrObjectFreeOp>& _rpLabel,
+ std::unique_ptr<SdrUnoObj, SdrObjectFreeOp>& _rpControl
);
virtual SdrPageView* ShowSdrPage(SdrPage* pPage) override;