summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/FormShellManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/FormShellManager.cxx')
-rw-r--r--sd/source/ui/view/FormShellManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/FormShellManager.cxx b/sd/source/ui/view/FormShellManager.cxx
index 8116b2a3359d..fa86b58ec904 100644
--- a/sd/source/ui/view/FormShellManager.cxx
+++ b/sd/source/ui/view/FormShellManager.cxx
@@ -109,7 +109,7 @@ void FormShellManager::SetFormShell (FmFormShell* pFormShell)
if (pMainViewShell != nullptr)
{
// Prevent setting the view twice at the FmFormShell.
- FmFormView* pFormView = static_cast<FmFormView*>(pMainViewShell->GetView());
+ FmFormView* pFormView = pMainViewShell->GetView();
if (mpFormShell->GetFormView() != pFormView)
mpFormShell->SetView(pFormView);
}