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

Caolán McNamara caolanm at redhat.com
Fri Dec 6 05:38:04 PST 2013


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

New commits:
commit 268653618ac01796785622e246f6d230db27ca62
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 6 13:27:17 2013 +0000

    Resolves: fdo#72022  Integrated help ignored if installed
    
    regression since 58fa3d50aa43102cea8690fd6bf51fb80c007955
    
    Change-Id: Ia20f28daace30181652bbbbec3f9845045db03b4
    (cherry picked from commit 57b15f2dcd2963808b8af3f0665450ef81bb3eb8)

diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index fb16e66..ed30a7d 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -1233,7 +1233,7 @@ void Databases::setInstallPath( const OUString& aInstDir )
     osl::FileBase::getFileURLFromSystemPath( aInstDir,m_aInstallDirectory );
         //TODO: check returned error code
 
-    if( m_aInstallDirectory.endsWith( "/" ) )
+    if( !m_aInstallDirectory.endsWith( "/" ) )
         m_aInstallDirectory += "/";
 }
 


More information about the Libreoffice-commits mailing list