summaryrefslogtreecommitdiff
path: root/xmlhelp
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 14:18:41 +0000
commitb9edae0abbb0a426e1a262fdbc2b46f9850ccd6c (patch)
treeef1d4d9bbc67c3cc8d5c1bd2e9f0a19f31652227 /xmlhelp
parent348eba2087067c1600000eabe95cd8e68df7e875 (diff)
fix FMR crasher bug#33099
Diffstat (limited to 'xmlhelp')
-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 4f55d7571910..1366a843f7aa 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 )
{