Kaydet (Commit) c8bad5e8 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:stringconstant

/home/noel/libo/desktop/source/lib/init.cxx:3571:22: error: rewrite call
of 'rtl::operator==' with empty string constant argument as call of
'rtl::OUString::isEmpty' [loplugin:stringconstant]
        if (aHeaders == "")

Change-Id: If0d8c411c6dd563622a855e209c0a5692c222abe
üst 6c46fdd7
......@@ -3568,7 +3568,7 @@ static char* doc_getCommandValues(LibreOfficeKitDocument* pThis, const char* pCo
}
OUString aHeaders = pDoc->getRowColumnHeaders(aRectangle);
if (aHeaders == "")
if (aHeaders.isEmpty())
return nullptr;
OString aString = OUStringToOString(aHeaders, RTL_TEXTENCODING_UTF8);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment