summaryrefslogtreecommitdiff
path: root/xmlhelp/source
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-01-14 13:59:23 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-01-14 13:59:42 +0000
commit6aa4b5522518c7bb69cf29465842a8a14ea5a87a (patch)
tree9987ed1caa24e132453c196462c32cd48756e416 /xmlhelp/source
parent3170da9784c874a724c18cbb8215e6cbcd73365b (diff)
fix FMR crasher bug#33099
Diffstat (limited to 'xmlhelp/source')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.cxx3
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 )
{