summaryrefslogtreecommitdiff
path: root/sysui/desktop/share/brand.pl
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-08 14:38:42 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-08 14:38:42 +0000
commit81601c59cc51f33ec88494482d224c5c3d040b17 (patch)
tree3b5c4eec3f7706f4e366fcf75e912127984ca314 /sysui/desktop/share/brand.pl
parent2615e559c46d70ba1142dfc509fd391882c218cb (diff)
INTEGRATION: CWS sysui05 (1.2.72); FILE MERGED
2005/02/18 10:15:05 obr 1.2.72.1: #i42891# do not register 1.x for OpenDocument(s)
Diffstat (limited to 'sysui/desktop/share/brand.pl')
-rw-r--r--sysui/desktop/share/brand.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysui/desktop/share/brand.pl b/sysui/desktop/share/brand.pl
index 7dccb2604d1b..5041ae29d936 100644
--- a/sysui/desktop/share/brand.pl
+++ b/sysui/desktop/share/brand.pl
@@ -133,7 +133,9 @@ while (<>) {
# if $productfilename != "openoffice, add it to the list
# of applications.
- if ( /user_level/ ) {
+ if ( /user_level=$/ ) {
+ $_ = $_ . $productfilename;
+ } elsif ( /user_level/ ) {
s/$productfilename,//;
s/user_level=/user_level=$productfilename,/
}