mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-10 17:38:38 +08:00
fix bug #81039
This commit is contained in:
@ -393,12 +393,12 @@ int ATTACHEDLABEL::serialize(std::wostream & _stream, bool isPosition)
|
||||
|
||||
int ATTACHEDLABEL::serialize_rPr (std::wostream & _stream, int iFnt, bool rtl, bool defRPr)
|
||||
{
|
||||
if (!pGlobalWorkbookInfoPtr) return 0;
|
||||
if (!pGlobalWorkbookInfoPtr) return 0;
|
||||
|
||||
int sz = pGlobalWorkbookInfoPtr->m_arFonts.size();
|
||||
if (iFnt - 1 > sz || iFnt < 1) return 0;
|
||||
if (iFnt > sz || iFnt < 1) return 0;
|
||||
|
||||
Font * font = dynamic_cast<Font*>(pGlobalWorkbookInfoPtr->m_arFonts[iFnt -1].get());
|
||||
Font * font = dynamic_cast<Font*>(pGlobalWorkbookInfoPtr->m_arFonts[iFnt - 1].get());
|
||||
|
||||
Text * text_props = dynamic_cast<Text*>(m_TextProperties.get());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user