diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-04 19:58:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-05 12:40:13 +0200 |
commit | 1d35f90dfe46cadc913e35f509669785cfa8ec18 (patch) | |
tree | 7e43524448d64bf8ddb797c7138856ebb0e41350 /sw/inc | |
parent | 4ada921dbb6a431b632cfccd06178dad68860ab6 (diff) |
SwDateTimeField::GetDateTime always dereferences its SwDoc*
ditto:
SwXFrameEnumeration ctor
lcl_ReAssignTOXType
Change-Id: Idaa6bef29cbc4c3a08d578ef4bedcaa071547944
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103928
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/flddat.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx index 66f13c98bf51..38c16c9039a3 100644 --- a/sw/inc/flddat.hxx +++ b/sw/inc/flddat.hxx @@ -68,7 +68,7 @@ public: Date GetDate() const; tools::Time GetTime() const; void SetDateTime(const DateTime& rDT); - static double GetDateTime(SwDoc* pDoc, const DateTime& rDT); + static double GetDateTime(SwDoc& rDoc, const DateTime& rDT); virtual bool QueryValue( css::uno::Any& rVal, sal_uInt16 nMId ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt16 nMId ) override; |