summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-20 13:47:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-22 19:10:55 +0000
commitf647691a55554f1a3a02aa4e997246ff7c16bcaa (patch)
treec6e28fb59cd619cb8aa8211ac12559760f3bcc1a /sc/source/ui/view/tabview.cxx
parentfc83e664fc119bf3d8a5a0bcc4d15a8e788d57fb (diff)
XUnoTunnel->dynamic_cast in ScTabViewObj
Change-Id: I8400b56dd656fe2a1144696db8578869b2d26cc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145972 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/tabview.cxx')
-rw-r--r--sc/source/ui/view/tabview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 607e5ddc60d2..048178301f1d 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -2247,7 +2247,7 @@ void ScTabView::SetNewVisArea()
css::uno::Reference<css::frame::XController> xController = rFrame.GetController();
if (xController.is())
{
- ScTabViewObj* pImp = comphelper::getFromUnoTunnel<ScTabViewObj>( xController );
+ ScTabViewObj* pImp = dynamic_cast<ScTabViewObj*>( xController.get() );
if (pImp)
pImp->VisAreaChanged();
}