Kaydet (Commit) 3b02c40a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

clang-cl loplugin: comphelper

Change-Id: Icde27eeeb21e9049630028e81af10edc1ba8ae04
Reviewed-on: https://gerrit.libreoffice.org/29876Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 227d3d09
......@@ -693,7 +693,7 @@ SfxFilterFlags MimeConfigurationHelper::GetFilterFlags( const OUString& aFilterN
bool MimeConfigurationHelper::AddFilterNameCheckOwnFile(
uno::Sequence< beans::PropertyValue >& aMediaDescr )
{
OUString aFilterName = UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_False );
OUString aFilterName = UpdateMediaDescriptorWithFilterName( aMediaDescr, false );
if ( !aFilterName.isEmpty() )
{
SfxFilterFlags nFlags = GetFilterFlags( aFilterName );
......
......@@ -21,12 +21,12 @@ inline OUString WindowsErrorString(DWORD nErrorCode)
LPWSTR pMsgBuf;
if (FormatMessageW(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
nullptr,
nErrorCode,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPWSTR)&pMsgBuf,
reinterpret_cast<LPWSTR>(&pMsgBuf),
0,
NULL) == 0)
nullptr) == 0)
return OUString::number(nErrorCode, 16);
if (pMsgBuf[wcslen(pMsgBuf)-1] == '\n')
......
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