]> err.no Git - sope/blobdiff - sope-gdl1/GDLContentStore/GCSFolderType.m
fixed for OGo bug #1906
[sope] / sope-gdl1 / GDLContentStore / GCSFolderType.m
index e59e389dc967182425475b875893059e3025e358..76f2d36bb3ca410e17e1e31bb125f739cc6c96bd 100644 (file)
 - (GCSFieldExtractor *)quickExtractor {
   Class clazz;
   
-  if (self->extractor)
-    return [self->extractor isNotNull] ? self->extractor : nil;
+  if (self->extractor != nil) {
+    return [self->extractor isNotNull]
+      ? self->extractor : (GCSFieldExtractor *)nil;
+  }
 
   clazz = self->extractorClassName
     ? NSClassFromString(self->extractorClassName)
   NSMutableString *ms;
 
   ms = [NSMutableString stringWithCapacity:256];
-  [ms appendFormat:@"<0x%08X[%@]:", self, NSStringFromClass([self class])];
+  [ms appendFormat:@"<0x%p[%@]:", self, NSStringFromClass([self class])];
 
   [ms appendFormat:@" blobtable='%@'",  self->blobTablePattern];
   [ms appendFormat:@" quicktable='%@'", self->quickTablePattern];