diff options
author | Andras Timar <atimar@suse.com> | 2013-02-28 09:50:50 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-02-28 10:00:12 +0100 |
commit | 73b7792f716064db0815ad0f86846093edcd2f78 (patch) | |
tree | 05122abc2c73824c04fb1edbb28a50085107567c /l10ntools/source | |
parent | 2057218fbc9a688fe8d3aff64634d8826e4b6ebe (diff) |
excludeDirectory became obsolete, because dmake was killed
Change-Id: Id9f3d2435530ff9c797eca5e86aa568f921017b1
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/localize.cxx | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index f4bb600c738f..b935f9b74c28 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -388,32 +388,6 @@ bool includeProject(OString const & project) { return false; } -bool excludeDirectory(OString const & directory) { - // Cf. OUTPATH=* in configure.in: - static OString const excluded[] = { - "callcatcher", - "unxaig", - "unxand", - "unxdfly", - "unxfbsd", - "unxios", - "unxkfg", - "unxlng", - "unxmac", - "unxnbsd", - "unxobsd", - "unxsog", - "unxsol", - "unxubt", - "wntmsc" }; - for (size_t i = 0; i != SAL_N_ELEMENTS(excluded); ++i) { - if (directory.startsWith(excluded[i])) { - return true; - } - } - return false; -} - /// Handle one directory in the hierarchy. /// /// Ignores symlinks and instead explicitly descends into clone/* or src/*, @@ -487,7 +461,7 @@ void handleDirectory( break; default: if (stat.getFileType() == osl::FileStatus::Directory) { - if (level == 2 || !excludeDirectory(sFileName)) { + if (level == 2) { OString pr(projectRoot); if (!pr.isEmpty()) { pr += OString('/'); |