connectivity/source/drivers/mork/MResultSet.cxx | 12 ------------ 1 file changed, 12 deletions(-)
New commits: commit 3c3bd96ce8e95f0572b7b3a78c2ca1c4fb977802 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Apr 11 09:26:43 2016 +0200 No need to wrap SAL_INFO in OSL_DEBUG_LEVEL > 0 Change-Id: Ibb62a7fd5975ca891333f78a6f3c7c50329aa073 diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index 35cb7ff..518da92 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -705,15 +705,11 @@ void OResultSet::parseParameter( const OSQLParseNode* pNode, OUString& rMatchStr if ( m_aParameterRow.is() ) { OSL_ENSURE( m_nParamIndex < (sal_Int32)m_aParameterRow->get().size() + 1, "More parameters than values found" ); rMatchString = (m_aParameterRow->get())[(sal_uInt16)m_nParamIndex]; -#if OSL_DEBUG_LEVEL > 0 SAL_INFO("connectivity.mork", "Prop Value: " << rMatchString); -#endif } -#if OSL_DEBUG_LEVEL > 0 else { SAL_INFO("connectivity.mork", "Prop Value: Invalid ParameterRow!"); } -#endif } #define WILDCARD "%" @@ -740,20 +736,14 @@ void OResultSet::analyseWhereClause( const OSQLParseNode* parseT for(;aIter != xColumns->get().end();++aIter) { (*aIter)->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_NAME)) >>= aColName; -#if OSL_DEBUG_LEVEL > 0 SAL_INFO("connectivity.mork", "Prop Column Name: " << aColName); -#endif if ( m_aParameterRow.is() ) { aParameterValue = (m_aParameterRow->get())[(sal_uInt16)i]; -#if OSL_DEBUG_LEVEL > 0 SAL_INFO("connectivity.mork", "Prop Value: " << aParameterValue); -#endif } -#if OSL_DEBUG_LEVEL > 0 else { SAL_INFO("connectivity.mork", "Prop Value: Invalid ParameterRow!"); } -#endif i++; } } @@ -876,9 +866,7 @@ void OResultSet::analyseWhereClause( const OSQLParseNode* parseT if(SQL_ISRULE(pColumn,column_ref)) m_pSQLIterator->getColumnRange(pColumn,columnName,sTableRange); -#if OSL_DEBUG_LEVEL > 0 SAL_INFO("connectivity.mork", "ColumnName = " << columnName); -#endif if ( SQL_ISRULE(pAtom,parameter) ) { parseParameter( pAtom, matchString ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits