From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjs/internal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kjs/internal.cpp') diff --git a/kjs/internal.cpp b/kjs/internal.cpp index 4e913c508..25f7b6e31 100644 --- a/kjs/internal.cpp +++ b/kjs/internal.cpp @@ -52,7 +52,7 @@ extern int kjsyyparse(); using namespace KJS; namespace KJS { - /* work around some strict tqalignment requirements + /* work around some strict alignment requirements for double variables on some architectures (e.g. PA-RISC) */ typedef union { unsigned char b[8]; double d; } kjs_double_t; @@ -320,7 +320,7 @@ LabelStack &LabelStack::operator=(const LabelStack &other) bool LabelStack::push(const Identifier &id) { - if (id.isEmpty() || tqcontains(id)) + if (id.isEmpty() || contains(id)) return false; StackElem *newtos = new StackElem; @@ -330,7 +330,7 @@ bool LabelStack::push(const Identifier &id) return true; } -bool LabelStack::tqcontains(const Identifier &id) const +bool LabelStack::contains(const Identifier &id) const { if (id.isEmpty()) return true; -- cgit v1.2.3