diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-04 13:52:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-04 13:13:42 +0000 |
commit | 68bc2384a250d3b6cb3017ba91c0dac5e8b6707f (patch) | |
tree | a628124ee59a7c25e871b6093a62d4ef69c806e1 /chart2 | |
parent | c56ae179f83034df407cd609a69c140d24d3ec6d (diff) |
we need to use GetParentDialog nowadays, fdo#60253
Change-Id: I6317ce1f99af58439f7009cac5a4bc133e404dbf
(cherry picked from commit 1f810b3adf030d4e20e71845bd6368b119a53bc7)
Reviewed-on: https://gerrit.libreoffice.org/2537
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_ErrorBars.cxx | 2 |
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(); |