[Libreoffice-commits] core.git: ucb/source
Julien Nabet
serval2412 at yahoo.fr
Tue Mar 19 03:34:59 PDT 2013
ucb/source/cacher/cachedcontentresultset.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5c908d0431ee975c1ee7aa245af83b9eb7f95da6
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <noel.power at suse.com>
Tested-by: Noel Power <noel.power at suse.com>
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();
More information about the Libreoffice-commits
mailing list