diff options
author | nadith <nadmalinda@gmail.com> | 2016-08-01 14:51:58 +0530 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 09:34:11 +0000 |
commit | bd4c80b856a145563ba38242705e87028b1e0ed6 (patch) | |
tree | 8a7ed5eefa17155b7c547ed9133dc1881d9fa6b4 /dbaccess/source/ui/relationdesign/RTableConnectionData.cxx | |
parent | 7cbb0664b94bb9f4587098c1940de98e4f7aae16 (diff) |
tdf#100726: Improve readability of OUString concatenation
module cui and dbaccess fixed
Change-Id: Ief6fca46622fe4e0da804c9a874f7ec93a0fd7af
Reviewed-on: https://gerrit.libreoffice.org/27770
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source/ui/relationdesign/RTableConnectionData.cxx')
-rw-r--r-- | dbaccess/source/ui/relationdesign/RTableConnectionData.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx index 3c1456d8d895..88654ee89d0b 100644 --- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx +++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx @@ -272,8 +272,7 @@ bool ORelationTableConnectionData::Update() // build a foreign key name OUString sSourceName; xTableProp->getPropertyValue(PROPERTY_NAME) >>= sSourceName; - OUString sKeyName = sSourceName; - sKeyName += getReferencedTable()->GetTableName(); + OUString sKeyName = sSourceName + getReferencedTable()->GetTableName(); xKey->setPropertyValue(PROPERTY_NAME,makeAny(sKeyName)); xKey->setPropertyValue(PROPERTY_TYPE,makeAny(KeyType::FOREIGN)); |