summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-12-07 14:54:12 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-12-07 14:54:12 +0000
commit66519be4e9e4d24a93b593263e9f3759e59aca56 (patch)
tree011e3b435fd0747a1719d82e7c11cd7d1800cfba /registry
parent9a4838415c7b71a40c3673d1a9fb457e83ec73f7 (diff)
#94649# add changes to check drafts tpyes special
Diffstat (limited to 'registry')
-rw-r--r--registry/tools/regcompare.cxx21
1 files changed, 19 insertions, 2 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx
index 0c0614c322c2..aa24528b69ed 100644
--- a/registry/tools/regcompare.cxx
+++ b/registry/tools/regcompare.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: regcompare.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: jsc $ $Date: 2001-12-07 14:52:03 $
+ * last change: $Author: jsc $ $Date: 2001-12-07 15:54:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1608,6 +1608,23 @@ static sal_uInt32 checkBlob(const OUString& keyName, RegistryTypeReader& reader1
}
nError++;
}
+
+ if ( nError &&
+ (!keyName.compareTo(OUString::createFromAscii("/UCR/drafts"), 11) ||
+ !keyName.compareTo(OUString::createFromAscii("/drafts"), 7)) )
+ {
+ if ( options.forceOutput() )
+ {
+ if ( bDump )
+ {
+ fprintf(stderr, "%s: %s\n", getTypeClass(typeClass), U2S(keyName));
+ bDump = sal_False;
+ }
+ fprintf(stderr, " Note: \"drafts\" type changed incompatible, no effect to the final API\n");
+ }
+ return 0;
+ }
+
return nError;
}