disable cog-spur
[oi-userland.git] / components / library / libwps / patches / 01-gcc7.patch
blob108bc23e76f88f5fb9f04f86566a840b7eb9dd2b
1 --- libwps-0.4.6/src/lib/WPS8TextStyle.cpp.orig Sat May 6 18:50:20 2017
2 +++ libwps-0.4.6/src/lib/WPS8TextStyle.cpp Sat May 6 18:50:59 2017
3 @@ -466,7 +466,7 @@
4 break;
5 case 0x1e:
7 - bool single = true;
8 + bool is_single = true;
9 switch (data.m_value)
11 case 1:
12 @@ -475,7 +475,7 @@
13 f << "underl[word],";
14 break;
15 case 3:
16 - single = false;
17 + is_single = false;
18 break; // double
19 case 4:
20 f << "underl[dot],";
21 @@ -518,12 +518,12 @@
22 break;
23 case 23:
24 f << "underl[curve]";
25 - single = false;
26 + is_single = false;
27 break; // and double
28 default:
29 f << "###underlFlag=" << data.m_value << ",";
31 - if (single)
32 + if (is_single)
33 textAttributeBits |= WPS_UNDERLINE_BIT;
34 else
35 textAttributeBits |= WPS_DOUBLE_UNDERLINE_BIT;