View | Details | Raw Unified | Return to issue 93503
Collapse All | Expand All

(-)OOO320_m19_ori/sc/source/filter/excel/xestyle.cxx (+7 lines)
Lines 1327-1334 String XclExpNumFmtBuffer::GetFormatCode Link Here
1327
            }
1327
            }
1328
1328
1329
            aFormatStr = pEntry->GetMappedFormatstring( *mpKeywordTable, *mxFormatter->GetLocaleData() );
1329
            aFormatStr = pEntry->GetMappedFormatstring( *mpKeywordTable, *mxFormatter->GetLocaleData() );
1330
            xub_StrLen pos;
1330
            if( aFormatStr.EqualsAscii( "Standard" ) )
1331
            if( aFormatStr.EqualsAscii( "Standard" ) )
1331
                aFormatStr.AssignAscii( "General" );
1332
                aFormatStr.AssignAscii( "General" );
1333
            else if( ( pos = aFormatStr.SearchAscii("[~buddhist]", 0) ) != STRING_NOTFOUND )
1334
                aFormatStr.ReplaceAscii( pos, 11, "[$-107041E]", 11 );
1335
            else if( ( pos = aFormatStr.SearchAscii("[~hijri]", 0) ) != STRING_NOTFOUND )
1336
                aFormatStr.ReplaceAscii( pos, 8, "[$-1060401]", 11);
1337
            else if( ( pos = aFormatStr.SearchAscii("[~persian]", 0) ) != STRING_NOTFOUND )
1338
                aFormatStr.ReplaceAscii( pos, 10, "[$-3060429]", 11 );
1332
        }
1339
        }
1333
    }
1340
    }
1334
    else
1341
    else

Return to issue 93503