summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-17 17:19:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-17 17:19:31 +0200
commit7d82067d38663bc0a8ee1a12087a763bcb73d744 (patch)
treec925bcfd078289b4a888371318f40b89fedfed04 /dtrans
parent626c8be3590193589dba42d8fa8ce1cce267461e (diff)
loplugin:unnecessaryparen: dtrans (clang-cl)
Change-Id: Ie366a48242d04a888e34ae2c95230ef4de05fbbb
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/dtobj/FmtFilter.cxx2
1 files changed, 1 insertions, 1 deletions
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_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& 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);
}