diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-10 09:05:49 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-10 09:05:49 +0000 |
commit | e165dd9a9421e51148c10f507e17a4ffc46df65d (patch) | |
tree | 03a0863e16bbaaee02bde26df9b0d69d159f4c3b | |
parent | 36521ab9f6f8461b99173b6cb9c34e1a059f5e7a (diff) |
INTEGRATION: CWS dba23a (1.62.124); FILE MERGED
2007/03/12 11:39:53 fs 1.62.124.1: #i71488# +FormOperations property
-rw-r--r-- | svx/source/form/fmctrler.cxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/svx/source/form/fmctrler.cxx b/svx/source/form/fmctrler.cxx index 0ef5959d5328..71df549e307b 100644 --- a/svx/source/form/fmctrler.cxx +++ b/svx/source/form/fmctrler.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fmctrler.cxx,v $ * - * $Revision: 1.62 $ + * $Revision: 1.63 $ * - * last change: $Author: kz $ $Date: 2006-12-13 16:42:30 $ + * last change: $Author: kz $ $Date: 2007-05-10 10:05:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -242,6 +242,7 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::util; using namespace ::com::sun::star::form; using namespace ::com::sun::star::form::validation; +using namespace ::com::sun::star::form::runtime; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::script; @@ -732,7 +733,12 @@ void FmXFormController::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) c } } rValue <<= ::rtl::OUString(aFilter); - } break; + } + break; + + case FM_ATTR_FORM_OPERATIONS: + rValue <<= m_aControllerFeatures->getFormOperations(); + break; } } @@ -757,10 +763,11 @@ void FmXFormController::fillProperties( Sequence< Property >& /* [out] */ /*_rAggregateProps*/ ) const { - _rProps.realloc(1); + _rProps.realloc(2); sal_Int32 nPos = 0; Property* pDesc = _rProps.getArray(); DECL_PROP1(FILTER_CRITERIA, rtl::OUString, READONLY); + DECL_PROP1(FORM_OPERATIONS, Reference< XFormOperations >, READONLY); } //------------------------------------------------------------------------------ |