From 8bf5c5ed0a4a45db0c47749ec59690d3e7befdd6 Mon Sep 17 00:00:00 2001 From: Hennes Rohling Date: Thu, 15 Mar 2001 11:54:03 +0000 Subject: #76253# Compare case correct path names if error is NULL --- ucb/source/ucp/file/prov.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index a974b3a16699..138ded9b5de2 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -2,9 +2,9 @@ * * $RCSfile: prov.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: kso $ $Date: 2001-03-13 08:13:28 $ + * last change: $Author: hro $ $Date: 2001-03-15 12:54:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -523,7 +523,6 @@ FileProvider::queryContent( throw( IllegalIdentifierException, uno::RuntimeException) { - rtl::OUString aUnc; sal_Bool err = m_pMyShell->getUnqFromUrl( xIdentifier->getContentIdentifier(), aUnc ); @@ -582,7 +581,7 @@ FileProvider::compareContentIds( if ( error == osl::FileBase::E_None ) error = aItem2.getFileStatus( aStatus2 ); - if ( error != osl::FileBase::E_None ) + if ( error == osl::FileBase::E_None ) iComp = aStatus1.getFilePath().compareTo( aStatus2.getFilePath() ); } -- cgit