loplugin:unnecessaryparen (clang-cl)

Change-Id: I61b006051e708636f0bba83b16de36f4571b8da7
This commit is contained in:
Stephan Bergmann
2017-08-22 08:38:48 +02:00
parent a2736303fe
commit 186eda28fc
2 changed files with 3 additions and 3 deletions

View File

@@ -231,7 +231,7 @@ bool SAL_CALL CDataFormatTranslator::isHTMLFormat( CLIPFORMAT cf )
bool SAL_CALL CDataFormatTranslator::isTextHtmlFormat( CLIPFORMAT cf ) bool SAL_CALL CDataFormatTranslator::isTextHtmlFormat( CLIPFORMAT cf )
{ {
OUString clipFormatName = getClipboardFormatName( cf ); OUString clipFormatName = getClipboardFormatName( cf );
return ( clipFormatName.equalsIgnoreAsciiCase( HTML_FORMAT_NAME_SOFFICE ) ); return clipFormatName.equalsIgnoreAsciiCase( HTML_FORMAT_NAME_SOFFICE );
} }
OUString SAL_CALL CDataFormatTranslator::getTextCharsetFromLCID( LCID lcid, CLIPFORMAT aClipformat ) OUString SAL_CALL CDataFormatTranslator::getTextCharsetFromLCID( LCID lcid, CLIPFORMAT aClipformat )

View File

@@ -23,12 +23,12 @@
oslInterlockedCount SAL_CALL osl_incrementInterlockedCount(oslInterlockedCount* pCount) oslInterlockedCount SAL_CALL osl_incrementInterlockedCount(oslInterlockedCount* pCount)
{ {
return (InterlockedIncrement(pCount)); return InterlockedIncrement(pCount);
} }
oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInterlockedCount* pCount) oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInterlockedCount* pCount)
{ {
return (InterlockedDecrement(pCount)); return InterlockedDecrement(pCount);
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */