diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 08:20:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 14:46:37 +0200 |
commit | fd6d01c95594746602090972d5edabe1b9f281c3 (patch) | |
tree | 9032926a32661fb69424efc5ea798c984e07051c /dbaccess/source/ui/relationdesign | |
parent | aac4f0660f9599bbf5f74c7ce683d7147b5bd1e7 (diff) |
loplugin:sequentialassign in dbaccess..desktop
Change-Id: I3f3108daf208fa8c6be90b28da5503846c27732e
Reviewed-on: https://gerrit.libreoffice.org/70698
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-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 107525100687..423928905075 100644 --- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx +++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx @@ -285,8 +285,7 @@ bool ORelationTableConnectionData::Update() { if(!(elem->GetSourceFieldName().isEmpty() || elem->GetDestFieldName().isEmpty())) { - Reference<XPropertySet> xColumn; - xColumn = xColumnFactory->createDataDescriptor(); + Reference<XPropertySet> xColumn = xColumnFactory->createDataDescriptor(); if ( xColumn.is() ) { xColumn->setPropertyValue(PROPERTY_NAME,makeAny(elem->GetSourceFieldName())); |