Commit 19fdc147 authored by Alexander.Trofimov's avatar Alexander.Trofimov

read height from model if height calculated before

parent a4cee8fe
No related merge requests found
......@@ -1433,7 +1433,7 @@
} else {
isCustomHeight = 0 != (AscCommonExcel.g_nRowFlag_CustomHeight & row.flags);
// Берем высоту из модели, если она custom(баг 15618), либо дефолтную
if (row.h > 0 && isCustomHeight) {
if (row.h > 0 && (isCustomHeight || (AscCommonExcel.g_nRowFlag_CalcHeight & row.flags))) {
hR = row.h;
h = hR / 0.75;
h = (h | h) * 0.75; // 0.75 - это размер 1px в pt (можно было 96/72)
......
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