Re: OUString::isEmpty()

2016-01-15 Thread Chris Sherlock
Sorry all, I made an incredibly silly mistake - the last assertion is testing to false, not true! Sorry about that. Total non-issue - apologies for the list-spam. Chris > On 16 Jan 2016, at 3:20 PM, Chris Sherlock wrote: > > I’m sure I’m not doing something correctly, but when isEmpty() seem

OUString::isEmpty()

2016-01-15 Thread Chris Sherlock
I’m sure I’m not doing something correctly, but when isEmpty() seems to be doing something odd on new OUString objects. The following is a code snippet that highlights the issue: OUString aString; if (aString.isEmpty()) cout << “Detected as empty”; else cout << “Not detected as empty”; T