Re: Useful string function in inputwin.cxx

2014-06-20 Thread Miklos Vajna
Hi Philipp, On Thu, Jun 19, 2014 at 10:18:28PM +0200, Philipp Weissenbacher wrote: > Would that be something one could move to another place (like ustring.cxx) > where other code could use it too? If you do that, you probably want to add it to include/comphelper/string.hxx: // OUString helper

Useful string function in inputwin.cxx

2014-06-19 Thread Philipp Weissenbacher
Hi all, I've just finished translating Calc's inputwin.cxx and noticed the following (local static) function: static sal_Int32 findFirstNonMatchingChar(const OUString& rStr1, const OUString& rStr2) { // Search the string for unmatching chars const sal_Unicode* pStr1 = rStr1.getStr();