framework/source/services/urltransformer.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit ba562acdf293e0e0ec4f747716e7fb0db848f1cb
Author: Stephan Bergmann <[email protected]>
Date:   Wed Jul 15 10:42:28 2015 +0200

    Remove pointless check for well-formed sal_Bool value
    
    Change-Id: I69cd54f6fddc93f0cdf87651401fedb60aeeb1f4

diff --git a/framework/source/services/urltransformer.cxx 
b/framework/source/services/urltransformer.cxx
index 52b1a7f..13c2208 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();
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to