diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-01-18 21:33:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-01-19 10:00:52 +0100 |
commit | e720e90174cb141531d79c715373fa92f9a9834a (patch) | |
tree | 86857e85b0fb3fedb3d249a98af61fa7780f0c05 /sc/source | |
parent | 2ee4a46be759489328eb29feeb02880aab1e1331 (diff) |
SfxReqest::Done takes a SfxItemSet& or a boolean, not a SfxItemSet*
regression from
commit c40dfabd56ade10fe35690dc9810955c2e99e2c0
Date: Fri Jan 12 11:57:22 2018 +0000
Change-Id: Ia97ba286a2da0584a2e806ad7396a3633f9d913e
Reviewed-on: https://gerrit.libreoffice.org/48160
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/tabvwsha.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx index e391c28ffeda..67911a29c91d 100644 --- a/sc/source/ui/view/tabvwsha.cxx +++ b/sc/source/ui/view/tabvwsha.cxx @@ -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); } |