summaryrefslogtreecommitdiff
path: root/forms/source/component/spinbutton.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-04-02 09:57:22 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-04-02 09:57:22 +0000
commit6bb865fe45d4c6e6250ff9cc89271e9caa538282 (patch)
tree33f4c78aaf1220e2d505a94d92afea99dc0c2f9f /forms/source/component/spinbutton.cxx
parentdb5eed310c4fab5cb38f27dcbf6f414f328f15de (diff)
INTEGRATION: CWS frmvalidation (1.2.26); FILE MERGED
2004/03/11 16:46:21 fs 1.2.26.1: mass checkin - #i25106# core for validating form controls via external XValidator instances - moved the services/interfaces related to binding form controls to external value suppliers into css.form.binding (out of drafts.css.form/component)
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r--forms/source/component/spinbutton.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index cd5984bb15b9..62bfc6e2c3dd 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: spinbutton.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2003-12-11 12:30:46 $
+ * last change: $Author: rt $ $Date: 2004-04-02 10:57:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,9 @@
#ifndef _COMPHELPER_STREAMSECTION_HXX_
#include <comphelper/streamsection.hxx>
#endif
+#ifndef _COMPHELPER_BASIC_IO_HXX_
+#include <comphelper/basicio.hxx>
+#endif
//--------------------------------------------------------------------------
extern "C" void SAL_CALL createRegistryInfo_OSpinButtonModel()
@@ -84,7 +87,7 @@ namespace frm
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::io;
- using namespace ::drafts::com::sun::star::form;
+ using namespace ::com::sun::star::form::binding;
//====================================================================
//= OSpinButtonModel
@@ -102,7 +105,7 @@ namespace frm
DBG_NAME( OSpinButtonModel )
//--------------------------------------------------------------------
OSpinButtonModel::OSpinButtonModel( const Reference<XMultiServiceFactory>& _rxFactory )
- :OBoundControlModel( _rxFactory, VCL_CONTROLMODEL_SPINBUTTON, VCL_CONTROL_SPINBUTTON, sal_True, sal_True )
+ :OBoundControlModel( _rxFactory, VCL_CONTROLMODEL_SPINBUTTON, VCL_CONTROL_SPINBUTTON, sal_True, sal_True, sal_False )
,m_nDefaultSpinValue( 0 )
{
DBG_CTOR( OSpinButtonModel, NULL );
@@ -156,14 +159,11 @@ namespace frm
//--------------------------------------------------------------------
void OSpinButtonModel::fillProperties( Sequence< Property >& _rProps, Sequence< Property >& _rAggregateProps ) const
{
- FRM_BEGIN_PROP_HELPER( 6 )
- DECL_PROP2( CLASSID, sal_Int16, READONLY, TRANSIENT );
+ BEGIN_DESCRIBE_PROPERTIES( 3, OControlModel )
DECL_PROP1( DEFAULT_SPIN_VALUE, sal_Int32, BOUND );
- DECL_PROP1( NAME, ::rtl::OUString, BOUND );
DECL_PROP1( TABINDEX, sal_Int16, BOUND );
- DECL_PROP1( TAG, ::rtl::OUString, BOUND );
DECL_PROP2( CONTROLSOURCEPROPERTY,::rtl::OUString, READONLY, TRANSIENT );
- FRM_END_PROP_HELPER();
+ END_DESCRIBE_PROPERTIES();
}
//------------------------------------------------------------------------------