diff options
Diffstat (limited to 'sw/source/ui/frmdlg/uiborder.cxx')
-rw-r--r-- | sw/source/ui/frmdlg/uiborder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/frmdlg/uiborder.cxx b/sw/source/ui/frmdlg/uiborder.cxx index 5108a122832f..0b9e07793b0a 100644 --- a/sw/source/ui/frmdlg/uiborder.cxx +++ b/sw/source/ui/frmdlg/uiborder.cxx @@ -41,7 +41,7 @@ SwBorderDlg::SwBorderDlg(vcl::Window* pParent, SfxItemSet& rSet, SwBorderModes n if ( fnCreatePage ) { - SfxTabPage* pNewPage = (*fnCreatePage)( get_content_area(), &rSet ); + VclPtr<SfxTabPage> pNewPage = (*fnCreatePage)( get_content_area(), &rSet ); SfxAllItemSet aSet(*(rSet.GetPool())); aSet.Put (SfxUInt16Item(SID_SWMODE_TYPE, static_cast<sal_uInt16>(nType))); if(SwBorderModes::TABLE == nType) |