summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-03-02 18:43:33 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-03-02 18:43:33 +0100
commitd4df362cf645cebad70f89c29ca85fb321b44a54 (patch)
tree0c36ada2289f53d8774cf104ffc1e038d803b802 /sfx2/source/appl/sfxhelp.cxx
parent3ccd714eed214d96e94e8147bd52673499cdd21d (diff)
parent70bfb4d5a912a064683ac0a312719fcda8f07c15 (diff)
CWS-TOOLING: integrate CWS sb111
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 26fb46ec8b17..9ef635ae4786 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -122,7 +122,8 @@ rtl::OUString HelpLocaleString()
Any aLocale =
::utl::ConfigManager::GetConfigManager()->GetDirectConfigProperty(
::utl::ConfigManager::LOCALE );
- bool bOk = (aLocale >>= aLocaleStr);
+ aLocale >>= aLocaleStr;
+ bool bOk = aLocaleStr.getLength() != 0;
if ( bOk )
{
rtl::OUString aBaseInstallPath;