diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-26 12:25:09 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-26 14:25:33 +0200 |
commit | 044159d82d8551a41c1ffad9fe897932f64e8d39 (patch) | |
tree | bae697bd3f045b49aa507501dd9e41bafc931631 /sw | |
parent | b9f27c0529207c0f78e27e2ae67da3c7cae72e01 (diff) |
sal_uInt16 to short, constify
Change-Id: Id7f6e69aeec4f3ed20611d798214777ca0966a7c
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/textidx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx index b6f55f36dd43..e3a6d48d8010 100644 --- a/sw/source/uibase/shells/textidx.cxx +++ b/sw/source/uibase/shells/textidx.cxx @@ -45,7 +45,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq) { const SfxItemSet *pArgs = rReq.GetArgs(); const SfxPoolItem* pItem = 0; - sal_uInt16 nSlot = rReq.GetSlot(); + const sal_uInt16 nSlot = rReq.GetSlot(); if(pArgs) pArgs->GetItemState(nSlot, false, &pItem ); @@ -79,7 +79,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq) case FN_EDIT_IDX_ENTRY_DLG: { SwTOXMgr aMgr(GetShellPtr()); - sal_uInt16 nRet = RET_OK; + short nRet = RET_OK; if(aMgr.GetTOXMarkCount() > 1) { // Several marks, which should it be? SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); |