diff options
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_NumberFormat.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_NumberFormat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx index 9d0e54ca4c42..bcffbbdfe7c2 100644 --- a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx +++ b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx @@ -38,7 +38,7 @@ NumberFormatDialog::NumberFormatDialog(vcl::Window* pParent, SfxItemSet& rSet) ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT ); if ( fnCreatePage ) { - SfxTabPage* pTabPage = (*fnCreatePage)( get_content_area(), &rSet ); + VclPtr<SfxTabPage> pTabPage = (*fnCreatePage)( get_content_area(), &rSet ); pTabPage->PageCreated(rSet); SetTabPage(pTabPage); } |