diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-30 15:09:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-01 08:26:37 +0200 |
commit | 4f2465f599020b356dc37f3132049a103dd32486 (patch) | |
tree | fdf04c1660b4dc1ae4268c86575a0eae33412845 /dbaccess/source/core | |
parent | eaa2b432abcf31d11256e3dc01712c93367edf32 (diff) |
loplugin:stringadd in dbaccess..desktop
Change-Id: I79966c4b5947c87658980b26bea1e0c2898f3343
Reviewed-on: https://gerrit.libreoffice.org/79887
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/core')
-rw-r--r-- | dbaccess/source/core/api/viewcontainer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/core/api/viewcontainer.cxx b/dbaccess/source/core/api/viewcontainer.cxx index 35a00e4c8f04..ea3b8bef81d6 100644 --- a/dbaccess/source/core/api/viewcontainer.cxx +++ b/dbaccess/source/core/api/viewcontainer.cxx @@ -180,8 +180,7 @@ void OViewContainer::dropObject(sal_Int32 _nPos, const OUString& _sElementName) if(sComposedName.isEmpty()) ::dbtools::throwFunctionSequenceException(static_cast<XTypeProvider*>(static_cast<OFilteredContainer*>(this))); - OUString aSql("DROP VIEW "); - aSql += sComposedName; + OUString aSql = "DROP VIEW " + sComposedName; Reference<XConnection> xCon = m_xConnection; OSL_ENSURE(xCon.is(),"Connection is null!"); if ( xCon.is() ) |