summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 69565503a2c6..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->GetParent() ),
+ pParent->GetParentDialog(),
rInAttrs, /* bNoneAvailable = */ false )
{
FreeResource();