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 2013/11/15 17:05:35 UTC

[Bug 123693] New: const type qualifier on return type has no effect

https://issues.apache.org/ooo/show_bug.cgi?id=123693

            Bug ID: 123693
        Issue Type: DEFECT
           Summary: const type qualifier on return type has no effect
           Product: General
           Version: 4.0.1
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P4
         Component: code
          Assignee: hdu@apache.org
          Reporter: hdu@apache.org
                CC: issues@openoffice.apache.org
            Blocks: 122766

The C++ standard requests that non-class type rvalues are never
const-qualified. All compilers still allow it but warn about the confusing
construct and ignore it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Issue 123693] const type qualifier on return type has no effect

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

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #5 from hdu@apache.org <hd...@apache.org> ---
Closing the resolved issue.

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Bug 123693] const type qualifier on return type has no effect

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

--- Comment #1 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1542958 into trunk:
#i123693# WaE: const type qualifier ignored on return value

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123693] const type qualifier on return type has no effect

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

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.1.0

--- Comment #2 from hdu@apache.org <hd...@apache.org> ---
The commit above fixed a lot of noisy warning (117 times on LX64). Mostly
because the often-used zformat header file is used a lot and its problems were
reported every time it was included.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123693] const type qualifier on return type has no effect

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

--- Comment #4 from hdu@apache.org <hd...@apache.org> ---
And the commit above fixes another 70 warnings, all caused by the one method
OOXMLStream::getIDForXNoteStream() requesting a nonsensical "const" for its
integer return value.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123693] const type qualifier on return type has no effect

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

--- Comment #3 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1556469 into trunk:
#i123693# WaE: const type qualifier ignored on return value

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123693] const type qualifier on return type has no effect

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

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.