diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-11 00:01:59 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-11 00:15:07 +0200 |
commit | 185b8bfc6796ec0a8cc701bf2de5df9cc6abd10d (patch) | |
tree | 71bc7fb65275ad5e2286822e2d3384c54885b733 /sfx2 | |
parent | 8ab07f99d6bd302ff38b292a3ec7c3695f19fd27 (diff) |
warning C4018: singed/unsigned mismatch
Change-Id: I2f0899086f656f117849521c933cce4c23b8751c
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/linkmgr2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx index 55f030cfcb52..591d96ac617f 100644 --- a/sfx2/source/appl/linkmgr2.cxx +++ b/sfx2/source/appl/linkmgr2.cxx @@ -139,7 +139,7 @@ void LinkManager::Remove( sal_uInt16 nPos, sal_uInt16 nCnt ) { if( nCnt && nPos < aLinkTbl.size() ) { - if( nPos + nCnt > aLinkTbl.size() ) + if (sal::static_int_cast<size_t>(nPos + nCnt) > aLinkTbl.size()) nCnt = aLinkTbl.size() - nPos; for( sal_uInt16 n = nPos; n < nPos + nCnt; ++n) |