ITERATE_ALL_LANG_DIR_LPROJ appears to be unused

The Bundle_Contents_Resources_Lang dir gids (its only use) have been unused
since f0b57c30fd "Info.plist et al were no longer
found when creating a .dmg", and those Contents/Resources/*.lproj dirs are
created on demand now, anyway.

Change-Id: Ia3e867307c4fc31180594d507721577a21cc20b1
Reviewed-on: https://gerrit.libreoffice.org/71319
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2019-04-25 18:36:55 +02:00
parent b04ec537b2
commit 8e3f4aeb40
2 changed files with 0 additions and 18 deletions

View file

@ -76,20 +76,6 @@ sub write_ITERATE_ALL_LANG
print OUTFILE "\\\n";
}
print OUTFILE "\n\n";
print OUTFILE "#define ITERATE_ALL_LANG_DIR_LPROJ(gid,parent) ";
foreach $lang (@helplangs) {
my $shortlang = $lang;
$shortlang = "en" if $shortlang eq "en-US";
my $speciallang = $lang;
$speciallang =~ s/-/_/;
print OUTFILE "\\\nDirectory CONCAT3(gid_Dir_,gid,_$speciallang)";
print OUTFILE "\\\n\tParentID = CONCAT2(gid_Dir_,parent);";
print OUTFILE "\\\n\tDosName = \"$shortlang.lproj\"; ";
print OUTFILE "\\\nEnd ";
print OUTFILE "\\\n";
}
print OUTFILE "\n\n";
}
sub write_ALL_LANG

View file

@ -37,10 +37,6 @@ Directory gid_Dir_Bundle_Contents_Resources
End
#endif
#ifdef MACOSX
ITERATE_ALL_LANG_DIR_LPROJ(Bundle_Contents_Resources_Lang,Bundle_Contents_Resources)
#endif
#ifdef MACOSX
Directory gid_Dir_Bundle_Contents_Library
ParentID = gid_Dir_Bundle_Contents;