mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
elaborate type in stylesheet
This commit is contained in:
parent
07a197cd31
commit
d1d96be48f
|
@ -42,7 +42,7 @@ namespace detail {
|
|||
|
||||
struct stylesheet
|
||||
{
|
||||
format create_format(bool default_format)
|
||||
class format create_format(bool default_format)
|
||||
{
|
||||
format_impls.push_back(format_impl());
|
||||
auto &impl = format_impls.back();
|
||||
|
@ -60,7 +60,7 @@ struct stylesheet
|
|||
return xlnt::format(&impl);
|
||||
}
|
||||
|
||||
class format format(std::size_t index)
|
||||
class xlnt::format format(std::size_t index)
|
||||
{
|
||||
auto iter = format_impls.begin();
|
||||
std::advance(iter, static_cast<std::list<format_impl>::difference_type>(index));
|
||||
|
|
Loading…
Reference in New Issue
Block a user