Simplify string concatenation.
Change-Id: Ib478a7371599309f68b6fffd4dbed0f17c9ecb01 Reviewed-on: https://gerrit.libreoffice.org/57032 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -2782,10 +2782,7 @@ OUString LoadAndRegisterDataSource_Impl(DBConnURIType type, const uno::Reference
|
||||
sFind = sNewName;
|
||||
sal_Int32 nIndex = 0;
|
||||
while (xDBContext->hasByName(sFind))
|
||||
{
|
||||
sFind = sNewName;
|
||||
sFind += OUString::number(++nIndex);
|
||||
}
|
||||
sFind = sNewName + OUString::number(++nIndex);
|
||||
|
||||
uno::Reference<uno::XInterface> xNewInstance;
|
||||
if (!bStore)
|
||||
|
Reference in New Issue
Block a user