Removed OSL_ENSURE since condition cannot happen

Change-Id: Ifa71ac9a56ea7ffb5491bdfabc4ec5473e85a02d
This commit is contained in:
Matteo Casalin
2014-03-29 21:52:04 +01:00
parent f711d01041
commit 1f04f53cc7

View File

@@ -1000,7 +1000,6 @@ IMPL_LINK( SwColumnPage, GapModify, MetricField*, pMetricFld )
return 0;
if(m_pAutoWidthBox->IsChecked())
{
OSL_ENSURE(nCols, "Abstand kann nicht ohne Spalten eingestellt werden");
const long nMaxGap = static_cast< long >
((pColMgr->GetActualSize() - nCols * MINLAY)/(nCols - 1));
if(nActValue > nMaxGap)