summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/prov.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/prov.cxx')
-rw-r--r--ucb/source/ucp/file/prov.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index f2f888ed8d31..c0ce411df4e0 100644
--- a/ucb/source/ucp/file/prov.cxx
+++ b/ucb/source/ucp/file/prov.cxx
@@ -394,11 +394,9 @@ void SAL_CALL
FileProvider::setPropertyValue( const OUString& aPropertyName,
const Any& )
{
- if( aPropertyName == "FileSystemNotation" ||
+ if( !(aPropertyName == "FileSystemNotation" ||
aPropertyName == "HomeDirectory" ||
- aPropertyName == "HostName" )
- return;
- else
+ aPropertyName == "HostName") )
throw UnknownPropertyException( THROW_WHERE );
}