--- a/src/hbtools/hbbincssmaker/main.cpp Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbtools/hbbincssmaker/main.cpp Tue Jul 06 14:36:53 2010 +0300
@@ -135,13 +135,13 @@
void testLayoutDef(const HbWidgetLoader::LayoutDefinition *layoutDef)
{
- VERBOSELN("mesh items count: " << layoutDef->meshItems.count());
- for (int i = 0; i < layoutDef->meshItems.count(); ++i) {
- const HbWidgetLoader::MeshItem &meshItem = layoutDef->meshItems.at(i);
- VERBOSELN("src: " << meshItem.src);
- VERBOSELN("dst: " << meshItem.dst);
- VERBOSELN("spacing text: " << meshItem.spacingText);
- VERBOSELN("spacer: " << meshItem.spacer);
+ VERBOSELN("anchor items count: " << layoutDef->anchorItems.count());
+ for (int i = 0; i < layoutDef->anchorItems.count(); ++i) {
+ const HbWidgetLoader::AnchorItem &anchorItem = layoutDef->anchorItems.at(i);
+ VERBOSELN("srcId: " << anchorItem.srcId);
+ VERBOSELN("dstId: " << anchorItem.dstId);
+ VERBOSELN("prefLength text: " << anchorItem.prefText);
+ VERBOSELN("anchorId: " << anchorItem.anchorId);
}
}
@@ -443,6 +443,7 @@
// Create shared cache to shared memory.
QByteArray data(offsetMap.result());
bool success = false;
+
if (shared->createSharedCache(data.data(), data.size(), offsetMap.size())) {
// Defragment the chunk contents before dumping it in a file
int endOffset = HbCssConverterUtils::defragmentChunk();