[Libreoffice-commits] .: xmlhelp/source

Michael Meeks mmeeks at kemper.freedesktop.org
Fri Jan 14 05:59:35 PST 2011


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

New commits:
commit 6bd4de8aa3b00b5880bae267ca2eca1685631d22
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Fri Jan 14 13:59:23 2011 +0000

    fix FMR crasher bug#33099

diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index 361fafa..185d954 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -831,6 +831,8 @@ void KeywordInfo::KeywordElement::init( Databases *pDatabases,Db* pDb,const rtl:
 
     for( sal_uInt32 i = 0; i < id.size(); ++i )
     {
+        DBData aDBData;
+
         listId[i] = id[i];
         listAnchor[i] = anchor[i];
 
@@ -842,7 +844,6 @@ void KeywordInfo::KeywordElement::init( Databases *pDatabases,Db* pDb,const rtl:
             DBHelp* pDBHelp = pDb->getDBHelp();
             if( pDBHelp != NULL )
             {
-                DBData aDBData;
                 bool bSuccess = pDBHelp->getValueForKey( idi, aDBData );
                 if( bSuccess )
                 {


More information about the Libreoffice-commits mailing list