From d0bacf548ccc4c4113b06205a61099dabe4adf50 Mon Sep 17 00:00:00 2001 From: TataMata Date: Sun, 12 Nov 2017 10:34:51 +0100 Subject: [PATCH] Reformatted source Reformatted pull request to match the library formatting style. --- source/detail/serialization/xlsx_consumer.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/detail/serialization/xlsx_consumer.cpp b/source/detail/serialization/xlsx_consumer.cpp index 15681610..2ae0573e 100644 --- a/source/detail/serialization/xlsx_consumer.cpp +++ b/source/detail/serialization/xlsx_consumer.cpp @@ -1705,10 +1705,14 @@ void xlsx_consumer::read_shared_workbook_user_data() } namespace { + +/// +/// Try to find given xfid value in the styles vector and, if succeeded, set's the optional style. +/// void set_style_by_xfid( - const std::vector>& styles, - std::size_t xfid, optional& style -) { + const std::vector>& styles, std::size_t xfid, optional& style +) +{ for(auto item : styles) { if( item.second == xfid ) @@ -1717,7 +1721,8 @@ void set_style_by_xfid( } } } -} + +} // namespace void xlsx_consumer::read_stylesheet() {