diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-15 10:42:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-15 10:42:28 +0200 |
commit | ba562acdf293e0e0ec4f747716e7fb0db848f1cb (patch) | |
tree | 1de664b16dbc8b267efbd7752ffafdbed067173c /framework | |
parent | b0fde7a912ff3aa370496802f20895b1158b072c (diff) |
Remove pointless check for well-formed sal_Bool value
Change-Id: I69cd54f6fddc93f0cdf87651401fedb60aeeb1f4
Diffstat (limited to 'framework')
-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(); } |