summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
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();