Kaydet (Commit) 25ab24b4 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#100896 crash in hyperlink dialog

regression from...

commit 98747742
Author: Noel Grandin <noel@peralex.com>
Date:   Fri Jun 24 13:12:25 2016 +0200

    loplugin:singlevalfields in cui

which cut too deep

Change-Id: I0e42eed48196c9e037ba343eea93c2c854c0991c
üst 1bc9a5a9
......@@ -412,7 +412,17 @@ void IconChoiceDialog::ActivatePageImpl ()
{
if ( !pData->pPage )
{
pData->pPage = (pData->fnCreatePage)( m_pTabContainer, this, *CreateInputItemSet( mnCurrentPageId ) );
const SfxItemSet* pTmpSet = nullptr;
if ( pSet )
{
pTmpSet = pSet;
}
if ( pTmpSet )
pData->pPage = (pData->fnCreatePage)( m_pTabContainer, this, *pTmpSet );
else
pData->pPage = (pData->fnCreatePage)( m_pTabContainer, this, *CreateInputItemSet( mnCurrentPageId ) );
pData->pPage->Reset( *pSet );
......
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