[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Mar 4 05:14:02 PST 2013


 chart2/source/controller/dialogs/tp_ErrorBars.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68bc2384a250d3b6cb3017ba91c0dac5e8b6707f
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Mar 4 13:52:11 2013 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.cxx b/chart2/source/controller/dialogs/tp_ErrorBars.cxx
index 6956550..70b3128 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();


More information about the Libreoffice-commits mailing list