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()
{