cppcheck: fix statements that begin with string constant
Change-Id: I42427beeae06f607e60aeeb7142714fd1f5d740d
This commit is contained in:
parent
85d1e39d74
commit
c302a773d4
@ -228,7 +228,7 @@ void SAL_CALL OHSQLUser::grantPrivileges( const OUString& objName, sal_Int32 obj
|
||||
{
|
||||
Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData();
|
||||
OUString sGrant = "GRANT " + sPrivs +
|
||||
" ON " + ::dbtools::quoteTableName(xMeta,objName,::dbtools::eInDataManipulation);
|
||||
" ON " + ::dbtools::quoteTableName(xMeta,objName,::dbtools::eInDataManipulation) +
|
||||
" TO " + m_Name;
|
||||
|
||||
Reference<XStatement> xStmt = m_xConnection->createStatement();
|
||||
@ -254,7 +254,7 @@ void SAL_CALL OHSQLUser::revokePrivileges( const OUString& objName, sal_Int32 ob
|
||||
{
|
||||
Reference<XDatabaseMetaData> xMeta = m_xConnection->getMetaData();
|
||||
OUString sGrant = "REVOKE " + sPrivs +
|
||||
" ON " + ::dbtools::quoteTableName(xMeta,objName,::dbtools::eInDataManipulation);
|
||||
" ON " + ::dbtools::quoteTableName(xMeta,objName,::dbtools::eInDataManipulation) +
|
||||
" FROM " + m_Name;
|
||||
|
||||
Reference<XStatement> xStmt = m_xConnection->createStatement();
|
||||
|
Loading…
x
Reference in New Issue
Block a user