diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/api/viewcontainer.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/queryfilter.cxx | 3 |
3 files changed, 3 insertions, 6 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() ) diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index e11f3dbd5969..652c9e68b801 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -3605,8 +3605,7 @@ OUString SbaTableQueryBrowser::getPrivateTitle() const sTitle = aURL.getBase(INetURLObject::LAST_SEGMENT,true,INetURLObject::DecodeMechanism::WithCharset); if ( !sName.isEmpty() ) { - sName += " - "; - sName += sTitle; + sName += " - " + sTitle; sTitle = sName; } } diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx index 3286ecf8c420..41c7ced4734d 100644 --- a/dbaccess/source/ui/dlg/queryfilter.cxx +++ b/dbaccess/source/ui/dlg/queryfilter.cxx @@ -325,8 +325,7 @@ bool DlgFilterCrit::getCondition(const weld::ComboBox& _rField,const weld::Combo _rFilter.Name = ::dbtools::quoteName(aQuote,_rFilter.Name); if ( !sTableName.isEmpty() ) { - sTableName += "."; - sTableName += _rFilter.Name; + sTableName += "." + _rFilter.Name; _rFilter.Name = sTableName; } } |