From e50ef195bc95f3f410119f623928382cb88b45d2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Jul 2014 15:45:52 +0200 Subject: New loplugin:stringconcat Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac --- dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 2 +- dbaccess/source/ui/inc/directsql.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index 7f4efb2720ce..26134b2443a4 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -770,7 +770,7 @@ Reference< XNameAccess > SAL_CALL OSingleSelectQueryComposer::getColumns( ) thr bCase = m_xMetaData->supportsMixedCaseQuotedIdentifiers(); aSelectColumns = m_aSqlIterator.getSelectColumns(); - OUStringBuffer aSQL( m_aPureSelectSQL + STR_WHERE + " ( 0 = 1 )"); + OUStringBuffer aSQL( m_aPureSelectSQL + STR_WHERE " ( 0 = 1 )"); // preserve the original WHERE clause // #i102234# diff --git a/dbaccess/source/ui/inc/directsql.hxx b/dbaccess/source/ui/inc/directsql.hxx index 36e74ccf0173..ef4aff479b3d 100644 --- a/dbaccess/source/ui/inc/directsql.hxx +++ b/dbaccess/source/ui/inc/directsql.hxx @@ -112,7 +112,7 @@ namespace dbaui { \ const sal_Char* pError = impl_CheckInvariants(); \ if (pError) \ - SAL_WARN("dbaccess.ui", methodname << ": " << pError); \ + SAL_WARN("dbaccess.ui", methodname ": " << pError); \ } #else #define CHECK_INVARIANTS(methodname) -- cgit