#i100000# comparision of signed/unsigned
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: SingleSelectQueryComposer.cxx,v $
|
* $RCSfile: SingleSelectQueryComposer.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.17 $
|
* $Revision: 1.18 $
|
||||||
*
|
*
|
||||||
* last change: $Author: ihi $ $Date: 2006-08-22 12:52:10 $
|
* last change: $Author: ihi $ $Date: 2006-09-05 16:40:56 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to
|
* The Contents of this file are made available subject to
|
||||||
* the terms of GNU Lesser General Public License Version 2.1.
|
* the terms of GNU Lesser General Public License Version 2.1.
|
||||||
@@ -792,7 +792,8 @@ Reference< XNameAccess > SAL_CALL OSingleSelectQueryComposer::getColumns( ) thr
|
|||||||
SizeTSet aUsedSelectColumns;
|
SizeTSet aUsedSelectColumns;
|
||||||
|
|
||||||
sal_Int32 nCount = xResultSetMeta->getColumnCount();
|
sal_Int32 nCount = xResultSetMeta->getColumnCount();
|
||||||
OSL_ENSURE( nCount == aSelectColumns->size(), "OSingleSelectQueryComposer::getColumns: inconsistent column counts, this might result in wrong columns!" );
|
sal_Int32 nSize = aSelectColumns->size();
|
||||||
|
OSL_ENSURE( nCount == nSize, "OSingleSelectQueryComposer::getColumns: inconsistent column counts, this might result in wrong columns!" );
|
||||||
for(sal_Int32 i=1;i<=nCount;++i)
|
for(sal_Int32 i=1;i<=nCount;++i)
|
||||||
{
|
{
|
||||||
::rtl::OUString sName = xResultSetMeta->getColumnName(i);
|
::rtl::OUString sName = xResultSetMeta->getColumnName(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user