summaryrefslogtreecommitdiffstats
path: root/quanta/parsers
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/parsers
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/parsers')
-rw-r--r--quanta/parsers/tag.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/quanta/parsers/tag.h b/quanta/parsers/tag.h
index de7e0123..073e9568 100644
--- a/quanta/parsers/tag.h
+++ b/quanta/parsers/tag.h
@@ -88,6 +88,9 @@ public:
void addAttribute(TagAttr attr) {attrs.append(attr);}
/** Get the attribute number index */
TagAttr getAttribute(uint index) const {return attrs[index];}
+ /* /!\ KLUDGE WARNING /!\ */
+ /** Get the attribute number index: returns a pointer */
+ TagAttr* getAttribute_gcc46(uint index) {return (TagAttr*) &attrs[index];}
/** Remove the attribute number index */
void deleteAttribute(uint index) {attrs.remove(attrs.at(index));}
/** Insert a new Attribute, even if it already exists. Prefer using editAttribute.