diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-10 19:58:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-11 10:15:30 +0100 |
commit | c43d66e94e730299b5f1c9f924db7e33fbbc166d (patch) | |
tree | 9cdf0719782f87620ca87aa2222561dc88e0dfc0 /sc/source/ui/unoobj/viewuno.cxx | |
parent | 5adc93a9a9426ef79054751be2904896f787a8a2 (diff) |
ScFormatShell::pViewData is never null
Change-Id: I29831bae8656aea014dd278c5ee87eb5f9af8db5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109062
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/viewuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/viewuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 5390a7d0b903..957370396254 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -1648,7 +1648,7 @@ void ScTabViewObj::SelectionChanged() // Note: executing this slot through the dispatcher // will cause the style dialog to be raised so we go // direct here - ScFormatShell aShell( &GetViewShell()->GetViewData() ); + ScFormatShell aShell( GetViewShell()->GetViewData() ); SfxAllItemSet reqList( SfxGetpApp()->GetPool() ); SfxRequest aReq( SID_STYLE_END_PREVIEW, SfxCallMode::SLOT, reqList ); aShell.ExecuteStyle( aReq ); |