Kaydet (Commit) 044159d8 authored tarafından Matteo Casalin's avatar Matteo Casalin

sal_uInt16 to short, constify

Change-Id: Id7f6e69aeec4f3ed20611d798214777ca0966a7c
üst b9f27c05
...@@ -45,7 +45,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq) ...@@ -45,7 +45,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq)
{ {
const SfxItemSet *pArgs = rReq.GetArgs(); const SfxItemSet *pArgs = rReq.GetArgs();
const SfxPoolItem* pItem = 0; const SfxPoolItem* pItem = 0;
sal_uInt16 nSlot = rReq.GetSlot(); const sal_uInt16 nSlot = rReq.GetSlot();
if(pArgs) if(pArgs)
pArgs->GetItemState(nSlot, false, &pItem ); pArgs->GetItemState(nSlot, false, &pItem );
...@@ -79,7 +79,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq) ...@@ -79,7 +79,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq)
case FN_EDIT_IDX_ENTRY_DLG: case FN_EDIT_IDX_ENTRY_DLG:
{ {
SwTOXMgr aMgr(GetShellPtr()); SwTOXMgr aMgr(GetShellPtr());
sal_uInt16 nRet = RET_OK; short nRet = RET_OK;
if(aMgr.GetTOXMarkCount() > 1) if(aMgr.GetTOXMarkCount() > 1)
{ // Several marks, which should it be? { // Several marks, which should it be?
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
......
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