summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2001-05-15 11:40:30 +0000
committerKurt Zenker <kz@openoffice.org>2001-05-15 11:40:30 +0000
commit1303d4c268c0b761048fa2e457efb6ef4e82de62 (patch)
tree0a5f9909fca210f8417e5daded78f8c7c11588d6 /ucb
parentd668a44c99ab36d6bc91c61bb5f9f1c8306c8f7c (diff)
FileStatusMask_FileURL only in TF_FILEURL
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/prov.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index d763fe122318..d6c259cf5e9e 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.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: hro $ $Date: 2001-05-14 07:16:18 $
+ * last change: $Author: kz $ $Date: 2001-05-15 12:40:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -586,9 +586,13 @@ FileProvider::compareContentIds(
if ( error != osl::FileBase::E_None )
return iComp;
+#ifdef TF_FILEURL
osl::FileStatus aStatus1( FileStatusMask_FileURL );
osl::FileStatus aStatus2( FileStatusMask_FileURL );
-
+#else
+ osl::FileStatus aStatus1( FileStatusMask_FilePath );
+ osl::FileStatus aStatus2( FileStatusMask_FilePath );
+#endif
error = aItem1.getFileStatus( aStatus1 );
if ( error == osl::FileBase::E_None )
error = aItem2.getFileStatus( aStatus2 );