diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-26 08:17:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-26 10:57:13 +0200 |
commit | d1b0dbcbd7016fea59b4a509d95045f643b9eeec (patch) | |
tree | 2b1bbfabc60fdfa8c345e7db2d13bae5feba4f71 /sd/source/ui/table | |
parent | 8061cd765c7854667550d6aafda5832715648876 (diff) |
sal_uLong->sal_uInt16
Change-Id: I5e62c090978cabe3cc9b065fdd2b0e2a235557f4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152293
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/table')
-rw-r--r-- | sd/source/ui/table/tableobjectbar.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx index 62d81d9805df..6dfd86928530 100644 --- a/sd/source/ui/table/tableobjectbar.cxx +++ b/sd/source/ui/table/tableobjectbar.cxx @@ -116,7 +116,7 @@ void TableObjectBar::Execute( SfxRequest& rReq ) SfxBindings* pBindings = &mpViewSh->GetViewFrame()->GetBindings(); rtl::Reference< sdr::SelectionController > xController( mpView->getSelectionController() ); - sal_uLong nSlotId = rReq.GetSlot(); + sal_uInt16 nSlotId = rReq.GetSlot(); if( xController.is() ) { switch( nSlotId ) @@ -160,10 +160,10 @@ void TableObjectBar::Execute( SfxRequest& rReq ) else nSlotId = SID_TABLE_INSERT_COL; - rReq.AppendItem(SfxInt16Item(static_cast<sal_uInt16>(nSlotId), nCount)); + rReq.AppendItem(SfxInt16Item(nSlotId, nCount)); rReq.AppendItem(SfxBoolItem(SID_TABLE_PARAM_INSERT_AFTER, bInsertAfter)); - rReq.SetSlot( static_cast<sal_uInt16>(nSlotId) ); + rReq.SetSlot( nSlotId ); } } |