diff options
author | Nils Fuhrmann <nf@openoffice.org> | 2001-10-18 13:48:58 +0000 |
---|---|---|
committer | Nils Fuhrmann <nf@openoffice.org> | 2001-10-18 13:48:58 +0000 |
commit | c53a62e260a501b6089713e72f4e4d0d4e0b5e1f (patch) | |
tree | 7643c9bba7df9b4f855e0c4fa1ec6a10a26b7001 /transex3 | |
parent | f1b234da8ac0989bcd3ddfbfda02e706830268aa (diff) |
Hack: Ignore project which are not relevant for SO or OOo
Diffstat (limited to 'transex3')
-rw-r--r-- | transex3/source/localize.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/transex3/source/localize.cxx b/transex3/source/localize.cxx index 6a0e165a0dc0..ca183ca4f5d2 100644 --- a/transex3/source/localize.cxx +++ b/transex3/source/localize.cxx @@ -2,9 +2,9 @@ * * $RCSfile: localize.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: hjs $ $Date: 2001-10-15 16:20:40 $ + * last change: $Author: nf $ $Date: 2001-10-18 14:48:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -189,6 +189,13 @@ const ByteString SourceTreeLocalizer::GetProjectName( BOOL bAbs ) DirEntry aTest = aCur + DirEntry(PRJ_DIR_NAME) + DirEntry(DLIST_NAME); if ( aTest.Exists() ) { + // HACK !!!!!!!!!!!!!!!!!!!!!!!!!!!!! + if (( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "webinstall" ) || + ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "portal" ) || + ( ByteString( aCur.GetName(), RTL_TEXTENCODING_ASCII_US ) == "xulclient" )) + return ""; + // end HACK !!!!!!!!!!!!!!!!!!!!!!!!! + if ( bAbs ) return ByteString( aCur.GetFull(), RTL_TEXTENCODING_ASCII_US ); else |