summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2002-06-27 06:36:55 +0000
committerMikhail Voitenko <mav@openoffice.org>2002-06-27 06:36:55 +0000
commit32f5e9b91ec979e6aea0164252b6c10fd7412b1f (patch)
tree8fd90c4339e01601df4c766ffc48722acab9df84 /cppuhelper
parentb223740e99c1f9034a59eff26abb64ec8bad2ac1 (diff)
#100768# (DBO) : fixed trailing back-slash on windows
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index f3df06b8abf2..1c3f768a519d 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shlib.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: dbo $ $Date: 2002-06-14 13:20:19 $
+ * last change: $Author: mav $ $Date: 2002-06-27 07:36:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -266,7 +266,8 @@ static OUString makeComponentPath( const OUString & rLibName, const OUString & r
{
buf.append( (sal_Unicode)'/' );
}
- else if (rPath[ rPath.getLength() -1 ] != (sal_Unicode)'\\')
+ else if (rPath[ rPath.getLength() -1 ] != (sal_Unicode)'\\' &&
+ rPath[ rPath.getLength() -1 ] != (sal_Unicode)'/')
{
buf.append( (sal_Unicode)'\\' );
}