Kaydet (Commit) 94ea9663 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#104158 - Crash upon opening Table -> Number Format... in Writer

Change-Id: Ic5d30199250fbb5cc911cc5e7a58e0b7b9b1127c
Reviewed-on: https://gerrit.libreoffice.org/31201Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 8b718e37
...@@ -647,7 +647,7 @@ VclPtr<SfxAbstractDialog> SwAbstractDialogFactory_Impl::CreateSfxDialog( vcl::Wi ...@@ -647,7 +647,7 @@ VclPtr<SfxAbstractDialog> SwAbstractDialogFactory_Impl::CreateSfxDialog( vcl::Wi
sal_uInt32 nResId sal_uInt32 nResId
) )
{ {
SfxModalDialog* pDlg=nullptr; VclPtr<SfxModalDialog> pDlg;
switch ( nResId ) switch ( nResId )
{ {
case RC_DLG_ADDR : case RC_DLG_ADDR :
...@@ -667,7 +667,7 @@ VclPtr<SfxAbstractDialog> SwAbstractDialogFactory_Impl::CreateSfxDialog( vcl::Wi ...@@ -667,7 +667,7 @@ VclPtr<SfxAbstractDialog> SwAbstractDialogFactory_Impl::CreateSfxDialog( vcl::Wi
} }
if ( pDlg ) if ( pDlg )
VclPtr<SwAbstractSfxDialog_Impl>::Create( pDlg ); return VclPtr<SwAbstractSfxDialog_Impl>::Create( pDlg );
return nullptr; return nullptr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment