diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-09-16 11:27:59 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2010-09-16 11:27:59 +0200 |
commit | b2051877f9059fa428e259bdd474cee99992821e (patch) | |
tree | 6cc26647bfdb1f9d33523f44aa0cf47dfcb96811 /sc/source/ui/view | |
parent | 97bea8c3e25d99d499a532290d3bdd006504e1b5 (diff) |
calc-autofilter-shrink-selection.diff: Migrated
n#514164, shrink selection to data area before setting autofilter.
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/dbfunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/dbfunc.cxx b/sc/source/ui/view/dbfunc.cxx index 3696066a8c5f..041d4b759dab 100644 --- a/sc/source/ui/view/dbfunc.cxx +++ b/sc/source/ui/view/dbfunc.cxx @@ -344,7 +344,7 @@ void ScDBFunc::ToggleAutoFilter() ScQueryParam aParam; ScDocument* pDoc = GetViewData()->GetDocument(); - ScDBData* pDBData = GetDBData( FALSE, SC_DB_MAKE, SC_DBSEL_ROW_DOWN ); + ScDBData* pDBData = GetDBData(false, SC_DB_MAKE, SC_DBSEL_ROW_DOWN, false, true); pDBData->SetByRow( TRUE ); //! Undo, vorher abfragen ?? pDBData->GetQueryParam( aParam ); |