diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-02-16 10:42:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-02-16 15:13:21 +0000 |
commit | 0908c7c1184ab7acb7b6f6740a82c2f12c296fae (patch) | |
tree | 7bfe09dce871f6f2bc59a81b689d7ab5a3a6f3ea /starmath/inc | |
parent | e71080e19365aa074c56d1136dad2b09783949a2 (diff) |
SfxViewShell::GetViewFrame never returns null, change to a reference
various null checks can be seen to be redundant and removed
Change-Id: Icf49c1de4b0302795d2769a370af3abceaad0221
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147147
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/view.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index 662923af0528..bef51e8560e0 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -296,7 +296,7 @@ public: SmDocShell * GetDoc() const { - return static_cast<SmDocShell *>( GetViewFrame()->GetObjectShell() ); + return static_cast<SmDocShell *>( GetViewFrame().GetObjectShell() ); } SmEditWindow * GetEditWindow(); |