diff options
Diffstat (limited to 'svx/source/form/fmPropBrw.cxx')
-rw-r--r-- | svx/source/form/fmPropBrw.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx index d7bcdbd754f9..8caf6c64d98a 100644 --- a/svx/source/form/fmPropBrw.cxx +++ b/svx/source/form/fmPropBrw.cxx @@ -495,14 +495,13 @@ namespace { static bool lcl_shouldEnableHelpSection( const Reference< XComponentContext >& _rxContext ) { - const OUString sConfigName( "/org.openoffice.Office.Common/Forms/PropertyBrowser/" ); - const OUString sPropertyName( "DirectHelp" ); - ::utl::OConfigurationTreeRoot aConfiguration( - ::utl::OConfigurationTreeRoot::createWithComponentContext( _rxContext, sConfigName ) ); + ::utl::OConfigurationTreeRoot::createWithComponentContext( + _rxContext, + "/org.openoffice.Office.Common/Forms/PropertyBrowser/" ) ); bool bEnabled = false; - OSL_VERIFY( aConfiguration.getNodeValue( sPropertyName ) >>= bEnabled ); + OSL_VERIFY( aConfiguration.getNodeValue( "DirectHelp" ) >>= bEnabled ); return bEnabled; } } |