[Libreoffice-commits] .: i18npool/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Nov 23 08:44:12 PST 2010
i18npool/source/localedata/localedata.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3a15b6e1782a9f1482ad00219969e8abe659ce37
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Nov 23 16:40:00 2010 +0000
silence cppcheck warning
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 6ea8ba7..1f4ddc5 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -432,8 +432,8 @@ oslGenericFunction SAL_CALL lcl_LookupTableHelper::getFunctionSymbolByName(
if ( module->loadRelative(&thisModule, aBuf.makeStringAndClear()) )
{
::osl::MutexGuard aGuard( maMutex );
- LocaleDataLookupTableItem* pNewItem = 0;
- maLookupTable.push_back(pNewItem = new LocaleDataLookupTableItem(aLibTable[i].pLib, module, aLibTable[i].pLocale ));
+ LocaleDataLookupTableItem* pNewItem = new LocaleDataLookupTableItem(aLibTable[i].pLib, module, aLibTable[i].pLocale);
+ maLookupTable.push_back(pNewItem);
OSL_ASSERT( pOutCachedItem );
if( pOutCachedItem )
{
More information about the Libreoffice-commits
mailing list