diff options
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index f17f9768252c..860f4a8c2582 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1520,9 +1520,9 @@ void SmViewShell::Execute(SfxRequest& rReq) { if (pWin->IsAllSelected()) { - GetViewFrame()->GetDispatcher()->Execute( + GetViewFrame()->GetDispatcher()->ExecuteList( SID_COPYOBJECT, SfxCallMode::RECORD, - new SfxVoidItem(SID_COPYOBJECT), 0); + { new SfxVoidItem(SID_COPYOBJECT) }); } else pWin->Copy(); @@ -1546,9 +1546,9 @@ void SmViewShell::Execute(SfxRequest& rReq) } if( bCallExec ) { - GetViewFrame()->GetDispatcher()->Execute( + GetViewFrame()->GetDispatcher()->ExecuteList( SID_PASTEOBJECT, SfxCallMode::RECORD, - new SfxVoidItem(SID_PASTEOBJECT), 0); + { new SfxVoidItem(SID_PASTEOBJECT) }); } } break; |