From f2918ed9add416e16396965a4b6c7a5e8865a07f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jan 2023 16:33:01 +0200 Subject: XUnoTunnel->dynamic_cast in SvUnoAttributeContainer Change-Id: Ief76f12dd98e3455667b70d09605c82c0cedc4b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145485 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/items/xmlcnitm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editeng') diff --git a/editeng/source/items/xmlcnitm.cxx b/editeng/source/items/xmlcnitm.cxx index 50733ade4dd4..7507ed2afdd0 100644 --- a/editeng/source/items/xmlcnitm.cxx +++ b/editeng/source/items/xmlcnitm.cxx @@ -76,8 +76,8 @@ bool SvXMLAttrContainerItem::QueryValue( css::uno::Any& rVal, sal_uInt8 /*nMembe bool SvXMLAttrContainerItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) { - Reference xTunnel(rVal, UNO_QUERY); - if (auto pContainer = comphelper::getFromUnoTunnel(xTunnel)) + Reference xTunnel(rVal, UNO_QUERY); + if (auto pContainer = dynamic_cast(xTunnel.get())) { maContainerData = *pContainer->GetContainerImpl(); } -- cgit emini/cg-4.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/shell/qa
AgeCommit message (Expand)Author
2015-10-23Remove obsolete version map filesStephan Bergmann
2015-08-07cppcheck:noExplicitConstructorNoel Grandin
2014-08-13warning C4189: local variable is initialized but not referencedThomas Arnhold
2014-06-02fdo#68849: Add header guards to all include filesJens Carl
2013-07-18Test also the IStream partFridrich Štrba
2013-07-18Try to make the ziptest a bit more genericFridrich Štrba
2013-07-18Trying to resurect the zip testFridrich Štrba