diff options
-rw-r--r-- | ksvg/ecma/ksvg_ecma.cpp | 2 |
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)); |