Kaydet (Commit) 8e3f4aeb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

ITERATE_ALL_LANG_DIR_LPROJ appears to be unused

The Bundle_Contents_Resources_Lang dir gids (its only use) have been unused
since f0b57c30 "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: 's avatarStephan Bergmann <sbergman@redhat.com>
üst b04ec537
......@@ -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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment