summaryrefslogtreecommitdiff
path: root/sw/inc/swabstdlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-02 20:00:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-04 15:02:54 +0200
commitf5198863fc115eb72853ed76dfef037001784b61 (patch)
tree6003b566c43fa2e0dc898bc7f791fad671671f96 /sw/inc/swabstdlg.hxx
parent0fab2b1dcd13c0fb9d3bc82e5d8134afbd5ea237 (diff)
SwDrawModel ctor always dereferences its SwDoc* arg
DateFormFieldDialog ctor too SwTextBoxHelper::getCount too Change-Id: I0d6e41b671af8c7d47ca3cd1f3e62a162ae06aca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103875 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/swabstdlg.hxx')
-rw-r--r--sw/inc/swabstdlg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 82540628fb06..c29b98214281 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -397,7 +397,7 @@ public:
SwField* pField, bool bPrevButton, bool bNextButton) = 0;
virtual VclPtr<VclAbstractDialog> CreateDropDownFormFieldDialog(weld::Widget* pParent, sw::mark::IFieldmark* pDropDownField) = 0;
- virtual VclPtr<VclAbstractDialog> CreateDateFormFieldDialog(weld::Widget* pParent, sw::mark::IDateFieldmark* pDateField, SwDoc* pDoc) = 0;
+ virtual VclPtr<VclAbstractDialog> CreateDateFormFieldDialog(weld::Widget* pParent, sw::mark::IDateFieldmark* pDateField, SwDoc& rDoc) = 0;
virtual VclPtr<SfxAbstractTabDialog> CreateSwEnvDlg(weld::Window* pParent, const SfxItemSet& rSet, SwWrtShell* pWrtSh, Printer* pPrt, bool bInsert) = 0;