From aebe818ec66c6f5dd5fa9b5b3d25807d1b2d5821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Budischewski?= Date: Fri, 25 May 2001 06:52:04 +0000 Subject: [PATCH] #87423# if no component path is given, check is avoided --- cppuhelper/source/shlib.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx index 4ec7f36c2063..21aa34b4b70c 100644 --- a/cppuhelper/source/shlib.cxx +++ b/cppuhelper/source/shlib.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shlib.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: jbu $ $Date: 2001-05-11 14:07:29 $ + * last change: $Author: jbu $ $Date: 2001-05-25 07:52:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -242,7 +242,7 @@ static OUString makeComponentPath( const OUString & rLibName, const OUString & r { OUString aComp; OSL_ASSERT( osl_File_E_None == FileBase::getSystemPathFromFileURL( rLibName, aComp ) ); - OSL_ASSERT( osl_File_E_None == FileBase::getSystemPathFromFileURL( rPath, aComp ) ); + OSL_ASSERT( ! rPath.getLength() || osl_File_E_None == FileBase::getSystemPathFromFileURL( rPath, aComp ) ); } #endif OUStringBuffer buf( rPath.getLength() + 32 );