diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-14 13:22:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-14 15:48:43 +0100 |
commit | 2dfe7702a08e74a140f2e55f1625ab780f0e8c2a (patch) | |
tree | cdc7fb68f59f3b291fb323987076fee26f20ed27 /sd | |
parent | 12e878d3b5e8a59079811c36b7c89e588266dd0e (diff) |
coverity#1441522 FontWorkGalleryDialog mpSdrView member is never null
Change-Id: If17d2984831b0881d39101648206accdadde12aa
Reviewed-on: https://gerrit.libreoffice.org/65163
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 57cbcfda0424..1a5d520cd9b1 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -1284,7 +1284,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_DRAW_FONTWORK: case SID_DRAW_FONTWORK_VERTICAL: { - svx::FontworkBar::execute( mpView, rReq, GetViewFrame()->GetBindings() ); // SJ: can be removed (I think) + svx::FontworkBar::execute(*mpView, rReq, GetViewFrame()->GetBindings()); // SJ: can be removed (I think) Cancel(); rReq.Done(); } @@ -3103,7 +3103,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_FONTWORK_CHARACTER_SPACING_FLOATER: case SID_FONTWORK_ALIGNMENT_FLOATER: case SID_FONTWORK_CHARACTER_SPACING_DIALOG: - svx::FontworkBar::execute( mpDrawView.get(), rReq, GetViewFrame()->GetBindings() ); + svx::FontworkBar::execute(*mpDrawView, rReq, GetViewFrame()->GetBindings()); Cancel(); rReq.Ignore (); break; |