src/hbtools/hbbincssmaker/hboffsetmapbuilder.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
equal deleted inserted replaced
21:4633027730f5 23:e6ad4ef83b23
    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) {