Skip to content

Commit 68f2c3f

Browse files
.
1 parent 6a8d109 commit 68f2c3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ASCOfficeOdfFileW/source/OdfFormat/odt_conversion_context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,9 +845,9 @@ void odt_conversion_context::set_field_date_time(const std::wstring &date_time)
845845
current_fields.back().type = fieldDateTime;
846846
current_fields.back().value = date_time;
847847
}
848-
void odt_conversion_context::set_field_color(_CP_OPT(color) &color)
848+
void odt_conversion_context::set_field_color(_CP_OPT(color) &clr)
849849
{
850-
current_fields.back().color = color;
850+
current_fields.back().color_ = clr;
851851
}
852852
void odt_conversion_context::set_field_format(const std::wstring &format)
853853
{

ASCOfficeOdfFileW/source/OdfFormat/odt_conversion_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class odt_conversion_context : public odf_conversion_context
229229
std::wstring format;
230230
std::wstring instrText;
231231

232-
_CP_OPT(color) color;
232+
_CP_OPT(color) color_;
233233

234234
short status = 0;//0, 1, 2, 3 - init, prapare, start, finish
235235
bool in_span = false;

0 commit comments

Comments
 (0)