summaryrefslogtreecommitdiff
path: root/ucb/source/cacher
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/cacher')
-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 833af4daf9f3..762d3f192bc1 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -167,7 +167,7 @@ sal_Int32 CachedContentResultSet::CCRS_Cache
return 0;
sal_Int32 nEnd = m_pResult->StartIndex;
if( m_pResult->Orientation )
- return nEnd += m_pResult->Rows.getLength() - 1;
+ return nEnd + m_pResult->Rows.getLength() - 1;
else
return nEnd;
}