diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index 561d8c92c524..f708407c03b7 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -993,11 +993,11 @@ IMPL_LINK( SwColumnPage, ColModify, NumericField *, pNF ) ------------------------------------------------------------------------*/ IMPL_LINK( SwColumnPage, GapModify, MetricField*, pMetricFld ) { + if (nCols < 2) + return 0; PercentField *pFld = m_aPercentFieldsMap[pMetricFld]; assert(pFld); long nActValue = static_cast< long >(pFld->DenormalizePercent(pFld->GetValue(FUNIT_TWIP))); - if(nCols < 2) - return 0; if(m_pAutoWidthBox->IsChecked()) { const long nMaxGap = static_cast< long > |