diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-01-14 13:59:23 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-01-14 13:59:42 +0000 |
commit | 6aa4b5522518c7bb69cf29465842a8a14ea5a87a (patch) | |
tree | 9987ed1caa24e132453c196462c32cd48756e416 /xmlhelp | |
parent | 3170da9784c874a724c18cbb8215e6cbcd73365b (diff) |
fix FMR crasher bug#33099
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 47efc881a64a..d7cf7d1a23a6 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 ) { |