summaryrefslogtreecommitdiff
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
commit6bd4de8aa3b00b5880bae267ca2eca1685631d22 (patch)
tree93556651de24f9cc0864bf8e9a3ad683cf37a434
parentd85c07a0980a7c83cfb9b393a74b1b61fdc57c6c (diff)
fix FMR crasher bug#33099
-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 361fafaa30..185d95401d 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 )
{