summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-03-30 14:39:54 +0200
committerMichael Stahl <mstahl@redhat.com>2016-03-30 14:42:47 +0200
commitba0a866b83f016fd460320e7d057dd107e019f19 (patch)
tree155cc41d0f52eeb52732df9d7d159fcfa45cc0c9 /sd/source/ui/view/drviewse.cxx
parent1f611f3bb3b3d30b2b30570a09b4477ffb585ce4 (diff)
tdf#96505: fix wrong SfxDispatcher::Execute calls ...
... that are now busted on all 64-bit platforms since commit 57d0caacee2f395be2e89b78f8ece2d47b2c8683 but were already busted only on 64-bit WNT before. SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall, const SfxPoolItem* pArg1, ...) assigns the varargs to a "const SfxPoolItem *", so passing in "0L" is only correct if long is 64-bit, but on WNT 64-bit long is 32-bit, so use "nullptr" already. Change-Id: I50448d8ad121c4881be549623d44c44b00e56d98
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r--sd/source/ui/view/drviewse.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 1599fb8e188f..d22f581206cc 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -619,7 +619,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
SfxUInt16Item aItem (SID_TEXTEDIT, 1);
GetViewFrame()->GetDispatcher()->
Execute(SID_TEXTEDIT, SfxCallMode::SYNCHRON |
- SfxCallMode::RECORD, &aItem, 0);
+ SfxCallMode::RECORD, &aItem, nullptr);
// Put text object into edit mode.
GetView()->SdrBeginTextEdit(static_cast<SdrTextObj*>(pObj), pPageView);
break;