You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/09/20 08:16:12 UTC

[Bug 121066] New: Some warning message show up, when building sw/source/filter/ww8/wrtww8.cxx

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 <Pa...@janik.cz> for reporting the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 121066] Some warning message show up, when building sw/source/filter/ww8/wrtww8.cxx

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121066

zhengfan <zh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ooo-issues@incubator.apache |zheng.easyfan@gmail.com
                   |.org                        |

-- 
You are receiving this mail because:
You are the assignee for the bug.