diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-03-04 11:51:06 +0100 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-03-04 13:07:59 +0100 |
commit | 4aab4a879390c272cb95600156b4b14a7a29d6ea (patch) | |
tree | faaf4806f9dad5115df930a4eb55264124ed0e30 /l10ntools/source | |
parent | 32acb98b3fb6acb4712f7195cf5ea1bd69c9c6b4 (diff) |
This condition is uneeded and cause localize not to work
See also: 73b7792f716064db0815ad0f86846093edcd2f78
Change-Id: I9ea5e77cf84ce9ac6b247b97e579373831ab9ab9
Diffstat (limited to 'l10ntools/source')
-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); |