Add parenthesis to calm down cppcheck

Change-Id: If62959d80c9a7e207291fff05b5e085b0c84866f
This commit is contained in:
Julien Nabet
2013-02-13 20:45:52 +01:00
parent c7e65b12ff
commit 0787dc99aa

View File

@@ -116,6 +116,7 @@ registerAtUcb(
bool bSuccess = false;
if (rManager.is() && xProvider.is())
{
try
{
rManager->registerContentProvider(xProvider, rTemplate, true);
@@ -143,7 +144,7 @@ registerAtUcb(
catch (uno::RuntimeException const &) {}
throw;
}
}
if (bSuccess && pInfo)
{
pInfo->m_xProvider = xOriginalProvider;