summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Corrius <jcorrius@gmail.com>2013-08-23 19:50:21 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-08-24 04:25:06 +0000
commit0404f37297c4b283972d71c8f53765d9169bdafa (patch)
tree7afc58b7d466c2a60b7c0820d198ee58cdc20f2b
parente926621fb00f31471b0037d7955b6a3d7f908dc0 (diff)
fdo#68194 Font files are left after uninstallation
#i119948# Instruct windows installer to use refcounting on fonts. Author: Andre Fischer <af@apache.org> Reported by: DaLi Liu Patch by: qiuhuaidong Review by: DaLi Liu and Andre Fischer Change-Id: I45d4eb509d58852dcf446a0af94ac69fb6347d2d Reviewed-on: https://gerrit.libreoffice.org/5597 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--solenv/bin/modules/installer/windows/component.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/windows/component.pm b/solenv/bin/modules/installer/windows/component.pm
index 82cf8ccf3725..8f48941e19c6 100644
--- a/solenv/bin/modules/installer/windows/component.pm
+++ b/solenv/bin/modules/installer/windows/component.pm
@@ -210,7 +210,7 @@ sub get_file_component_attributes
if ( $localstyles =~ /\bFONT\b/ )
{
- $attributes = 16; # font files will not be deinstalled
+ $attributes = 8; # font files will be deinstalled if the ref count is 0
}
if ( $localstyles =~ /\bASSEMBLY\b/ )