Commit d190fdaa authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander Trofimov

(1.0.0.108): XlsxSerializerCom

Падение если в главнов xf нет хотябы одного из атрибутов numFmtId,fontId,fillId,borderId

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@54875 954022d7-b5bf-4e40-9824-e11837661b57
parent f3f69f21
......@@ -316,13 +316,25 @@ namespace OOX
OOX::Spreadsheet::CXfs* pXfs = m_pStyles->m_oCellXfs->m_arrItems[0];
if(false == pXfs->m_oBorderId.IsInit())
{
pXfs->m_oBorderId.Init();
pXfs->m_oBorderId->SetValue(0);
}
if(false == pXfs->m_oFillId.IsInit())
{
pXfs->m_oFillId.Init();
pXfs->m_oFillId->SetValue(0);
}
if(false == pXfs->m_oFontId.IsInit())
{
pXfs->m_oFontId.Init();
pXfs->m_oFontId->SetValue(0);
}
if(false == pXfs->m_oNumFmtId.IsInit())
{
pXfs->m_oNumFmtId.Init();
pXfs->m_oNumFmtId->SetValue(0);
}
}
// <is> str sharedString
POSITION pos = m_aWorksheets.GetStartPosition();
......
......@@ -208,7 +208,7 @@
Name="VCPostBuildEventTool"
Description="Copy to redist"
CommandLine="copy $(TargetPath) ..\Redist\XlsxSerializerCom.dll"
ExcludedFromBuild="true"
ExcludedFromBuild="false"
/>
</Configuration>
<Configuration
......
......@@ -2,6 +2,6 @@
//1
//0
//0
//107
#define INTVER 1,0,0,107
#define STRVER "1,0,0,107\0"
//108
#define INTVER 1,0,0,108
#define STRVER "1,0,0,108\0"
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