From 7d82067d38663bc0a8ee1a12087a763bcb73d744 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 17 Jul 2017 17:19:31 +0200 Subject: loplugin:unnecessaryparen: dtrans (clang-cl) Change-Id: Ie366a48242d04a888e34ae2c95230ef4de05fbbb --- dtrans/source/win32/dtobj/FmtFilter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dtrans/source') diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx index 0a2f2446cd1e..711dd8a68364 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/dtrans/source/win32/dtobj/FmtFilter.cxx @@ -283,7 +283,7 @@ Sequence SAL_CALL TextHtmlToHTMLFormat(Sequence& aTextHtml) std::wstring getFileExtension(const std::wstring& aFilename) { std::wstring::size_type idx = aFilename.rfind(L"."); - if ((idx != std::wstring::npos)) + if (idx != std::wstring::npos) { return std::wstring(aFilename, idx); } -- cgit