1064:4c7a353cf583 | 1065:c8ecddbd99e9 |
---|---|
228 { | 228 { |
229 int idx = lineNumber(); | 229 int idx = lineNumber(); |
230 | 230 |
231 if (idx != -1 and not others.isEmpty()) | 231 if (idx != -1 and not others.isEmpty()) |
232 { | 232 { |
233 for (int i = 1; i < length(others); ++i) | 233 for (int i = 1; i < countof(others); ++i) |
234 document()->insertObject (idx + i, others[i]); | 234 document()->insertObject (idx + i, others[i]); |
235 | 235 |
236 document()->setObjectAt (idx, others[0]); | 236 document()->setObjectAt (idx, others[0]); |
237 destroy(); | 237 destroy(); |
238 } | 238 } |
979 "CLIP CCW", | 979 "CLIP CCW", |
980 "CLIP CW", | 980 "CLIP CW", |
981 "NOCLIP", | 981 "NOCLIP", |
982 }; | 982 }; |
983 | 983 |
984 if ((int) statement >= 0 and (int) statement < length (statementStrings)) | 984 if ((int) statement >= 0 and (int) statement < countof (statementStrings)) |
985 return QString::fromLatin1 (statementStrings[(int) statement]); | 985 return QString::fromLatin1 (statementStrings[(int) statement]); |
986 else | 986 else |
987 return ""; | 987 return ""; |
988 } | 988 } |
989 | 989 |