diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-05 09:59:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-05 18:35:23 +0200 |
commit | a4dbf43bf505980e6acc587aa13096c215aa99e9 (patch) | |
tree | 7163b8fd29e547891ac180153c8accc37f34c146 /sw/source/core/unocore | |
parent | c9e3952e76a9c06d5a1d2f583829ce9eb5b9df64 (diff) |
SwGetRefFieldType ctor never passed a null SwDoc*
ditto:
SwFEShell::Copy
SwEditShell::Copy
SwFEShell::CopyDrawSel
SwFEShell::Paste
SwChartDataProvider ctor
ResetInDoc family
Change-Id: I2d1544c09919f0e566fadc04d3b160b18ea62fc7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103957
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/unocore')
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index 666ed4a3dd57..8bc55cc0487e 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -502,9 +502,9 @@ static void SortSubranges( uno::Sequence< OUString > &rSubRanges, bool bCmpByCol } } -SwChartDataProvider::SwChartDataProvider( const SwDoc* pSwDoc ) : +SwChartDataProvider::SwChartDataProvider( const SwDoc& rSwDoc ) : m_aEventListeners( GetChartMutex() ), - m_pDoc( pSwDoc ) + m_pDoc( &rSwDoc ) { m_bDisposed = false; } |