summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-02-15 19:52:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-02-16 09:24:57 +0000
commitdc214bcff335024f21c208e239cc36232d611145 (patch)
tree3bc0fe3cdb032a0f195469da70a75ddb444704a8 /sw/source/uibase/inc
parent2f0b16a6a9bfff1646b14412e5918b6d483b9cdc (diff)
SfxViewShell never takes a null SfxViewFrame*
Change-Id: I36f3a5c77a7fb2d3cf267184e403e6cd24dbd70b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147112 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/pview.hxx2
-rw-r--r--sw/source/uibase/inc/srcview.hxx2
-rw-r--r--sw/source/uibase/inc/wview.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx
index f37a55863bb8..af0f31d94788 100644
--- a/sw/source/uibase/inc/pview.hxx
+++ b/sw/source/uibase/inc/pview.hxx
@@ -293,7 +293,7 @@ public:
*/
void SetVScrollbarThumbPos( const sal_uInt16 _nNewThumbPos );
- SwPagePreview( SfxViewFrame* pFrame, SfxViewShell* );
+ SwPagePreview(SfxViewFrame& rFrame, SfxViewShell*);
virtual ~SwPagePreview() override;
};
diff --git a/sw/source/uibase/inc/srcview.hxx b/sw/source/uibase/inc/srcview.hxx
index caaecad67d6d..4b540aed2faa 100644
--- a/sw/source/uibase/inc/srcview.hxx
+++ b/sw/source/uibase/inc/srcview.hxx
@@ -56,7 +56,7 @@ private:
static void InitInterface_Impl();
public:
- SwSrcView(SfxViewFrame* pFrame, SfxViewShell*);
+ SwSrcView(SfxViewFrame& rFrame, SfxViewShell*);
virtual ~SwSrcView() override;
diff --git a/sw/source/uibase/inc/wview.hxx b/sw/source/uibase/inc/wview.hxx
index 1aa807b2ff21..90ce5af8940f 100644
--- a/sw/source/uibase/inc/wview.hxx
+++ b/sw/source/uibase/inc/wview.hxx
@@ -36,7 +36,7 @@ private:
static void InitInterface_Impl();
public:
- SwWebView(SfxViewFrame* pFrame, SfxViewShell*);
+ SwWebView(SfxViewFrame& rFrame, SfxViewShell*);
virtual ~SwWebView() override;
};