summaryrefslogtreecommitdiff
path: root/sw/source/core/fields
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-12 15:34:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-15 08:37:59 +0100
commit881d8470eb9ede52690dbd75c02f72c6ee422261 (patch)
tree991318034ecf2849e2fd531c9b7c421e4249daec /sw/source/core/fields
parent0ae0b7ff575b4148f9c06abd3bac78d0881ec817 (diff)
loplugin:referencecasting in sw
Change-Id: Ie923fc8baaa26938378407f6e5f3c50b2cea7cca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110815 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/fields')
-rw-r--r--sw/source/core/fields/docufld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index a5472dd27776..9297cebb11be 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -1865,7 +1865,7 @@ bool SwPostItField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const
else
m_xTextObject->SetString( m_sText );
- uno::Reference < text::XText > xText( m_xTextObject.get() );
+ uno::Reference < text::XText > xText( m_xTextObject );
rAny <<= xText;
break;
}