summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-12 09:47:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-12 09:54:07 +0100
commit0bab9c02285ead494edbc456a96f38545823bb10 (patch)
tree86543e7d7db14858f057411e0b055a0f0b9bb8aa /sw/source/uibase/inc
parent25f06457382bb5c9c648d65eb102c9d91983cda0 (diff)
use unique_ptr in SfxChildWinCtor
Change-Id: I155036f6a47c765595938ff325ede6bbe6dd5c48 Reviewed-on: https://gerrit.libreoffice.org/65000 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/idxmrk.hxx4
-rw-r--r--sw/source/uibase/inc/wordcountdialog.hxx2
2 files changed, 3 insertions, 3 deletions
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<AbstractMarkFloatDlg> 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<AbstractMarkFloatDlg> 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<AbstractSwWordCountFloatDlg> 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);