Kaydet (Commit) 7d82067d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:unnecessaryparen: dtrans (clang-cl)

Change-Id: Ie366a48242d04a888e34ae2c95230ef4de05fbbb
üst 626c8be3
...@@ -283,7 +283,7 @@ Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml) ...@@ -283,7 +283,7 @@ Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml)
std::wstring getFileExtension(const std::wstring& aFilename) std::wstring getFileExtension(const std::wstring& aFilename)
{ {
std::wstring::size_type idx = aFilename.rfind(L"."); std::wstring::size_type idx = aFilename.rfind(L".");
if ((idx != std::wstring::npos)) if (idx != std::wstring::npos)
{ {
return std::wstring(aFilename, idx); return std::wstring(aFilename, idx);
} }
......
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