diff options
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/localize.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/l10ntools/source/localize.cxx b/l10ntools/source/localize.cxx index b935f9b74c28..af61293bf979 100644 --- a/l10ntools/source/localize.cxx +++ b/l10ntools/source/localize.cxx @@ -461,15 +461,13 @@ void handleDirectory( break; default: if (stat.getFileType() == osl::FileStatus::Directory) { - if (level == 2) { - OString pr(projectRoot); - if (!pr.isEmpty()) { - pr += OString('/'); - } - pr += OString(".."); - handleDirectory(stat.getFileURL(), 2, project, pr, - actualPotDir.concat("/").concat(sFileName)); + OString pr(projectRoot); + if (!pr.isEmpty()) { + pr += OString('/'); } + pr += OString(".."); + handleDirectory(stat.getFileURL(), 2, project, pr, + actualPotDir.concat("/").concat(sFileName)); } else { handleFile(project, projectRoot, stat.getFileURL(), actualPotDir, aPoOutPut); |