mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
.
This commit is contained in:
@ -429,7 +429,7 @@ std::wstring NSPresentationEditor::CShapeWriter::ConvertBrush(CBrush & brush)
|
||||
brush_writer.WriteString(L"</a:blipFill>");
|
||||
}
|
||||
}
|
||||
else if ( brush.Type == c_BrushTypeNoFill)
|
||||
else if ( brush.Type == c_BrushTypeNoFill )
|
||||
{
|
||||
brush_writer.WriteString(L"<a:noFill/>");
|
||||
}
|
||||
@ -488,7 +488,7 @@ std::wstring NSPresentationEditor::CShapeWriter::ConvertBrush(CBrush & brush)
|
||||
brush_writer.WriteString(L"</a:bgClr>");
|
||||
brush_writer.WriteString(L"</a:pattFill>");
|
||||
}
|
||||
else
|
||||
else if (brush.Type != c_BrushTypeNotSet)
|
||||
{
|
||||
brush_writer.WriteString(std::wstring(L"<a:solidFill>"));
|
||||
brush_writer.WriteString(ConvertColor(brush.Color1, brush.Alpha1));
|
||||
|
||||
@ -261,7 +261,8 @@ void CPPTElement::SetUpProperties(CElementPtr pElement, CTheme* pTheme, CSlideIn
|
||||
{
|
||||
pElement->m_oBrush.Type = c_BrushTypeNoFill;
|
||||
}
|
||||
else if (pElement->m_oBrush.Type == c_BrushTypeNotSet )
|
||||
else if (pElement->m_oBrush.Type == c_BrushTypeNotSet &&
|
||||
(pElement->m_lPlaceholderType == 0 && pElement->m_lPlaceholderID < 0 ))
|
||||
{
|
||||
pElement->m_oBrush.Type = c_BrushTypeSolid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user