diff options
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/db/SQLQueryComposer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java index 256cac106..3ccf9ee6b 100644 --- a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java +++ b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java @@ -286,8 +286,9 @@ public class SQLQueryComposer bincludeGrouping = _bincludeGrouping; if (addQuery) { + StringBuilder fromClause = getFromClause(); String sSelectClause = getSelectClause(_baddAliasFieldNames); - StringBuilder queryclause = new StringBuilder(sSelectClause).append(" ").append(getFromClause()); + StringBuilder queryclause = new StringBuilder(sSelectClause).append(" ").append(fromClause); m_xQueryAnalyzer.setQuery(queryclause.toString()); if (CurDBMetaData.getFilterConditions() != null && CurDBMetaData.getFilterConditions().length > 0) { |