mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
(1.0.1.200): ASCOfficeOdfFile
поправлена конвертация диаграмм с пустыми сериями git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@57127 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
0ef15a02ba
commit
bb37a6dffa
@ -2,6 +2,6 @@
|
||||
//1
|
||||
//0
|
||||
//1
|
||||
//199
|
||||
#define INTVER 1,0,1,199
|
||||
#define STRVER "1,0,1,199\0"
|
||||
//200
|
||||
#define INTVER 1,0,1,200
|
||||
#define STRVER "1,0,1,200\0"
|
||||
|
||||
@ -194,6 +194,11 @@ void chart_build::oox_convert(oox::oox_chart_context & chart)
|
||||
|
||||
int series_id =0;
|
||||
|
||||
if (series_.empty())
|
||||
{
|
||||
chart.add_chart(class_);
|
||||
}
|
||||
|
||||
BOOST_FOREACH(series & s, series_)
|
||||
{
|
||||
if (s.class_!=last_set_type)
|
||||
|
||||
@ -9,7 +9,7 @@ border_style::border_style(const std::wstring & Value) : initialized_(false), no
|
||||
std::wstring tmp = boost::algorithm::trim_copy(Value);
|
||||
boost::algorithm::to_lower(tmp);
|
||||
|
||||
if (L"none" == tmp)
|
||||
if (L"none" == tmp || tmp.length() < 1)
|
||||
{
|
||||
none_ = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user