[Libreoffice-commits] core.git: embedserv/source
Stephan Bergmann
sbergman at redhat.com
Mon Aug 21 09:15:12 UTC 2017
embedserv/source/embed/servprov.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 19efa825090f1b41bcbc2f6d84ee0102cf4bb259
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Aug 21 11:12:02 2017 +0200
loplugin:unnecessaryparen (clang-cl)
Change-Id: I11a535a5271ec15965877986f15adc0804c00a4f
diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx
index 407dc1e2e8ff..d44ee2e161da 100644
--- a/embedserv/source/embed/servprov.cxx
+++ b/embedserv/source/embed/servprov.cxx
@@ -71,13 +71,13 @@ CurThreadData::~CurThreadData()
bool CurThreadData::setData(void *pData)
{
OSL_ENSURE( m_hKey, "No thread key!" );
- return (osl_setThreadKeyData(m_hKey, pData));
+ return osl_setThreadKeyData(m_hKey, pData);
}
void *CurThreadData::getData()
{
OSL_ENSURE( m_hKey, "No thread key!" );
- return (osl_getThreadKeyData(m_hKey));
+ return osl_getThreadKeyData(m_hKey);
}
void o2u_attachCurrentThread()
More information about the Libreoffice-commits
mailing list