summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/drawsh.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-09-30 12:22:37 +0000
committerRüdiger Timm <rt@openoffice.org>2008-09-30 12:22:37 +0000
commit0ff7779e8c64cbe9c60ecc8030b145817c0af9ea (patch)
tree046b6f5851cc0c53722497d750c2283e1becc418 /sc/source/ui/drawfunc/drawsh.cxx
parent5c0ecf9b570c595d6c19b86a279d9d8c45afbd20 (diff)
CWS-TOOLING: integrate CWS docmacroassignments_DEV300
Diffstat (limited to 'sc/source/ui/drawfunc/drawsh.cxx')
-rw-r--r--sc/source/ui/drawfunc/drawsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx
index 77f1ec3e6e26..699cd86d705b 100644
--- a/sc/source/ui/drawfunc/drawsh.cxx
+++ b/sc/source/ui/drawfunc/drawsh.cxx
@@ -331,7 +331,7 @@ void ScDrawShell::ExecuteMacroAssign( SdrObject* pObj, Window* pWin )
SfxItemSet* pItemSet = new SfxItemSet(SFX_APP()->GetPool(), SID_ATTR_MACROITEM, SID_ATTR_MACROITEM );
pItemSet->Put ( aItem, SID_ATTR_MACROITEM );
- SfxMacroAssignDlg aDlg( pWin, *pItemSet );
+ SfxMacroAssignDlg aDlg( pWin, GetObjectShell(), *pItemSet );
SfxMacroTabPage *pMacroPage = (SfxMacroTabPage*) aDlg.GetTabPage();
pMacroPage->AddEvent( ScResId(RID_SCSTR_ONCLICK),
SFX_EVENT_MOUSECLICK_OBJECT);