summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/propbrw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/report/propbrw.cxx')
-rw-r--r--reportdesign/source/ui/report/propbrw.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx
index 84727cd65202..0f948b2287b6 100644
--- a/reportdesign/source/ui/report/propbrw.cxx
+++ b/reportdesign/source/ui/report/propbrw.cxx
@@ -73,14 +73,12 @@ namespace
{
static bool lcl_shouldEnableHelpSection( const Reference< XComponentContext >& _rxContext )
{
- const OUString sConfigName( "/org.openoffice.Office.ReportDesign/PropertyBrowser/" );
- const OUString sPropertyName( "DirectHelp" );
-
::utl::OConfigurationTreeRoot aConfiguration(
- ::utl::OConfigurationTreeRoot::createWithComponentContext( _rxContext, sConfigName ) );
+ ::utl::OConfigurationTreeRoot::createWithComponentContext(
+ _rxContext, "/org.openoffice.Office.ReportDesign/PropertyBrowser/" ) );
bool bEnabled = false;
- OSL_VERIFY( aConfiguration.getNodeValue( sPropertyName ) >>= bEnabled );
+ OSL_VERIFY( aConfiguration.getNodeValue( "DirectHelp" ) >>= bEnabled );
return bEnabled;
}
}