diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-24 16:31:23 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-26 14:25:29 +0200 |
commit | 3723784ace4cbc29f79f266e265e7b5ee35899c8 (patch) | |
tree | 21dd6d7f0680f57cbda815eab64ed2099f932417 /sw | |
parent | 20d7f29eabd72777ddbded0f1f11af40695da542 (diff) |
sal_uInt16 to int + constify
Change-Id: I408970c4e8e614886a01981d8f3599e3622a33a2
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index 95aa89f7482d..ded1c7859b1c 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -330,7 +330,7 @@ void SwView::SpellError(LanguageType eLang) #if OSL_DEBUG_LEVEL > 1 sal_Bool bFocus = GetEditWin().HasFocus(); #endif - sal_uInt16 nPend = 0; + int nPend = 0; if ( m_pWrtShell->ActionPend() ) { @@ -349,7 +349,7 @@ void SwView::SpellError(LanguageType eLang) #if OSL_DEBUG_LEVEL > 1 bFocus = rEditWin.HasFocus(); #endif - sal_uInt16 nWaitCnt = 0; + int nWaitCnt = 0; while( rEditWin.IsWait() ) { rEditWin.LeaveWait(); @@ -708,7 +708,7 @@ bool SwView::ExecSpellPopup(const Point& rPt) //! 'custom made' menu... *sigh* (code copied from sfx2 and framework) if ( pMenu ) { - sal_uInt16 nId = ((PopupMenu*)pMenu)->Execute(m_pEditWin, aPixPos); + const sal_uInt16 nId = ((PopupMenu*)pMenu)->Execute(m_pEditWin, aPixPos); OUString aCommand = ((PopupMenu*)pMenu)->GetItemCommand(nId); if (aCommand.isEmpty() ) { |