summaryrefslogtreecommitdiff
path: root/extensions/source/nsplugin
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-01 17:50:47 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-01 18:03:38 +0200
commit7c358450e389d682657be283026403fb6e8931ba (patch)
treecb47589bd1340d16b6b5d392b0885243e85e452f /extensions/source/nsplugin
parentabd3338486a515380d50c4ee5f4ab242fb5fd4bd (diff)
extensions: kill StarOffice/StarSuite branding in browser plugin
Change-Id: Ia4c291936ad0b31e67d8edb046424d29462171b5
Diffstat (limited to 'extensions/source/nsplugin')
-rw-r--r--extensions/source/nsplugin/source/so_env.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/extensions/source/nsplugin/source/so_env.cxx b/extensions/source/nsplugin/source/so_env.cxx
index b09f11ceb870..a2a98d9c3107 100644
--- a/extensions/source/nsplugin/source/so_env.cxx
+++ b/extensions/source/nsplugin/source/so_env.cxx
@@ -434,14 +434,11 @@ char* NSP_getProductName()
strcpy(productName, pStart);
}
fclose(fp);
- if ((*productName == 0) ||
- (0 != STRNICMP(productName, "StarOffice", sizeof("StarOffice"))))
+ if (*productName == 0)
{
strcpy(productName, PLUGIN_NAME);
return productName;
}
- memset(productName, 0, sizeof(productName));
- strcat(productName, "StarOffice/StarSuite");
return productName;
}