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:19:54 +0000
commit6196104011a42b17239da44fca374d3e0ba60cfd (patch)
treec05bc6f0f1492a0725f3041a80cdd99a92270fec
parent66586a94e673256024e3c5c7dd8d70bedd1694f0 (diff)
fix FMR crasher bug#33099, approved by Fridrich, David & Petr.
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
-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 )
{