diff options
author | Henry Castro <hcastro@collabora.com> | 2018-06-08 17:09:55 -0400 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-06-26 14:24:02 +0200 |
commit | b6b1ded0a0539e7be1b5338de378a3276a6ff445 (patch) | |
tree | 79ac65de77ee5eadf714adb62628f74f4265491f /sc/source/ui/unoobj/editsrc.cxx | |
parent | f5e2dbb40cab1a21dc972806ee4038f52843e838 (diff) |
sc: replace ScCaptionPtr with std::shared_ptr, tdf#117997, tdf#117228
Change-Id: I9b6a2c2504c9ce060906ac3bf156721709fef2f3
Reviewed-on: https://gerrit.libreoffice.org/55490
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/editsrc.cxx')
-rw-r--r-- | sc/source/ui/unoobj/editsrc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx index fb59b24b328e..2989c6aed34a 100644 --- a/sc/source/ui/unoobj/editsrc.cxx +++ b/sc/source/ui/unoobj/editsrc.cxx @@ -137,7 +137,7 @@ std::unique_ptr<SvxEditSource> ScAnnotationEditSource::Clone() const SdrObject* ScAnnotationEditSource::GetCaptionObj() { ScPostIt* pNote = pDocShell->GetDocument().GetNote(aCellPos); - return pNote ? pNote->GetOrCreateCaption( aCellPos ) : nullptr; + return pNote ? pNote->GetOrCreateCaption( aCellPos ).get() : nullptr; } SvxTextForwarder* ScAnnotationEditSource::GetTextForwarder() |