--- libwps-0.4.6/src/lib/WPS8TextStyle.cpp.orig Sat May 6 18:50:20 2017 +++ libwps-0.4.6/src/lib/WPS8TextStyle.cpp Sat May 6 18:50:59 2017 @@ -466,7 +466,7 @@ break; case 0x1e: { - bool single = true; + bool is_single = true; switch (data.m_value) { case 1: @@ -475,7 +475,7 @@ f << "underl[word],"; break; case 3: - single = false; + is_single = false; break; // double case 4: f << "underl[dot],"; @@ -518,12 +518,12 @@ break; case 23: f << "underl[curve]"; - single = false; + is_single = false; break; // and double default: f << "###underlFlag=" << data.m_value << ","; } - if (single) + if (is_single) textAttributeBits |= WPS_UNDERLINE_BIT; else textAttributeBits |= WPS_DOUBLE_UNDERLINE_BIT;