merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0172-calc-autofilter-shrink-selection.diff
bloba4c6df7aac75352f4a8d78de2e03f841dc93b024
1 diff --git sc/source/ui/view/dbfunc.cxx sc/source/ui/view/dbfunc.cxx
2 index fa05fa6..326e611 100644
3 --- sc/source/ui/view/dbfunc.cxx
4 +++ sc/source/ui/view/dbfunc.cxx
5 @@ -302,7 +302,7 @@ void ScDBFunc::ToggleAutoFilter()
7 ScQueryParam aParam;
8 ScDocument* pDoc = GetViewData()->GetDocument();
9 - ScDBData* pDBData = GetDBData( FALSE );
10 + ScDBData* pDBData = GetDBData(false, SC_DB_MAKE, false, true);
12 pDBData->SetByRow( TRUE ); //! Undo, vorher abfragen ??
13 pDBData->GetQueryParam( aParam );