Kaydet (Commit) 15f90918 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735536 Logically dead code

Change-Id: I92f3abe7e6dbc45455a531c0965ce14936b4f86e
üst 477a294e
...@@ -1170,10 +1170,10 @@ static OUString lcl_GenerateFldTypeName(OUString sPrefix, SwTableNode* pTableNod ...@@ -1170,10 +1170,10 @@ static OUString lcl_GenerateFldTypeName(OUString sPrefix, SwTableNode* pTableNod
do do
{ {
// this is crazy, but just in case all names are taken: exit gracefully // this is crazy, but just in case all names are taken: exit gracefully
if (nCount < 0) if (nCount == SAL_MAX_INT32)
return sName; return sName;
nCount++; ++nCount;
sName = sPrefixStr; sName = sPrefixStr;
sName += OUString::number(nCount); sName += OUString::number(nCount);
......
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