summaryrefslogtreecommitdiff
path: root/wizards/com
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-08-01 13:45:31 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-08-02 13:57:46 +0200
commit69a061509b728055c0f30f36427e2efa63424cbd (patch)
tree7277c793cc5542d69f6ad68a0de4b07068b06f47 /wizards/com
parented904af8665f6f7590fedd4ad608018f78c686c1 (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
Diffstat (limited to 'wizards/com')
-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 f7f88fde10b1..5dd833764e12 100644
--- a/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
+++ b/wizards/com/sun/star/wizards/db/SQLQueryComposer.java
@@ -243,8 +243,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;