summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-12 15:35:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-15 08:37:47 +0100
commit0ae0b7ff575b4148f9c06abd3bac78d0881ec817 (patch)
tree5ded0fa7b49654d478423cbb21390c4cc88112c7 /sd/source/ui/annotations
parent8ec3222d47ef5a13921576569a700785378916a8 (diff)
loplugin:referencecasting in sd
Change-Id: I3d5e0fd3f9d8ea61aad5846a0ee19568a5d365a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110817 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 7bb4a0857968..ce004490037a 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -867,7 +867,7 @@ void AnnotationManagerImpl::SelectAnnotation( const css::uno::Reference< css::of
[&xAnnotation](const rtl::Reference<AnnotationTag>& rxTag) { return rxTag->GetAnnotation() == xAnnotation; });
if (iter != maTagVector.end())
{
- SmartTagReference xTag( (*iter).get() );
+ SmartTagReference xTag( *iter );
mrBase.GetMainViewShell()->GetView()->getSmartTags().select( xTag );
(*iter)->OpenPopup( bEdit );
}
@@ -974,7 +974,7 @@ void AnnotationManagerImpl::CreateTags()
if( xSelectedTag.is() )
{
- SmartTagReference xTag( xSelectedTag.get() );
+ SmartTagReference xTag( xSelectedTag );
mrBase.GetMainViewShell()->GetView()->getSmartTags().select( xTag );
}
else