[de] Fix section determination for read mode

This commit is contained in:
Ilya Kirillov
2025-09-17 15:09:57 +03:00
parent 959c0f04e8
commit 834cef0b33

View File

@ -1571,7 +1571,8 @@ CDocumentContentElementBase.prototype.Get_SectPr = function()
if (!logicDocument || !logicDocument.IsDocumentEditor())
return null;
return logicDocument.GetSections().GetSectPrByElement(this);
let sectPr = logicDocument.GetSections().GetSectPrByElement(this);
return logicDocument.Layout.CheckSectPr(sectPr);
};
//--------------------------------------------------------export--------------------------------------------------------