Apache OpenOffice (AOO) Bugzilla – Issue 121066
Some warning message show up, when building sw/source/filter/ww8/wrtww8.cxx
Last modified: 2017-05-20 11:01:00 UTC
svn commit: r1386590 - in /incubator/ooo/trunk: ./ main/sw/inc/ main/sw/source/core/doc/ main/sw/source/core/tox/ main/sw/source/filter/ww8/ main/sw/source/filter/ww8/dump/ main/sw/source/ui/index/ test/ test/testcommon/source/org/openoffice/test > +void WW8_WrtBookmarks::MoveFieldMarks(sal_uLong nFrom,sal_uLong nTo) > +{ > + std::pair<CPItr,CPItr> aRange = aSttCps.equal_range(nFrom); > + CPItr aItr = aRange.first; > + while (aItr != aRange.second) > + { > + if (aItr->second) > + { > + if (aItr->second->first == nFrom) the last line is a source of compiler warning: sw/source/filter/ww8/wrtww8.cxx: In member function ‘void WW8_WrtBookmarks::MoveFieldMarks(sal_uLong, sal_uLong)’: sw/source/filter/ww8/wrtww8.cxx:315: warning: comparison between signed and unsigned integer expressions Thanks Pavel Janík <Pavel@janik.cz> for reporting the issue.
Created attachment 79613 [details] The patch for reivew
Compiles cleanly (the patch is missing new line at the end of the file though).
Reset assigne to the default "issues@openoffice.apache.org".