From ffbc494b2a139eabf062432f5b4fed3a4ce46382 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 4 Oct 2020 17:31:47 +0100 Subject: SwXAutoStylesEnumerator always dereferences its SwDoc* arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ditto: SwNumFormat::UpdateNumNodes SwEditShell::CopySelToDoc Change-Id: I5f18b04e420facb703fcace20c645281d409cea6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103923 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sw/inc/editsh.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc/editsh.hxx') diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 66226bc40d5a..b5d0068bd86a 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -200,7 +200,7 @@ public: If table is copied into table, move all cursors away from it. Copy and Paste must be in FEShell because of FlyFrames! Copy all selections to the document. */ - bool CopySelToDoc( SwDoc* pInsDoc ); + bool CopySelToDoc( SwDoc& rInsDoc ); void SplitNode( bool bAutoFormat = false, bool bCheckTableStart = true ); bool AppendTextNode(); -- cgit