summaryrefslogtreecommitdiff
path: root/sw/inc/docsh.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-03 18:57:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-04 15:03:54 +0200
commitfd7b0c9e64e32640bde911a71d6f17dd3e4268ec (patch)
tree390e45e8ab9166b4022492bf86202b8c718456e8 /sw/inc/docsh.hxx
parent5ec50565b35f3a776dffb7afc33a985e5ea6409f (diff)
the SwDocShell(SwDoc*, ...) variant is never passed a null SwDoc*
Change-Id: I4b492f46a6c017746fa2665f677f5a39519c3614 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103905 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/docsh.hxx')
-rw-r--r--sw/inc/docsh.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 6dc7fdf21f35..d58a3fdb9844 100644
--- a/sw/inc/docsh.hxx
+++ b/sw/inc/docsh.hxx
@@ -177,7 +177,7 @@ public:
/// Doc is required for SO data exchange!
SwDocShell( SfxObjectCreateMode eMode = SfxObjectCreateMode::EMBEDDED );
SwDocShell( SfxModelFlags i_nSfxCreationFlags );
- SwDocShell( SwDoc *pDoc, SfxObjectCreateMode eMode );
+ SwDocShell( SwDoc& rDoc, SfxObjectCreateMode eMode );
virtual ~SwDocShell() override;
/// OLE 2.0-notification.