diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-24 15:09:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-25 15:40:15 +0100 |
commit | 3dacf98b70088e6435fb46c3e225bea35a451028 (patch) | |
tree | a222c973d25f69b957bff6429c337809e766a530 /sc/source/ui/drawfunc | |
parent | 3a713e78a03f8200668ce146b153e12384de5bee (diff) |
weld SfxMacroAssignDlg
Change-Id: I80045f1d1ca189fc490dc88b3471d68782df6f1c
Reviewed-on: https://gerrit.libreoffice.org/63976
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r-- | sc/source/ui/drawfunc/drawsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx index 41923ef3db05..4d68e8365fd2 100644 --- a/sc/source/ui/drawfunc/drawsh.cxx +++ b/sc/source/ui/drawfunc/drawsh.cxx @@ -116,7 +116,7 @@ void ScDrawShell::ExecDrawAttr( SfxRequest& rReq ) case SID_ASSIGNMACRO: { if ( pSingleSelectedObj ) - ExecuteMacroAssign( pSingleSelectedObj, pWin ); + ExecuteMacroAssign(pSingleSelectedObj, pWin ? pWin->GetFrameWeld() : nullptr); } break; @@ -318,7 +318,7 @@ void ScDrawShell::ExecDrawAttr( SfxRequest& rReq ) } } -void ScDrawShell::ExecuteMacroAssign( SdrObject* pObj, vcl::Window* pWin ) +void ScDrawShell::ExecuteMacroAssign(SdrObject* pObj, weld::Window* pWin) { SvxMacroItem aItem ( SfxGetpApp()->GetPool().GetWhich( SID_ATTR_MACROITEM ) ); ScMacroInfo* pInfo = ScDrawLayer::GetMacroInfo( pObj, true ); |