Commit 07ba4892 authored by Sergey.Tsarkov's avatar Sergey.Tsarkov Committed by Alexander Trofimov

fix bug #31318

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@67351 954022d7-b5bf-4e40-9824-e11837661b57
parent 74a40e53
...@@ -202,7 +202,7 @@ namespace MathEquation ...@@ -202,7 +202,7 @@ namespace MathEquation
int nCurPos = WriteItemStart(BinDocxRW::c_oSer_OMathContentType::MRPr); int nCurPos = WriteItemStart(BinDocxRW::c_oSer_OMathContentType::MRPr);
BYTE eStyle = SimpleTypes::stylePlain; BYTE eStyle = SimpleTypes::stylePlain;
if (oRun.pFont->bBold || oRun.pFont->bItalic) if (oRun.pFont && (oRun.pFont->bBold || oRun.pFont->bItalic))
{ {
if (oRun.pFont->bBold) if (oRun.pFont->bBold)
{ {
......
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