Kaydet (Commit) e720e901 authored tarafından Caolán McNamara's avatar Caolán McNamara

SfxReqest::Done takes a SfxItemSet& or a boolean, not a SfxItemSet*

regression from

commit c40dfabd
Date:   Fri Jan 12 11:57:22 2018 +0000

Change-Id: Ia97ba286a2da0584a2e806ad7396a3633f9d913e
Reviewed-on: https://gerrit.libreoffice.org/48160Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 2ee4a46b
......@@ -551,8 +551,6 @@ void ScTabViewShell::ExecuteCellFormatDlg(SfxRequest& rReq, const OString &rName
{
const SfxItemSet* pOutSet = pDlg->GetOutputItemSet();
assert(pOutSet);
const SfxPoolItem* pItem=nullptr;
if(pOutSet->GetItemState(SID_ATTR_NUMBERFORMAT_INFO,true,&pItem)==SfxItemState::SET)
{
......@@ -561,7 +559,7 @@ void ScTabViewShell::ExecuteCellFormatDlg(SfxRequest& rReq, const OString &rName
ApplyAttributes(pOutSet, pOldSet.get());
pRequest->Done(pOutSet);
pRequest->Done(*pOutSet);
}
}, pDlg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment