Apache OpenOffice (AOO) Bugzilla – Issue 123693
const type qualifier on return type has no effect
Last modified: 2014-04-01 12:28:50 UTC
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.
"hdu" committed SVN revision 1542958 into trunk: #i123693# WaE: const type qualifier ignored on return value
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.
"hdu" committed SVN revision 1556469 into trunk: #i123693# WaE: const type qualifier ignored on return value
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.
Closing the resolved issue.