diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 12:50:18 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 12:50:18 +0000 |
commit | 44c4e28525139f777974ed4fee54285bbf330d0f (patch) | |
tree | eb6d36253a562e6870191e8a688d7b14f1b4ef4e /xmlhelp/source/treeview | |
parent | 8ac3d1128f4427398fe0f2b1efc86b276f00bad0 (diff) |
INTEGRATION: CWS native69 (1.19.4); FILE MERGED
2006/10/19 13:52:46 is 1.19.4.2: RESYNC: (1.19-1.20); FILE MERGED
2006/10/19 12:28:41 is 1.19.4.1: #i66224# poor help files patch
Diffstat (limited to 'xmlhelp/source/treeview')
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index 1667f4d86e0f..141281c14a48 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tvread.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: rt $ $Date: 2006-10-30 08:35:42 $ + * last change: $Author: vg $ $Date: 2006-11-01 13:50:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -748,7 +748,11 @@ ConfigData TVChildTarget::init( const Reference< XMultiServiceFactory >& xSMgr ) osl::FileBase::E_None == osl::DirectoryItem::get( url + locale.copy( 0,idx ), aDirItem ) ) ret = locale.copy( 0,idx ); - + else + { + locale = rtl::OUString::createFromAscii( "en-US" ); + ret = rtl::OUString::createFromAscii("en"); + } url = url + ret; // first of all, try do determine whether there are any *.tree files present |