[Libreoffice-commits] .: Branch 'libreoffice-3-3-0' - xmlhelp/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Fri Jan 14 06:20:08 PST 2011
xmlhelp/source/cxxhelp/provider/databases.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 6196104011a42b17239da44fca374d3e0ba60cfd
Author: Michael Meeks <michael.meeks at novell.com>
Date: Fri Jan 14 13:59:23 2011 +0000
fix FMR crasher bug#33099, approved by Fridrich, David & Petr.
Signed-off-by: Michael Meeks <michael.meeks at novell.com>
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx
index fac8b15..3f85e03 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 )
{
More information about the Libreoffice-commits
mailing list