Kaydet (Commit) 42c428b9 authored tarafından Caolán McNamara's avatar Caolán McNamara

clip to max

Change-Id: Ibc25262fc0e350ce2d676940f0ec7f2fb368128f
üst 4d145c27
......@@ -889,8 +889,8 @@ void wwSectionManager::CreateSep(const long nTxtPos, bool /*bMustHaveBreak*/)
aNewSection.maSep.ccolM1 = ReadSprm(pSep, pIds[3], 0 );
if ( aNewSection.maSep.ccolM1 >= MAX_NO_OF_SEP_COLUMNS )
{
// fallback to one column
aNewSection.maSep.ccolM1 = 0;
// clip to max
aNewSection.maSep.ccolM1 = MAX_NO_OF_SEP_COLUMNS-1;
}
//sprmSDxaColumns - Default-Abstand 1.25 cm
......
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