298 |
|
} |
299 |
|
} |
300 |
|
|
301 |
< |
if (sample == "") |
301 |
> |
if (sample.empty()) |
302 |
|
{ |
303 |
|
for (end = sampleMax; end > 0 && (end + 1 < getText().length()); end--) |
304 |
|
{ |
316 |
|
{ |
317 |
|
sample += " <strong>...</strong>"; |
318 |
|
} |
319 |
< |
else if (sample == "") |
319 |
> |
else if (sample.empty()) |
320 |
|
{ |
321 |
|
sample = "<strong>...</strong>"; |
322 |
|
} |
454 |
|
{ |
455 |
|
lowerAddress = tolower(getAddress()); |
456 |
|
|
457 |
< |
if (site == "" || lowerAddress.rfind(site) == lowerAddress.length() - |
457 |
> |
if (site.empty() || lowerAddress.rfind(site) == lowerAddress.length() - |
458 |
|
site.length()) |
459 |
|
{ |
460 |
|
bool isRequired(required.size() > 0), isExcluded(excluded.size() > 0), |
889 |
|
|
890 |
|
decrap(word); |
891 |
|
|
892 |
< |
if (word == "") |
892 |
> |
if (word.empty()) |
893 |
|
{ |
894 |
|
// this can happen if a word is all crap characters |
895 |
|
value++; |
937 |
|
|
938 |
|
decrap(word); |
939 |
|
|
940 |
< |
if (word == "") |
940 |
> |
if (word.empty()) |
941 |
|
{ |
942 |
|
// this can happen if a word is all crap characters |
943 |
|
value++; |