diff options
Diffstat (limited to 'sc/source/ui/view/tabvwsh4.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index c0a8ae702257..63cbf1f2229a 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -1136,7 +1136,7 @@ static ScTabViewObj* lcl_GetViewObj( const ScTabViewShell& rShell ) SfxFrame& rFrame = pViewFrame->GetFrame(); uno::Reference<frame::XController> xController = rFrame.GetController(); if (xController.is()) - pRet = comphelper::getFromUnoTunnel<ScTabViewObj>( xController ); + pRet = dynamic_cast<ScTabViewObj*>( xController.get() ); } return pRet; } |