From 73b7792f716064db0815ad0f86846093edcd2f78 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Thu, 28 Feb 2013 09:50:50 +0100 Subject: excludeDirectory became obsolete, because dmake was killed Change-Id: Id9f3d2435530ff9c797eca5e86aa568f921017b1 --- l10ntools/source/localize.cxx | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'l10ntools') 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('/'); -- cgit v1.2.3