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 14:18:41 +0000
commit8539854f9af2c423d69ab9a89c79d3dbb8c6abd3 (patch)
tree42d867fa9933ad668a42ece9f123d3d243b4b5be
parent4f81b94b7cee00c88e31612dc26800199c570ba6 (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 fac8b15c94..3f85e03b1c 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 )
{