summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 49939ab14edf..c0ffe06de98a 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -566,7 +566,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
{
ScDocument& rDoc = GetDocument();
// get argument (recorded macro)
- SFX_REQUEST_ARG(rReq, pItem, SfxBoolItem, FID_CHG_RECORD);
+ const SfxBoolItem* pItem = rReq.GetArg<SfxBoolItem>(FID_CHG_RECORD);
bool bDo = true;
// xmlsec05/06: