summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_ErrorBars.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/tp_ErrorBars.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_ErrorBars.cxx2
1 files changed, 1 insertions, 1 deletions
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();