merge fix from devel

This commit is contained in:
Günter Obiltschnig
2021-04-11 17:32:40 +02:00
parent d10fc9cb74
commit 417a351401

View File

@@ -42,7 +42,7 @@ Cell::~Cell()
void Cell::setFonts(FontMapPtr pFontMap) void Cell::setFonts(FontMapPtr pFontMap)
{ {
_pFontMap = pFontMap; _pFontMap = pFontMap;
if (_pFontMap) poco_assert(_pFontMap->size() == 4); poco_assert(!_pFontMap || (_pFontMap->size() == 4));
} }