Kaydet (Commit) 06f04bf8 authored tarafından Mike Kaganski's avatar Mike Kaganski

Simplify conditions a little

Change-Id: Iaa587f1a2d78f14b999f2e9e866db058d466493f
Reviewed-on: https://gerrit.libreoffice.org/50137Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 6103b669
......@@ -776,10 +776,10 @@ short SfxTabDialog::Ok()
if ( !m_pOutSet )
{
if ( !m_pExampleSet && m_pSet )
m_pOutSet = m_pSet->Clone( false ); // without Items
else if ( m_pExampleSet )
if ( m_pExampleSet )
m_pOutSet = new SfxItemSet( *m_pExampleSet );
else if ( m_pSet )
m_pOutSet = m_pSet->Clone( false ); // without Items
}
bool bModified = false;
......
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