summaryrefslogtreecommitdiff
path: root/sw/inc/numrule.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-01 20:48:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-02 13:19:39 +0200
commit597a746b38c4b3cb860cc997d532029d56a9f75a (patch)
treefeba25b5dd6f4bf45a387534586a9b7063f36666 /sw/inc/numrule.hxx
parentd9c763e5428379166b96a46295a1cb41120e6eea (diff)
SwNumRule::CheckCharFormats never passed null SwDoc*
Change-Id: I9f33af6cdf02e24a2a4da0694dda3a266832c0a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103822 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index a4e986a9ae9c..ae6405424518 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -218,7 +218,7 @@ public:
/** Tests whether the CharFormats are from the given doc
and copies them if appropriate. */
- void CheckCharFormats( SwDoc* pDoc );
+ void CheckCharFormats( SwDoc& rDoc );
const OUString& GetName() const { return msName; }