Commit 00395e41 authored by ElenaSubbotina's avatar ElenaSubbotina Committed by Alexander Trofimov

XlsFormat - исправление условных стилей FitnessChartMenMetric1.xls

parent af0bf700
...@@ -133,13 +133,13 @@ static void serialize_val_prop(std::wostream & stream, const std::wstring & name ...@@ -133,13 +133,13 @@ static void serialize_val_prop(std::wostream & stream, const std::wstring & name
CP_XML_NODE(name) CP_XML_NODE(name)
{ {
BIFF_DWORD* dword = dynamic_cast<BIFF_DWORD*>(val.get()); BIFF_DWORD* dword = dynamic_cast<BIFF_DWORD*>(val.get());
if (dword) CP_XML_ATTR(L"val", dword->value()); if (dword) CP_XML_ATTR(L"val", *dword->value());
BIFF_WORD* word = dynamic_cast<BIFF_WORD*>(val.get()); BIFF_WORD* word = dynamic_cast<BIFF_WORD*>(val.get());
if (word) CP_XML_ATTR(L"val", word->value()); if (word) CP_XML_ATTR(L"val", *word->value());
BIFF_BYTE* byte_ = dynamic_cast<BIFF_BYTE*>(val.get()); BIFF_BYTE* byte_ = dynamic_cast<BIFF_BYTE*>(val.get());
if (byte_) CP_XML_ATTR(L"val", byte_->value()); if (byte_) CP_XML_ATTR(L"val", *byte_->value());
LPWideString* str_ = dynamic_cast<LPWideString*>(val.get()); LPWideString* str_ = dynamic_cast<LPWideString*>(val.get());
if (str_) CP_XML_ATTR(L"val", xml::utils::replace_text_to_xml(str_->value())); if (str_) CP_XML_ATTR(L"val", xml::utils::replace_text_to_xml(str_->value()));
......
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