[Libreoffice-commits] .: dbaccess/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Dec 28 14:44:33 PST 2012
dbaccess/source/ui/querydesign/QueryDesignView.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 9f82a20777b6d16b2ea541619c3ad270e08e258c
Author: Zolnai Tamás <zolnaitamas2000 at gmail.com>
Date: Fri Dec 28 23:38:57 2012 +0100
fdo#58842 Handle case of non-distinct statment
Change-Id: I1797dd4e0bc6a2e4ec475c860e6b903085d2aae1
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 20a6ebd..9ef92b9 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -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
More information about the Libreoffice-commits
mailing list