equal
deleted
inserted
replaced
37 bool HbOffsetMapBuilder::addWidgetOffsets(const QString &className, |
37 bool HbOffsetMapBuilder::addWidgetOffsets(const QString &className, |
38 const QFileInfo *fileInfo, |
38 const QFileInfo *fileInfo, |
39 qptrdiff offsets[]) |
39 qptrdiff offsets[]) |
40 { |
40 { |
41 if (!fileInfo) { |
41 if (!fileInfo) { |
42 return true; |
42 return true; |
43 } |
43 } |
44 bool retValue = true; |
44 bool retValue = true; |
45 quint32 nameHash = HbSharedCache::hash(QStringRef(&className)); |
45 quint32 nameHash = HbSharedCache::hash(QStringRef(&className)); |
46 HbBinMakerOffsetItem mapItem = mMapItems.value(nameHash, HbBinMakerOffsetItem()); |
46 HbBinMakerOffsetItem mapItem = mMapItems.value(nameHash, HbBinMakerOffsetItem()); |
47 if (mapItem.isNull()) { |
47 if (mapItem.isNull()) { |
48 if (fileInfo) { |
48 if (fileInfo) { |