diff options
Diffstat (limited to 'sw/source/ui/chrdlg/tblnumfm.cxx')
-rw-r--r-- | sw/source/ui/chrdlg/tblnumfm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/chrdlg/tblnumfm.cxx b/sw/source/ui/chrdlg/tblnumfm.cxx index 108b6b3eb19c..5220ee5c53a3 100644 --- a/sw/source/ui/chrdlg/tblnumfm.cxx +++ b/sw/source/ui/chrdlg/tblnumfm.cxx @@ -40,7 +40,7 @@ SwNumFormatDlg::SwNumFormatDlg(vcl::Window* pParent, const SfxItemSet& rSet) if ( fnCreatePage ) { - SfxTabPage* pNewPage = (*fnCreatePage)( get_content_area(), &rSet ); + VclPtr<SfxTabPage> pNewPage = (*fnCreatePage)( get_content_area(), &rSet ); SfxAllItemSet aSet(*(rSet.GetPool())); aSet.Put ( SvxNumberInfoItem( static_cast<const SvxNumberInfoItem&>(pNewPage->GetItemSet().Get( SID_ATTR_NUMBERFORMAT_INFO )))); pNewPage->PageCreated(aSet); |