summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}