diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-12-02 08:56:36 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-12-02 08:56:36 +0000 |
commit | b0c4be14883b4390642c3c60da343d0571ca34e7 (patch) | |
tree | 3eb1ff42f79f4f6ad5af7f387195f8abee11cd3f /forms/source/component/Hidden.cxx | |
parent | 426af421c326aa4670c92c9559bfed40cffea077 (diff) |
#105577# properly (hopefully :) implemented XClonable
Diffstat (limited to 'forms/source/component/Hidden.cxx')
-rw-r--r-- | forms/source/component/Hidden.cxx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/forms/source/component/Hidden.cxx b/forms/source/component/Hidden.cxx index 838b5ada2674..ce6fb93e510b 100644 --- a/forms/source/component/Hidden.cxx +++ b/forms/source/component/Hidden.cxx @@ -2,9 +2,9 @@ * * $RCSfile: Hidden.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: fs $ $Date: 2001-01-04 16:28:08 $ + * last change: $Author: fs $ $Date: 2002-12-02 09:56:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -97,12 +97,32 @@ InterfaceRef SAL_CALL OHiddenModel_CreateInstance(const Reference<XMultiServiceF } //------------------------------------------------------------------ +DBG_NAME( OHiddenModel ) +//------------------------------------------------------------------ OHiddenModel::OHiddenModel(const Reference<XMultiServiceFactory>& _rxFactory) :OControlModel(_rxFactory, ::rtl::OUString()) { + DBG_CTOR( OHiddenModel, NULL ); m_nClassId = FormComponentType::HIDDENCONTROL; } +//------------------------------------------------------------------ +OHiddenModel::OHiddenModel( const OHiddenModel* _pOriginal, const Reference<XMultiServiceFactory>& _rxFactory ) + :OControlModel( _pOriginal, _rxFactory ) +{ + DBG_CTOR( OHiddenModel, NULL ); + m_sHiddenValue = _pOriginal->m_sHiddenValue; +} + +//------------------------------------------------------------------------------ +OHiddenModel::~OHiddenModel( ) +{ + DBG_CTOR( OHiddenModel, NULL ); +} + +//------------------------------------------------------------------------------ +IMPLEMENT_DEFAULT_CLONING( OHiddenModel ) + //------------------------------------------------------------------------------ void OHiddenModel::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle) const { |