diff options
Diffstat (limited to 'idlc/source/astenum.cxx')
-rw-r--r-- | idlc/source/astenum.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx index e6855694bf4b..14318b7b1787 100644 --- a/idlc/source/astenum.cxx +++ b/idlc/source/astenum.cxx @@ -58,7 +58,7 @@ AstConstant* AstEnum::checkValue(AstExpression* pExpr) bool AstEnum::dump(RegistryKey& rKey) { RegistryKey localKey; - if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey)) + if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey) != RegError::NO_ERROR) { fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n", idlc()->getOptions()->getProgramName().getStr(), @@ -92,7 +92,7 @@ bool AstEnum::dump(RegistryKey& rKey) void const * pBlob = aBlob.getBlob(&aBlobSize); if (localKey.setValue(emptyStr, RegValueType::BINARY, - const_cast<RegValue>(pBlob), aBlobSize)) + const_cast<RegValue>(pBlob), aBlobSize) != RegError::NO_ERROR) { fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n", idlc()->getOptions()->getProgramName().getStr(), |