summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ucb/source/cacher/cachedcontentresultset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index e8adb8b2b98c..a9fcddba56f5 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();