summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/animatedimages.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-11 13:30:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 08:46:17 +0200
commitd5ed07d2a249e61937dd42a4b2efb7e7fbef02d6 (patch)
treebdba1a2775fc89ef333c39f0e52f4af147d41d7f /toolkit/source/controls/animatedimages.cxx
parentb0a2ab4c68fa11b0a713583946718a60fda19c0c (diff)
make ControlModelContainerBase::Clone return by rtl::Reference
Change-Id: Ie5d80688293dea42bea8b38fb1699e93980dd668 Reviewed-on: https://gerrit.libreoffice.org/52747 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/controls/animatedimages.cxx')
-rw-r--r--toolkit/source/controls/animatedimages.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx
index 3e29b67cb01e..a9cee3921d5a 100644
--- a/toolkit/source/controls/animatedimages.cxx
+++ b/toolkit/source/controls/animatedimages.cxx
@@ -265,7 +265,7 @@ namespace toolkit {
}
- UnoControlModel* AnimatedImagesControlModel::Clone() const
+ rtl::Reference<UnoControlModel> AnimatedImagesControlModel::Clone() const
{
return new AnimatedImagesControlModel( *this );
}