diff options
-rw-r--r-- | framework/source/services/urltransformer.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/services/urltransformer.cxx b/framework/source/services/urltransformer.cxx index 52b1a7fde18a..13c2208bec1d 100644 --- a/framework/source/services/urltransformer.cxx +++ b/framework/source/services/urltransformer.cxx @@ -291,9 +291,7 @@ OUString SAL_CALL URLTransformer::getPresentation( const css::util::URL& aURL, sal_Bool bWithPassword ) throw( css::uno::RuntimeException, std::exception ) { // Safe impossible cases. - if (( aURL.Complete.isEmpty() ) || - (( bWithPassword != sal_True ) && - ( bWithPassword != sal_False ) ) ) + if ( aURL.Complete.isEmpty() ) { return OUString(); } |