summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/cellsuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-20 18:39:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-22 19:11:14 +0000
commita32675a5fef9cc8a32234ba7ba1eacb53265e735 (patch)
treebb583b2c6e9cc998fc18739ff2ce61fd177e73f0 /sc/source/ui/unoobj/cellsuno.cxx
parentf94dc655ec37ec8f40de70f9105a8427a362f266 (diff)
XUnoTunnel->dynamic_cast in ScTableValidationObj
Change-Id: I7b42ed7b7d7332c24908d0011a216e9617e6c80d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145974 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj/cellsuno.cxx')
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 851c85645351..079645d79166 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2302,7 +2302,7 @@ void ScCellRangesBase::SetOnePropertyValue( const SfxItemPropertyMapEntry* pEntr
if ( !aRanges.empty() && xInterface.is() ) // empty = nothing to do
{
ScTableValidationObj* pValidObj =
- comphelper::getFromUnoTunnel<ScTableValidationObj>( xInterface );
+ dynamic_cast<ScTableValidationObj*>( xInterface.get() );
if (pValidObj)
{
ScDocument& rDoc = pDocShell->GetDocument();