[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - xmlhelp/source

Caolán McNamara caolanm at redhat.com
Fri Dec 6 07:01:42 PST 2013


 xmlhelp/source/cxxhelp/provider/urlparameter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 71771f7cf42619b3f8977b31f5ec33ed05bad6ed
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 6 14:59:06 2013 +0000

    Related: fdo#72022 internal links busted
    
    regression since 58fa3d50aa43102cea8690fd6bf51fb80c007955
    
    Change-Id: I499704d18872da6f2f01cf955a6496104c53dd3f
    (cherry picked from commit 6b713bafe4d8f7fc4f5dfe2b794c07fb713a3462)

diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 99447df..0acae63 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -627,7 +627,7 @@ bool URLParameter::query()
         else if( parameter.equalsAscii( "Eid" ) )
             m_aEid = value;
         else if( parameter.equalsAscii( "UseDB" ) )
-            m_bUseDB = ( value.equalsAscii("no") != 0 );
+            m_bUseDB = !value.equalsAscii("no");
         else if( parameter.equalsAscii( "DbPAR" ) )
             m_aDbPar = value;
         else if( parameter.equalsAscii( "Query" ) )


More information about the Libreoffice-commits mailing list