summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_functions_math.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_functions_math.cc')
-rw-r--r--kspread/kspread_functions_math.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kspread/kspread_functions_math.cc b/kspread/kspread_functions_math.cc
index 702160bc..814226ae 100644
--- a/kspread/kspread_functions_math.cc
+++ b/kspread/kspread_functions_math.cc
@@ -994,7 +994,7 @@ Value func_subtotal (valVector args, ValueCalc *calc, FuncExtra *e)
Cell *cell = e->sheet->cellAt (c, r);
if (cell->isDefault())
continue;
- if (cell->isFormula() && cell->text().tqfind ("SUBTOTAL", 0, false) != -1)
+ if (cell->isFormula() && cell->text().find ("SUBTOTAL", 0, false) != -1)
// cell contains the word SUBTOTAL - replace value with empty
range.setElement (c-c1, r-r1, empty);
}