diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 14:48:37 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-31 14:48:37 +0000 |
commit | ddecee5d97f4180b0d37827521fa593272ac13bc (patch) | |
tree | 529db4280e308bf39bf5f3c4ae1ba9b9b9211211 /registry/tools/regcompare.cxx | |
parent | e580620b4f07ee91b10e01db947c922bce9b47aa (diff) |
INTEGRATION: CWS sdksample (1.18.18); FILE MERGED
2004/10/27 15:58:26 jsc 1.18.18.1: #i29966# remove filename related APIs
Diffstat (limited to 'registry/tools/regcompare.cxx')
-rw-r--r-- | registry/tools/regcompare.cxx | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index 2118070fc15e..ffb5961106d4 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -2,9 +2,9 @@ * * $RCSfile: regcompare.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: obo $ $Date: 2004-06-04 02:46:32 $ + * last change: $Author: rt $ $Date: 2005-01-31 15:48:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -904,21 +904,6 @@ static sal_uInt32 checkField(const OUString& keyName, } nError++; } - if ( options.fullCheck() && - (reader1.getFieldFileName(index1) != reader2.getFieldFileName(index2)) ) - { - if ( options.forceOutput() && !options.unoTypeCheck() ) - { - if ( bDump ) - { - fprintf(stdout, "%s: %s\n", getTypeClass(typeClass), U2S(keyName)); - bDump = sal_False; - } - fprintf(stdout, " Field %d: FileName1 = %s != FileName2 = %s\n", index1, - U2S(reader1.getFieldFileName(index1)), U2S(reader2.getFieldFileName(index2))); - } - nError++; - } return nError; } @@ -1642,19 +1627,6 @@ static sal_uInt32 checkBlob(const OUString& keyName, typereg::Reader& reader1, s } nError++; } - if ( options.fullCheck() && (reader1.getFileName() != reader2.getFileName()) ) - { - if ( options.forceOutput() ) - { - if ( bDump ) - { - fprintf(stdout, "%s: %s\n", getTypeClass(typeClass), U2S(keyName)); - } - fprintf(stdout, " FileName1 = %s != FileName2 = %s\n", - U2S(reader1.getFileName()), U2S(reader2.getFileName())); - } - nError++; - } /* if ( nError && (!keyName.compareTo(OUString::createFromAscii("/UCR/drafts"), 11) || |