summaryrefslogtreecommitdiffstats
path: root/quanta/parts/kafka/kafkacommon.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-12 20:17:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-12 20:17:26 +0000
commit69aa74860a18517762167b5bbd832321299dfc76 (patch)
tree7d712c7b65c2721e375de315d07affbd05a977ad /quanta/parts/kafka/kafkacommon.cpp
parent042dc76a36d755237893cc95628cf137b4f76543 (diff)
downloadtdewebdev-69aa74860a18517762167b5bbd832321299dfc76.tar.gz
tdewebdev-69aa74860a18517762167b5bbd832321299dfc76.zip
Fix kdewebdev FTBFS under oneiricv3.5.13
Quanta lvalue gcc error patch provided by "/dev/ammo42" git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1258664 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parts/kafka/kafkacommon.cpp')
-rw-r--r--quanta/parts/kafka/kafkacommon.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/quanta/parts/kafka/kafkacommon.cpp b/quanta/parts/kafka/kafkacommon.cpp
index 9d0c7cdf..94569fe2 100644
--- a/quanta/parts/kafka/kafkacommon.cpp
+++ b/quanta/parts/kafka/kafkacommon.cpp
@@ -740,17 +740,18 @@ void kafkaCommon::fitsNodesPosition(Node* startNode, int colMovement, int lineMo
beginCol, lastLine + lineMovement, lastCol);
for(j = 0; j < node->tag->attrCount(); ++j)
{
- if(node->tag->getAttribute(j).nameLine == SNbeginLine)
+ TagAttr* ta = node->tag->getAttribute_gcc46(j);
+ if(ta->nameLine == SNbeginLine)
{
- node->tag->getAttribute(j).nameLine += lineMovement;
- node->tag->getAttribute(j).nameCol += colMovement;
- node->tag->getAttribute(j).valueLine += lineMovement;
- node->tag->getAttribute(j).valueCol += colMovement;
+ ta->nameLine += lineMovement;
+ ta->nameCol += colMovement;
+ ta->valueLine += lineMovement;
+ ta->valueCol += colMovement;
}
else
{
- node->tag->getAttribute(j).nameLine += lineMovement;
- node->tag->getAttribute(j).valueLine += lineMovement;
+ ta->nameLine += lineMovement;
+ ta->valueLine += lineMovement;
}
}
node = getNextNode(node, b);