Apache OpenOffice (AOO) Bugzilla – Issue 123948
fix class/struct mismatches
Last modified: 2014-04-01 12:23:15 UTC
C++ classes and structs behave very similarly, except that their default access is different: classes default to "private" access whereas structs default to "public" access. Because of this similarity many compilers treat tolerate that both are treated the same, even though they are different types. Mixing class and struct declarations/defines is very dubious and it violates the "one definition rule". These mixups should be eliminated from the AOO codebase to improve its C++ compliance-
"hdu" committed SVN revision 1555078 into trunk: #i123948# fix struct/class mismatch of PrefetchPropertiesFunc's forward decla...
"hdu" committed SVN revision 1556523 into trunk: #i123948# fix struct/class mismatch from PropertyValue forward declaration
"hdu" committed SVN revision 1560054 into trunk: #i123948# fix more class/struct mismatches
@Herbert: Is this issue solved already?
Fixed with the commits above.
Closing the resolved issue.