fdo#58842 Handle case of non-distinct statment

Change-Id: I1797dd4e0bc6a2e4ec475c860e6b903085d2aae1
This commit is contained in:
Zolnai Tamás
2012-12-28 23:38:57 +01:00
parent 7dd273da8a
commit 9f82a20777

View File

@@ -2083,6 +2083,10 @@ namespace
rController.setDistinct(sal_True);
rController.InvalidateFeature(SID_QUERY_DISTINCT_VALUES);
}
else
{
rController.setDistinct(sal_False);
}
if ( (eErrorCode = InstallFields(_pView,pParseTree, pTableView->GetTabWinMap())) == eOk )
{
// GetSelectionCriteria must be called before GetHavingCriteria