summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 22:36:32 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-04 22:40:30 -0400
commit5f059974b7778904c4bffa169e07e1d0aee90951 (patch)
treedd1863cd39fbb8d1a850be11622622ebbd57b2b9 /sc/source/ui/view/tabview.cxx
parenta1675f6d7691d57df1c80537e1be257172aa9d49 (diff)
Temporarily disabling the new autofilter popup due to a set-back.
Ugh! I need to refactor the query validation code first before working on the new popup. I will 1) temporarily disable the new autofilter popup, 2) merge my changes so far to master, and 3) work on refactoring the query validation code without changing the current functionality, then come back to working on the new popup. Darn...
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r--sc/source/ui/view/tabview.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 6e6863a78df1..6804c36ccb46 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2403,10 +2403,14 @@ void ScTabView::StartDataSelect()
aViewData.GetDocument()->GetAttr(
nCol, nRow, aViewData.GetTabNo(), ATTR_MERGE_FLAG));
+#if USE_NEW_AUTOFILTER
if (pAttr->HasAutoFilter())
pWin->LaunchAutoFilterMenu(nCol, nRow);
else
pWin->LaunchDataSelectMenu(nCol, nRow, true);
+#else
+ pWin->LaunchDataSelectMenu(nCol, nRow, !pAttr->HasAutoFilter());
+#endif
}
void ScTabView::EnableRefInput(bool bFlag)