summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 17:21:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-18 08:49:37 +0200
commiteea6d3951b66f85df60574e10f19a81bfd7529cc (patch)
tree0509297cd8fb5e59750f45099e04bbea7be968cc /include/osl
parent0501869949b65b27303a41fd235a6ec32a4c90a7 (diff)
loplugin:unnecessaryparen
look for statements like return (function()); Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3 Reviewed-on: https://gerrit.libreoffice.org/41260 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/module.hxx4
-rw-r--r--include/osl/thread.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/osl/module.hxx b/include/osl/module.hxx
index d0bc0ff6c14a..ef5065a297c6 100644
--- a/include/osl/module.hxx
+++ b/include/osl/module.hxx
@@ -123,7 +123,7 @@ public:
void* SAL_CALL getSymbol( const ::rtl::OUString& strSymbolName)
{
- return ( osl_getSymbol( m_Module, strSymbolName.pData ) );
+ return osl_getSymbol( m_Module, strSymbolName.pData );
}
/** Get function address by the function name in the module.
@@ -140,7 +140,7 @@ public:
*/
oslGenericFunction SAL_CALL getFunctionSymbol( const ::rtl::OUString& ustrFunctionSymbolName ) const
{
- return ( osl_getFunctionSymbol( m_Module, ustrFunctionSymbolName.pData ) );
+ return osl_getFunctionSymbol( m_Module, ustrFunctionSymbolName.pData );
}
/// @since LibreOffice 3.5
diff --git a/include/osl/thread.hxx b/include/osl/thread.hxx
index 389739c70aa7..a459f12bf48d 100644
--- a/include/osl/thread.hxx
+++ b/include/osl/thread.hxx
@@ -208,7 +208,7 @@ public:
*/
bool SAL_CALL setData(void *pData)
{
- return (osl_setThreadKeyData(m_hKey, pData));
+ return osl_setThreadKeyData(m_hKey, pData);
}
/** Get the data associated with the data key.