diff options
Diffstat (limited to 'forms/source/component/RadioButton.cxx')
-rw-r--r-- | forms/source/component/RadioButton.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/forms/source/component/RadioButton.cxx b/forms/source/component/RadioButton.cxx index 84a5b74cdcd8..e7829c39bc4c 100644 --- a/forms/source/component/RadioButton.cxx +++ b/forms/source/component/RadioButton.cxx @@ -83,7 +83,12 @@ ORadioButtonModel::~ORadioButtonModel() // XCloneable -IMPLEMENT_DEFAULT_CLONING( ORadioButtonModel ) +css::uno::Reference< css::util::XCloneable > SAL_CALL ORadioButtonModel::createClone() +{ + rtl::Reference<ORadioButtonModel> pClone = new ORadioButtonModel(this, getContext()); + pClone->clonedFrom(this); + return pClone; +} // XServiceInfo |