diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 10:58:00 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-02-03 10:58:00 +0000 |
commit | bf698bdb00df792feaadcc2c711de3f97e590273 (patch) | |
tree | 15d59d374401ae73a72f437d3674c8c6b40c6244 /idlc | |
parent | 4428e2789f265e60e231f342ca39d89a912042bd (diff) |
INTEGRATION: CWS sb10 (1.6.44); FILE MERGED
2003/12/10 09:01:20 sb 1.6.44.3: #114000# Reverted the feature to dump service descriptions even if no -C is given.
2003/10/31 10:47:42 sb 1.6.44.2: #112870# Correctly write out empty service descriptions.
2003/10/30 09:14:33 sb 1.6.44.1: #112870# Added preliminary code generation for services.
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/astdump.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx index db7757a07fbf..fb871a287cac 100644 --- a/idlc/source/astdump.cxx +++ b/idlc/source/astdump.cxx @@ -2,9 +2,9 @@ * * $RCSfile: astdump.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: jsc $ $Date: 2002-11-13 18:12:14 $ + * last change: $Author: hr $ $Date: 2004-02-03 11:58:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -353,18 +353,18 @@ sal_Bool AstService::dump(RegistryKey& rKey, RegistryTypeWriterLoader* pLoader) } ++iter; } + } - const sal_uInt8* pBlob = aBlob.getBlop(); - sal_uInt32 aBlobSize = aBlob.getBlopSize(); + const sal_uInt8* pBlob = aBlob.getBlop(); + sal_uInt32 aBlobSize = aBlob.getBlopSize(); - if (localKey.setValue(OUString(), RG_VALUETYPE_BINARY, - (RegValue)pBlob, aBlobSize)) - { - fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n", - idlc()->getOptions()->getProgramName().getStr(), - getFullName().getStr(), OUStringToOString(localKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr()); - return sal_False; - } + if (localKey.setValue(OUString(), RG_VALUETYPE_BINARY, + (RegValue)pBlob, aBlobSize)) + { + fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n", + idlc()->getOptions()->getProgramName().getStr(), + getFullName().getStr(), OUStringToOString(localKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr()); + return sal_False; } } return sal_True; |