summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/configuration
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-23 16:52:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-23 16:52:26 +0000
commit6908efa1441e80c483631b694ba0232cb6b7a113 (patch)
tree8c1f6fa105f081590052944df84867284f0bb276 /sd/source/ui/framework/configuration
parente0e6ebcda851035714e0040ebf40ff1ec5d3b99f (diff)
cppcheck: remove unused variable
Diffstat (limited to 'sd/source/ui/framework/configuration')
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
index b640c89453cc..e1c285f149af 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&)