summaryrefslogtreecommitdiffstats
path: root/ksvg/ecma/ksvg_ecma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksvg/ecma/ksvg_ecma.cpp')
-rw-r--r--ksvg/ecma/ksvg_ecma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksvg/ecma/ksvg_ecma.cpp b/ksvg/ecma/ksvg_ecma.cpp
index aa2af84b..905ba5bb 100644
--- a/ksvg/ecma/ksvg_ecma.cpp
+++ b/ksvg/ecma/ksvg_ecma.cpp
@@ -317,7 +317,7 @@ TQVariant KSVG::valueToVariant(ExecState *exec, const Value &val)
switch(val.type())
{
case BooleanType:
- res = TQVariant(val.toBoolean(exec), 0);
+ res = TQVariant(val.toBoolean(exec));
break;
case NumberType:
res = TQVariant(val.toNumber(exec));