OUString cannot be NULL. Possibly you mean empty? For which there is an isEmpty() method. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220813/99de708c/attachment.htm>