check for empty searchStr in ReplaceAllOccurrences
check for empty searchStr in ReplaceAllOccurrences

This prevents an infinite loop in the subsequent while loop.
Same check as in ReplaceOneOccurrence.
tonyqus/npoi,antony-liu/npoi