summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-04 14:07:07 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-04 14:11:05 +0100
commitc510281181c647fc3c32e0d08aab99cd46bd3769 (patch)
treea588527096f51d8a5ac1f8364eeead235cc04956 /chart2
parentd8105ab9f3c7b4e846b4422b6b0eb1dc66d806a8 (diff)
no need for the dynamic cast anymore
Change-Id: Ieef97a7c2bff0d5aaffb6034e057b33bc9c65a5b
Diffstat (limited to 'chart2')
-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();