summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/gconfbe/gconfaccess.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index 1b30545fc840..bd419c9bff62 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -820,10 +820,9 @@ std::size_t const nConfigurationValues =
css::beans::Optional< css::uno::Any > getValue(ConfigurationValue const & data)
{
GConfClient* pClient = getGconfClient();
- GConfValue* pGconfValue;
if( ( data.nDependsOn == SETTINGS_LAST ) || isDependencySatisfied( pClient, data ) )
{
- pGconfValue = gconf_client_get( pClient, data.GconfItem, NULL );
+ GConfValue* pGconfValue = gconf_client_get( pClient, data.GconfItem, NULL );
if( pGconfValue != NULL )
{