summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-29 10:10:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-29 12:00:42 +0100
commit368f806aaa75fb80790026677e2400580536ed7a (patch)
tree8b0a7e13a15e036a90a128c7789eaf06f4026dd4 /shell
parentbdfbc91ca08a9a04fc9515b0a0bf669627fcc6ed (diff)
loplugin:unnecessaryparen (clang-cl)
Change-Id: I3a2b7ed3fdef3b77c0a052b10f88918aa616779e Reviewed-on: https://gerrit.libreoffice.org/45469 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/infotips/infotips.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/infotips/infotips.cxx b/shell/source/win32/shlxthandler/infotips/infotips.cxx
index 87fce0d29398..682fb3478eef 100644
--- a/shell/source/win32/shlxthandler/infotips/infotips.cxx
+++ b/shell/source/win32/shlxthandler/infotips/infotips.cxx
@@ -106,7 +106,7 @@ std::wstring getFileTypeInfo(const std::wstring& file_extension)
wchar_t extKeyValue[MAX_STRING];
wchar_t typeKeyValue[MAX_STRING];
::std::wstring sDot(L".");
- if (QueryRegistryKey(HKEY_CLASSES_ROOT, (sDot.append(file_extension)).c_str(), L"", extKeyValue, MAX_STRING))
+ if (QueryRegistryKey(HKEY_CLASSES_ROOT, sDot.append(file_extension).c_str(), L"", extKeyValue, MAX_STRING))
if (QueryRegistryKey( HKEY_CLASSES_ROOT, extKeyValue, L"",typeKeyValue, MAX_STRING))
return typeKeyValue;