Commit 9d10c4dd authored by ElenaSubbotina's avatar ElenaSubbotina

Merge branch 'develop' of https://github.com/ONLYOFFICE/core into develop

parents ac0b7e4e d5026d01
...@@ -110,7 +110,7 @@ namespace utils { ...@@ -110,7 +110,7 @@ namespace utils {
{ {
if (!a_.empty()) if (!a_.empty())
{ {
return boost::lexical_cast<int>(a_.length())-1; return boost::lexical_cast<int>(a_) - 1;
} }
else else
return 0; return 0;
......
...@@ -1764,6 +1764,10 @@ void XlsxConverter::convert(OOX::Spreadsheet::CCellAnchor *oox_anchor) ...@@ -1764,6 +1764,10 @@ void XlsxConverter::convert(OOX::Spreadsheet::CCellAnchor *oox_anchor)
{ {
convert(oox_anchor->m_oGroupShape.GetPointer()); convert(oox_anchor->m_oGroupShape.GetPointer());
} }
else if (oox_anchor->m_oGraphicFrame.IsInit())
{
OoxConverter::convert(oox_anchor->m_oGraphicFrame.GetPointer());
}
} }
void XlsxConverter::convert(OOX::Spreadsheet::CDrawing *oox_drawing) void XlsxConverter::convert(OOX::Spreadsheet::CDrawing *oox_drawing)
......
...@@ -97,7 +97,7 @@ namespace PPTX ...@@ -97,7 +97,7 @@ namespace PPTX
if (spcPct.is_init()) if (spcPct.is_init())
{ {
oValue.m_strValue = L"<a:spcPct val=\"" + std::to_wstring(*spcPct) + L"\">"; oValue.m_strValue = L"<a:spcPct val=\"" + std::to_wstring(*spcPct) + L"\"/>";
} }
else else
{ {
......
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