ucb/source/cacher/cachedcontentresultset.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5c908d0431ee975c1ee7aa245af83b9eb7f95da6
Author: Julien Nabet <[email protected]>
Date:   Sun Mar 17 18:46:56 2013 +0100

    coverity#982271 Copy-paste error
    
    Change-Id: I42800a846ba0cb935f97f8e99f774f58f3b525f8
    Reviewed-on: https://gerrit.libreoffice.org/2802
    Reviewed-by: Noel Power <[email protected]>
    Tested-by: Noel Power <[email protected]>

diff --git a/ucb/source/cacher/cachedcontentresultset.cxx 
b/ucb/source/cacher/cachedcontentresultset.cxx
index e8adb8b..a9fcddb 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -503,7 +503,7 @@ CCRS_PropertySetInfo::CCRS_PropertySetInfo(
         rMyProp.Type = getCppuType( static_cast< const sal_Bool * >( 0 ) );
         rMyProp.Attributes = PropertyAttribute::BOUND | 
PropertyAttribute::MAYBEDEFAULT;
 
-        if( nFetchSize != -1 )
+        if( nFetchDirection != -1 )
             m_nFetchDirectionPropertyHandle = 
(*pOrigProps)[nFetchDirection].Handle;
         else
             m_nFetchDirectionPropertyHandle = impl_getRemainedHandle();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to