HomeFreeBSD

MFH: r432098

Description

MFH: r432098

editors/openoffice-devel: unbreak with clang 4.0

main/desktop/source/app/officeipcthread.cxx:228:14: error: ordered comparison between pointer and zero ('rtlDigest' (aka 'void *') and 'int')

if ( handle > 0 )
     ~~~~~~ ^ ~

main/desktop/source/deployment/misc/dp_misc.cxx:106:16: error: ordered comparison between pointer and zero ('rtlDigest' (aka 'void *') and 'int')

if (digest <= 0) {
    ~~~~~~ ^  ~

main/sd/source/ui/view/viewshe3.cxx:229:48: error: ordered comparison between pointer and zero ('SdPage *' and 'int')

if (pDocument->GetSdPage(0, ePageKind) > 0)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

PR: 216206
Submitted by: pfg
Obtained from: upstream
Approved by: ports-secteam blanket

Details

Provenance
jbeichAuthored on
Parents
rP432098: editors/openoffice-devel: unbreak with clang 4.0
Branches
Unknown
Tags
Unknown