diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 14:48:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 14:48:53 +0000 |
commit | 5ac3897c3800e504d6acfc1417cef96040531541 (patch) | |
tree | 3787831483d38681b6bb0fd76c25fabb8d785b5c /svx/source/fmcomp | |
parent | 98f36862d7d17e2295058de82cbb3a67c70b8a16 (diff) |
INTEGRATION: CWS warnings01 (1.15.198); FILE MERGED
2006/01/05 12:02:19 fs 1.15.198.1: #i55991# warning-free code
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/dbaexchange.cxx | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx index 9f069d78c18e..f7917edd8241 100644 --- a/svx/source/fmcomp/dbaexchange.cxx +++ b/svx/source/fmcomp/dbaexchange.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dbaexchange.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: hr $ $Date: 2005-09-23 11:58:27 $ + * last change: $Author: hr $ $Date: 2006-06-19 15:48:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -481,7 +481,6 @@ namespace svx return; } - sal_Bool bIsStatement = CommandType::COMMAND == nObjectType; String sObjectKind = (CommandType::TABLE == nObjectType) ? String('1') : String('0'); // check if the SQL-statement is modified @@ -639,14 +638,10 @@ namespace svx const Any* pSelRows = _rSelRows.getConstArray(); const Any* pSelRowsEnd = pSelRows + _rSelRows.getLength(); - for (pSelRows; pSelRows<pSelRowsEnd; ++pSelRows) + for ( ; pSelRows < pSelRowsEnd; ++pSelRows ) { - sal_Int32 nSelectedRow; -#if OSL_DEBUG_LEVEL > 0 - sal_Bool bSuccess = -#endif - *pSelRows >>= nSelectedRow; - OSL_ENSURE( bSuccess, "ODataAccessObjectTransferable::addCompatibleSelectionDescription: invalid row number!" ); + sal_Int32 nSelectedRow( 0 ); + OSL_VERIFY( *pSelRows >>= nSelectedRow ); m_sCompatibleObjectDescription += ::rtl::OUString::valueOf((sal_Int32)nSelectedRow); m_sCompatibleObjectDescription += sSeparator; @@ -679,7 +674,6 @@ namespace svx // extract the single values from the sequence ::rtl::OUString sObjectName; - sal_Bool bEscapeProcessing = sal_True; ::rtl::OUString sDatasourceName = _rDatasource; sObjectName = _rCommand; |