summaryrefslogtreecommitdiff
path: root/forms/source/component/Hidden.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2002-12-02 08:56:36 +0000
committerFrank Schönheit <fs@openoffice.org>2002-12-02 08:56:36 +0000
commitb0c4be14883b4390642c3c60da343d0571ca34e7 (patch)
tree3eb1ff42f79f4f6ad5af7f387195f8abee11cd3f /forms/source/component/Hidden.cxx
parent426af421c326aa4670c92c9559bfed40cffea077 (diff)
#105577# properly (hopefully :) implemented XClonable
Diffstat (limited to 'forms/source/component/Hidden.cxx')
-rw-r--r--forms/source/component/Hidden.cxx24
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
{