Fix compile error under clang

This commit is contained in:
Debao Zhang
2013-11-05 19:59:31 +08:00
parent 8d1b109605
commit c80fcf00c5
+1 -1
View File
@@ -507,7 +507,7 @@ QVariant Worksheet::read(int row, int column) const
if (!cell)
return QVariant();
if (!cell->formula().isEmpty())
return QLatin1String("=")+cell->formula();
return QVariant(QLatin1String("=")+cell->formula());
return cell->value();
}