summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2000-12-13 11:55:05 +0000
committerMathias Bauer <mba@openoffice.org>2000-12-13 11:55:05 +0000
commitef6b008df92a06b69e9ac42a186445b159797478 (patch)
tree563c1407d147a7007b9b1caca93541613755dcdc /unotools
parent2a2109150b717a887517050844085b7d84a6425a (diff)
#81951#: don't use oslgetLocalHostName outside Portal
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/localfilehelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/ucbhelper/localfilehelper.cxx b/unotools/source/ucbhelper/localfilehelper.cxx
index 5c36857e4b55..222028753972 100644
--- a/unotools/source/ucbhelper/localfilehelper.cxx
+++ b/unotools/source/ucbhelper/localfilehelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: localfilehelper.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: mba $ $Date: 2000-12-07 11:29:57 $
+ * last change: $Author: mba $ $Date: 2000-12-13 12:55:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -136,7 +136,7 @@ sal_Bool LocalFileHelper::ConvertPhysicalNameToURL( const String& rName, String&
FileBase::normalizePath( rName, aTmp );
::ucb::ContentBroker* pBroker = ::ucb::ContentBroker::get();
- if ( !pBroker )
+ if ( TRUE || !pBroker )
{
FileBase::getFileURLFromNormalizedPath( aTmp, aRet );
}
@@ -158,7 +158,7 @@ sal_Bool LocalFileHelper::ConvertURLToPhysicalName( const String& rName, String&
{
rtl::OUString aRet;
::ucb::ContentBroker* pBroker = ::ucb::ContentBroker::get();
- if ( !pBroker )
+ if ( TRUE || !pBroker )
{
FileBase::getNormalizedPathFromFileURL( rName, aRet );
}