summaryrefslogtreecommitdiff
path: root/sc/source/core/data
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-12 15:35:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-15 08:39:02 +0100
commit1c02784889a5b4104878e2c767dff723b2173275 (patch)
tree59229c54ab7a0a08ea498960f6a16f8444498789 /sc/source/core/data
parent948c29710a0bb168ec07e3aca510fa6860f2da52 (diff)
loplugin:referencecasting in sc
Change-Id: I908c0d5a2a3360bb9c9c9edf925a485411515ea2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110816 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data')
-rw-r--r--sc/source/core/data/attrib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 1ae01ef1c26f..105c95c6a7ae 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -395,7 +395,7 @@ bool ScPageHFItem::QueryValue( uno::Any& rVal, sal_uInt8 /* nMemberId */ ) const
new ScHeaderFooterContentObj();
xContent->Init(pLeftArea.get(), pCenterArea.get(), pRightArea.get());
- uno::Reference<sheet::XHeaderFooterContent> xCont(xContent.get());
+ uno::Reference<sheet::XHeaderFooterContent> xCont(xContent);
rVal <<= xCont;
return true;