[Libreoffice-commits] .: Branch 'libreoffice-3-3' - xmlhelp/source

Michael Meeks mmeeks at kemper.freedesktop.org
Fri Jan 14 06:18:45 PST 2011


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

New commits:
commit 8539854f9af2c423d69ab9a89c79d3dbb8c6abd3
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 fac8b15..3f85e03 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.cxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.cxx
@@ -826,6 +826,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];
 
@@ -837,7 +839,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