summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-16 17:22:56 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 14:13:20 -0500
commit825d51667220dda2dfe145ad4584a21b23b8fa7b (patch)
tree1fb252109d21e3dda5b3e63ec99234e408b44e70 /sc/source/ui/view
parent5ca8b63c0377889a1cc8c9d4a378d673fe54e69a (diff)
Replace DeleteQuery with RemoveEntryByField.
The latter takes care of iterating through the elements.
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 97f418cce34c..c69302ffbe1a 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -1472,7 +1472,7 @@ void ScGridWindow::ExecFilter( sal_uLong nSel,
else
{
if (bFound)
- aParam.DeleteQuery(nQueryPos);
+ aParam.RemoveEntryByField(nCol);
}
// end edit mode - like in ScCellShell::ExecuteDB