summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/tabdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index f6fd5f90299f..c707cccea6a8 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -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;