diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-02-16 15:45:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-02-17 08:49:11 +0000 |
commit | 7183d259d0d8bf8020da1aa06c963581d2bf779f (patch) | |
tree | eb585467413710892a505cb37fc0aecc50e4f8ab /starmath | |
parent | eefa8e8110c432be36e1cd5d166b5f5676a7e5ca (diff) |
SfxViewFrame* arg of SfxRequest ctor always dereferenced
change it to take a reference
Change-Id: Ib9349f4c2660d297d93ee81256e7fa9873728ba3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147163
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index d4f34185af57..0cc5a385d149 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -719,10 +719,10 @@ bool SmGraphicWidget::KeyInput(const KeyEvent& rKEvt) rCursor.Paste(); break; case KeyFuncType::UNDO: - GetDoc()->Execute(o3tl::temporary(SfxRequest(GetView().GetFrame(), SID_UNDO))); + GetDoc()->Execute(o3tl::temporary(SfxRequest(*GetView().GetFrame(), SID_UNDO))); break; case KeyFuncType::REDO: - GetDoc()->Execute(o3tl::temporary(SfxRequest(GetView().GetFrame(), SID_REDO))); + GetDoc()->Execute(o3tl::temporary(SfxRequest(*GetView().GetFrame(), SID_REDO))); break; default: switch (rKEvt.GetKeyCode().GetCode()) |