[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Nov 23 09:07:09 PST 2010
sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 62bd3c35ad066fdbc97d0643cf848d5fdb85555e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 23 16:52:26 2010 +0000
cppcheck: remove unused variable
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
index 1aadd82..58b67aa 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
@@ -220,7 +220,9 @@ void ConfigurationControllerResourceManager::DeactivateResource (
if ( ! rxResourceId.is())
return;
+#if defined VERBOSE && VERBOSE>=1
bool bSuccess (false);
+#endif
try
{
// 1. Remove resource from URL->Object map.
@@ -254,7 +256,9 @@ void ConfigurationControllerResourceManager::DeactivateResource (
}
}
+#if defined VERBOSE && VERBOSE>=1
bSuccess = true;
+#endif
}
}
catch (RuntimeException&)
More information about the Libreoffice-commits
mailing list