diff options
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r-- | sfx2/source/appl/sfxhelp.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index cc06ba7550e0..d0695acdd481 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -217,12 +217,10 @@ SfxHelp::SfxHelp() : { // read the environment variable "HELP_DEBUG" // if it's set, you will see debug output on active help - { - OUString sHelpDebug; - OUString sEnvVarName( "HELP_DEBUG" ); - osl_getEnvironment( sEnvVarName.pData, &sHelpDebug.pData ); - bIsDebug = !sHelpDebug.isEmpty(); - } + OUString sHelpDebug; + OUString sEnvVarName( "HELP_DEBUG" ); + osl_getEnvironment( sEnvVarName.pData, &sHelpDebug.pData ); + bIsDebug = !sHelpDebug.isEmpty(); } SfxHelp::~SfxHelp() |