Kaydet (Commit) 54cb92d1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1169807 Operands don't affect result

Change-Id: Ie96de8af75be60435f00593ca33d1dff2f42a02c
üst 24c5cac4
...@@ -2062,7 +2062,7 @@ void EditDoc::Release(sal_Int32 nPos) ...@@ -2062,7 +2062,7 @@ void EditDoc::Release(sal_Int32 nPos)
sal_Int32 EditDoc::Count() const sal_Int32 EditDoc::Count() const
{ {
sal_Int32 nSize = maContents.size(); size_t nSize = maContents.size();
if (nSize > SAL_MAX_INT32) if (nSize > SAL_MAX_INT32)
{ {
SAL_WARN( "editeng", "EditDoc::Count - overflow " << nSize); SAL_WARN( "editeng", "EditDoc::Count - overflow " << nSize);
......
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