summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorok <ok@openoffice.org>2001-07-09 11:31:47 +0000
committerok <ok@openoffice.org>2001-07-09 11:31:47 +0000
commit66aa5ce3786887bc52be9e85cd6549f8123b7e2f (patch)
treecc1d7ca072fec6b85efea1749ae611600583a765 /cppuhelper
parentce53a3fbef3be5701514b0704b6d56fe5afcc65a (diff)
fix: #86934#
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicefactory.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/cppuhelper/source/servicefactory.cxx b/cppuhelper/source/servicefactory.cxx
index c17a26e89b3f..dd0a03670eaf 100644
--- a/cppuhelper/source/servicefactory.cxx
+++ b/cppuhelper/source/servicefactory.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: servicefactory.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: dbo $ $Date: 2001-06-25 14:15:02 $
+ * last change: $Author: ok $ $Date: 2001-07-09 12:31:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -446,6 +446,12 @@ static OUString findBoostrapArgument(const OUString & arg_name, sal_Bool * pFall
if(fileName.lastIndexOf(progExt) == (fileName.getLength() - progExt.getLength()))
fileName = fileName.copy(0, fileName.lastIndexOf(progExt));
+#ifdef WNT
+ progExt = progExt.toAsciiUpperCase();
+ if(fileName.lastIndexOf(progExt) == (fileName.getLength() - progExt.getLength()))
+ fileName = fileName.copy(0, fileName.lastIndexOf(progExt));
+#endif
+
result = fileName;
result += OUString(RTL_CONSTASCII_USTRINGPARAM("_"));
result += arg_name.toAsciiLowerCase();