#105577# properly (hopefully :) implemented XClonable

This commit is contained in:
Frank Schönheit
2002-12-02 08:56:36 +00:00
parent 426af421c3
commit b0c4be1488
43 changed files with 839 additions and 260 deletions

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: Button.cxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: fs $ $Date: 2002-02-21 08:52:19 $
* last change: $Author: fs $ $Date: 2002-12-02 09:56:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,10 +104,17 @@ OButtonModel::OButtonModel(const Reference<XMultiServiceFactory>& _rxFactory)
:OImageModel(_rxFactory, VCL_CONTROLMODEL_COMMANDBUTTON, FRM_CONTROL_COMMANDBUTTON)
// use the old control name for compytibility reasons
{
DBG_CTOR(OButtonModel, NULL);
DBG_CTOR( OButtonModel, NULL );
m_nClassId = FormComponentType::COMMANDBUTTON;
}
//------------------------------------------------------------------
OButtonModel::OButtonModel( const OButtonModel* _pOriginal, const Reference<XMultiServiceFactory>& _rxFactory )
:OImageModel( _pOriginal, _rxFactory )
{
DBG_CTOR( OButtonModel, NULL );
}
//------------------------------------------------------------------------------
OButtonModel::~OButtonModel()
{
@@ -143,6 +150,9 @@ void OButtonModel::fillProperties(
return *const_cast<OButtonModel*>(this)->getArrayHelper();
}
//------------------------------------------------------------------------------
IMPLEMENT_DEFAULT_CLONING( OButtonModel )
// XServiceInfo
//------------------------------------------------------------------------------
StringSequence OButtonModel::getSupportedServiceNames() throw()