From 0bab9c02285ead494edbc456a96f38545823bb10 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 12 Dec 2018 09:47:18 +0200 Subject: use unique_ptr in SfxChildWinCtor Change-Id: I155036f6a47c765595938ff325ede6bbe6dd5c48 Reviewed-on: https://gerrit.libreoffice.org/65000 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/idxmrk.hxx | 4 ++-- sw/source/uibase/inc/wordcountdialog.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/inc') diff --git a/sw/source/uibase/inc/idxmrk.hxx b/sw/source/uibase/inc/idxmrk.hxx index 26268026c04e..e180ebed2ffa 100644 --- a/sw/source/uibase/inc/idxmrk.hxx +++ b/sw/source/uibase/inc/idxmrk.hxx @@ -29,6 +29,7 @@ class SwInsertIdxMarkWrapper final : public SfxChildWindow { ScopedVclPtr xAbstDlg; +public: SwInsertIdxMarkWrapper(vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings* pBindings, @@ -36,7 +37,6 @@ class SwInsertIdxMarkWrapper final : public SfxChildWindow SFX_DECL_CHILDWINDOW_WITHID(SwInsertIdxMarkWrapper); -public: void ReInitDlg(SwWrtShell& rWrtShell); }; @@ -44,6 +44,7 @@ class SwInsertAuthMarkWrapper final : public SfxChildWindow { ScopedVclPtr xAbstDlg; +public: SwInsertAuthMarkWrapper(vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings* pBindings, @@ -51,7 +52,6 @@ class SwInsertAuthMarkWrapper final : public SfxChildWindow SFX_DECL_CHILDWINDOW_WITHID(SwInsertAuthMarkWrapper); -public: void ReInitDlg(SwWrtShell& rWrtShell); }; diff --git a/sw/source/uibase/inc/wordcountdialog.hxx b/sw/source/uibase/inc/wordcountdialog.hxx index 7e2730f7d0aa..117a840a9db8 100644 --- a/sw/source/uibase/inc/wordcountdialog.hxx +++ b/sw/source/uibase/inc/wordcountdialog.hxx @@ -59,13 +59,13 @@ class SwWordCountWrapper final : public SfxChildWindow { VclPtr xAbstDlg; +public: SwWordCountWrapper( vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ); SFX_DECL_CHILDWINDOW_WITHID(SwWordCountWrapper); -public: virtual ~SwWordCountWrapper() override; void UpdateCounts(); void SetCounts(const SwDocStat &rCurrCnt, const SwDocStat &rDocStat); -- cgit