incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 121066] New: Some warning message show up, when building sw/source/filter/ww8/wrtww8.cxx
Date Thu, 20 Sep 2012 06:16:12 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=121066

          Priority: P3
            Bug ID: 121066
          Assignee: ooo-issues@incubator.apache.org
           Summary: Some warning message show up, when building
                    sw/source/filter/ww8/wrtww8.cxx
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: zheng.easyfan@gmail.com
          Hardware: All
            Status: CONFIRMED
           Version: AOO350-dev
         Component: code
           Product: word processor

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message