summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 14:11:38 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-18 14:13:25 -0500
commite046efdbb55329e97cddbd6fd7d6ec5c92bdf2c8 (patch)
treeb45faea857a7fd154eb18a3436abaae0715578b5 /sc/source/ui/view/tabview.cxx
parentbf034403ac8c98c9ebbe5ae59042502ab7c330d7 (diff)
Removing the switch. Now we use the new autofilter popup for good.
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r--sc/source/ui/view/tabview.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 6804c36ccb46..6e6863a78df1 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2403,14 +2403,10 @@ 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)