Index: numfmtlb.cxx =================================================================== RCS file: /cvs/sw/sw/source/ui/utlui/numfmtlb.cxx,v retrieving revision 1.18 diff -c -r1.18 numfmtlb.cxx *** numfmtlb.cxx 16 Sep 2006 23:34:07 -0000 1.18 --- numfmtlb.cxx 17 Oct 2006 13:59:17 -0000 *************** *** 507,513 **** { UINT32 nFormat = ((SfxUInt32Item*)pItem)->GetValue(); // oj #105473# change order of calls ! eCurLanguage = pFormatter->GetEntry(nFormat)->GetLanguage(); // SetDefFormat uses eCurLanguage to look for if this format already in the list SetDefFormat(nFormat); } --- 507,515 ---- { UINT32 nFormat = ((SfxUInt32Item*)pItem)->GetValue(); // oj #105473# change order of calls ! const SvNumberformat* pFmt = pFormatter->GetEntry(nFormat); ! if( pFmt ) ! eCurLanguage = pFmt->GetLanguage(); // SetDefFormat uses eCurLanguage to look for if this format already in the list SetDefFormat(nFormat); }