summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-08-01 13:45:31 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-08-06 07:49:20 +0000
commit5851030a8f97d5ea37464e4063e0b5d1c7cd7808 (patch)
tree631690e03112009263737ea0a6d5d6fa3476943a /wizards
parent5f2010ed8436e6da90a996efbf070f34e485efd6 (diff)
fdo#64117 *always* set the filter name to the correct name
the removed test made absolutely no sense: aliasName is a fully-qualified name, but columns is indexed by column name. That is, schemaName.tableName.columnName as opposed to only columnName. Change-Id: I9066b5183298e3e6ab63c367594f92bb3e00979d Reviewed-on: https://gerrit.libreoffice.org/5246 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/db/SQLQueryComposer.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
index 464c6c0fc199..46c807e39588 100644
--- a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
+++ b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
@@ -239,8 +239,7 @@ public class SQLQueryComposer
for (int m = 0; m < _filterconditions[n].length; m++)
{
final String aliasName = getComposedAliasFieldName(_filterconditions[n][m].Name);
- if ( columns.hasByName(aliasName))
- _filterconditions[n][m].Name = aliasName;
+ _filterconditions[n][m].Name = aliasName;
}
}
return _filterconditions;