From d1d96be48f5249a196928110304fc695959b46b7 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 3 Dec 2016 16:35:48 +0100 Subject: [PATCH] elaborate type in stylesheet --- source/detail/stylesheet.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/detail/stylesheet.hpp b/source/detail/stylesheet.hpp index b029c655..cfbf565a 100644 --- a/source/detail/stylesheet.hpp +++ b/source/detail/stylesheet.hpp @@ -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::difference_type>(index));