From c510281181c647fc3c32e0d08aab99cd46bd3769 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 4 Mar 2013 14:07:07 +0100 Subject: no need for the dynamic cast anymore Change-Id: Ieef97a7c2bff0d5aaffb6034e057b33bc9c65a5b --- chart2/source/controller/dialogs/tp_ErrorBars.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.cxx b/chart2/source/controller/dialogs/tp_ErrorBars.cxx index b7b00fa63773..70b31288dac7 100644 --- a/chart2/source/controller/dialogs/tp_ErrorBars.cxx +++ b/chart2/source/controller/dialogs/tp_ErrorBars.cxx @@ -35,7 +35,7 @@ ErrorBarsTabPage::ErrorBarsTabPage( Window* pParent, const SfxItemSet& rInAttrs m_aErrorBarResources( this, // the parent is the tab control, of which the parent is the dialog - dynamic_cast< Dialog * >( pParent->GetParentDialog() ), + pParent->GetParentDialog(), rInAttrs, /* bNoneAvailable = */ false ) { FreeResource(); -- cgit