summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-04 15:37:31 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-04 15:37:31 +0200
commite60eca1cfcf4763571f7e87a88740e4517a7dabd (patch)
tree18f9151ae6494bc365c0d88e4096681059d2cf7f /dbaccess
parent1439c2fedd8a8c2e52bac3346e7e2ab588922fd9 (diff)
replace only single wildcard by table.*
not any string beginning with "*" Change-Id: I6afe4db0ae69632990eafb288f715ae9cf7ad837
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 2b53c891dbd1..dac3441a0d5e 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -493,7 +493,7 @@ void OSelectionBrowseBox::InitController(CellControllerRef& /*rController*/, lon
getDesignView()->fillValidFields(aTable, m_pFieldCell);
// replace with alias.*
- if ((aField[0] == '*') && aTable.Len())
+ if (aField.trim() == "*")
{
aField = aTable;
aField += ".*";