summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 08:35:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 08:35:26 +0000
commit95b0cfd32f7a79b892f1dd9f41a585edac7866a4 (patch)
tree7c3e14edc64c2f255dcd3a12827dc5c54290a0bd /forms
parent7778ade907776f81d35b952b696517fd92b75341 (diff)
INTEGRATION: CWS dba31a (1.8.34); FILE MERGED
2008/07/03 08:37:29 fs 1.8.34.1: #i66628# +SID_FM_REFRESH_FORM_CONTROL
Diffstat (limited to 'forms')
-rw-r--r--forms/source/helper/formnavigation.cxx27
1 files changed, 15 insertions, 12 deletions
diff --git a/forms/source/helper/formnavigation.cxx b/forms/source/helper/formnavigation.cxx
index 0fcf0cb0c108..895b48a563f8 100644
--- a/forms/source/helper/formnavigation.cxx
+++ b/forms/source/helper/formnavigation.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: formnavigation.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -418,17 +418,18 @@ namespace frm
switch ( _nFeatureId )
{
- case SID_FM_RECORD_ABSOLUTE: pAsciiURL = URL_FORM_POSITION; break;
- case SID_FM_RECORD_TOTAL : pAsciiURL = URL_FORM_RECORDCOUNT; break;
- case SID_FM_RECORD_FIRST : pAsciiURL = URL_RECORD_FIRST; break;
- case SID_FM_RECORD_PREV : pAsciiURL = URL_RECORD_PREV; break;
- case SID_FM_RECORD_NEXT : pAsciiURL = URL_RECORD_NEXT; break;
- case SID_FM_RECORD_LAST : pAsciiURL = URL_RECORD_LAST; break;
- case SID_FM_RECORD_SAVE : pAsciiURL = URL_RECORD_SAVE; break;
- case SID_FM_RECORD_UNDO : pAsciiURL = URL_RECORD_UNDO; break;
- case SID_FM_RECORD_NEW : pAsciiURL = URL_RECORD_NEW; break;
- case SID_FM_RECORD_DELETE : pAsciiURL = URL_RECORD_DELETE; break;
- case SID_FM_REFRESH : pAsciiURL = URL_FORM_REFRESH; break;
+ case SID_FM_RECORD_ABSOLUTE : pAsciiURL = URL_FORM_POSITION; break;
+ case SID_FM_RECORD_TOTAL : pAsciiURL = URL_FORM_RECORDCOUNT; break;
+ case SID_FM_RECORD_FIRST : pAsciiURL = URL_RECORD_FIRST; break;
+ case SID_FM_RECORD_PREV : pAsciiURL = URL_RECORD_PREV; break;
+ case SID_FM_RECORD_NEXT : pAsciiURL = URL_RECORD_NEXT; break;
+ case SID_FM_RECORD_LAST : pAsciiURL = URL_RECORD_LAST; break;
+ case SID_FM_RECORD_SAVE : pAsciiURL = URL_RECORD_SAVE; break;
+ case SID_FM_RECORD_UNDO : pAsciiURL = URL_RECORD_UNDO; break;
+ case SID_FM_RECORD_NEW : pAsciiURL = URL_RECORD_NEW; break;
+ case SID_FM_RECORD_DELETE : pAsciiURL = URL_RECORD_DELETE; break;
+ case SID_FM_REFRESH : pAsciiURL = URL_FORM_REFRESH; break;
+ case SID_FM_REFRESH_FORM_CONTROL: pAsciiURL = URL_FORM_REFRESH_CURRENT_CONTROL; break;
case SID_FM_SORTUP : pAsciiURL = URL_FORM_SORT_UP; break;
case SID_FM_SORTDOWN : pAsciiURL = URL_FORM_SORT_DOWN; break;
@@ -468,6 +469,8 @@ namespace frm
nFeatureId = SID_FM_RECORD_DELETE;
else if ( _rCompleteURL == URL_FORM_REFRESH )
nFeatureId = SID_FM_REFRESH;
+ else if ( _rCompleteURL == URL_FORM_REFRESH_CURRENT_CONTROL )
+ nFeatureId = SID_FM_REFRESH_FORM_CONTROL;
else if ( _rCompleteURL == URL_FORM_SORT_UP )
nFeatureId = SID_FM_SORTUP;
else if ( _rCompleteURL == URL_FORM_SORT_DOWN )