From 0787dc99aa546f68f4003afd5e60cdcca56cad1d Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 13 Feb 2013 20:45:52 +0100 Subject: Add parenthesis to calm down cppcheck Change-Id: If62959d80c9a7e207291fff05b5e085b0c84866f --- ucbhelper/source/provider/registerucb.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ucbhelper') diff --git a/ucbhelper/source/provider/registerucb.cxx b/ucbhelper/source/provider/registerucb.cxx index 6d4bf3ee6376..8b2e5e0f926c 100644 --- a/ucbhelper/source/provider/registerucb.cxx +++ b/ucbhelper/source/provider/registerucb.cxx @@ -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; -- cgit