diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-01-17 12:13:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-17 12:13:59 +0000 |
commit | 0efebf6081e7939aac864093185cf6a997d6aa26 (patch) | |
tree | 80e5207725a33d133724679fa6f2a168f8c4f3eb | |
parent | 410bc1e5a466531cfe052f7c25f50f97262d80c1 (diff) |
some cppcheck cleaning
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 44c87c3629..c18535d395 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -938,7 +938,6 @@ Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName ) } else if ( PropertyName.compareToAscii( "IsRowCountFinal" ) == 0 ) { - sal_uInt32 nOrgCount = 0; sal_Bool bOrgFinal = false; Any aOrgRet; @@ -952,6 +951,7 @@ Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName ) { aOrgRet = Reference< XPropertySet >::query(mxOriginal)-> getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("RowCount")) ); + sal_uInt32 nOrgCount = 0; aOrgRet >>= nOrgCount; if ( nOrgCount == maS2O.Count() ) aRet <<= (sal_Bool) sal_True; |