summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorOcke.Janssen <Ocke.Janssen@oracle.com>2010-12-02 13:16:48 +0100
committerOcke.Janssen <Ocke.Janssen@oracle.com>2010-12-02 13:16:48 +0100
commit6697a4827b4dd0aee507840c4c1ebf6e19186282 (patch)
treed93b8c350e6fcafd407edecb240ca6af866ce645 /forms
parent84926003869dfe5d140be89dbc8c1572656147a3 (diff)
dba34c: #i102625# only fetch rows when the view moves outside the scope of the rowset window
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 154ed4b00272..31f933f136bc 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -2905,7 +2905,7 @@ void ODatabaseForm::load_impl(sal_Bool bCausedByParentForm, sal_Bool bMoveToFirs
// a database form always uses caching
// we use starting fetchsize with at least 10 rows
if (bConnected)
- m_xAggregateSet->setPropertyValue(PROPERTY_FETCHSIZE, makeAny((sal_Int32)10));
+ m_xAggregateSet->setPropertyValue(PROPERTY_FETCHSIZE, makeAny((sal_Int32)40));
// if we're loaded as sub form we got a "rowSetChanged" from the parent rowset _before_ we got the "loaded"
// so we don't need to execute the statement again, this was already done