[Libreoffice-commits] core.git: chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Mar 4 04:55:41 PST 2013


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

New commits:
commit 1f810b3adf030d4e20e71845bd6368b119a53bc7
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

diff --git a/chart2/source/controller/dialogs/tp_ErrorBars.cxx b/chart2/source/controller/dialogs/tp_ErrorBars.cxx
index 6956550..b7b00fa 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() ),
+            dynamic_cast< Dialog * >( pParent->GetParentDialog() ),
             rInAttrs, /* bNoneAvailable = */ false )
 {
     FreeResource();


More information about the Libreoffice-commits mailing list