Change-Id: I5bc8efa8a9de6d7a2be99f6c816e3dfca4f2b390
This commit is contained in:
Caolán McNamara
2016-10-28 10:51:01 +01:00
parent cd3edd369b
commit ec06f95d91
2 changed files with 3 additions and 3 deletions

View File

@@ -664,11 +664,11 @@ IMPL_LINK_NOARG(SvxHFPage, BackgroundHdl, Button*, void)
if(pFact)
{
//UUUU
SfxAbstractTabDialog* pDlg = pFact->CreateSvxBorderBackgroundDlg(
ScopedVclPtr<SfxAbstractTabDialog> pDlg(pFact->CreateSvxBorderBackgroundDlg(
this,
*pBBSet,
true/*EnableBackgroundSelector*/,
mbEnableDrawingLayerFillStyles);
mbEnableDrawingLayerFillStyles));
DBG_ASSERT(pDlg,"Dialog creation failed!");
if(RET_OK == pDlg->Execute() && pDlg->GetOutputItemSet())

View File

@@ -119,7 +119,7 @@ bool SwMacroAssignDlg::INetFormatDlg( vcl::Window* pParent, SwWrtShell& rSh,
aSet.Put( AddEvents( MACASSGN_INETFMT ) );
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
SfxAbstractDialog* pMacroDlg = pFact->CreateSfxDialog( pParent, aSet,
VclPtr<SfxAbstractDialog> pMacroDlg = pFact->CreateSfxDialog( pParent, aSet,
rSh.GetView().GetViewFrame()->GetFrame().GetFrameInterface(),
SID_EVENTCONFIG );
if ( pMacroDlg && pMacroDlg->Execute() == RET_OK )