https://bugs.documentfoundation.org/show_bug.cgi?id=161301

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #3 from Julien Nabet <[email protected]> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed on console:
warn:legacy.osl:39403:39403:sc/source/filter/oox/numberformatsbuffer.cxx:1847:
lclCreateFormat - cannot create number format '[$]ggge"年"m"月"d"日";@'

part of bt:
#0  SvNFFormatData::PutEntry(SvNFLanguageData&, NativeNumberWrapper const&,
rtl::OUString&, int&, SvNumFormatType&, unsigned int&,
o3tl::strong_int<unsigned short, LanguageTypeTag>, bool)
    (this=0x55641914d1b8, rCurrentLanguage=..., rNatNum=...,
rString="[$]ggge\"年\"m\"月\"d\"日\";@", nCheckPos=@0x7ffc6fecb1b0: 18,
nType=@0x7ffc6fecb1ae: SvNumFormatType::ALL, nKey=@0x7ffc6fecb1b4: 0,
eLnge=..., bReplaceBooleanEquivalent=true) at
svl/source/numbers/zforlist.cxx:706
#1  0x00007f72b07bcdd5 in SvNumberFormatter::PutEntry(rtl::OUString&, int&,
SvNumFormatType&, unsigned int&, o3tl::strong_int<unsigned short,
LanguageTypeTag>, bool)
    (this=0x55641914d1a0, rString="[$]ggge\"年\"m\"月\"d\"日\";@",
nCheckPos=@0x7ffc6fecb1b0: 18, nType=@0x7ffc6fecb1ae: SvNumFormatType::ALL,
nKey=@0x7ffc6fecb1b4: 0, eLnge=..., bReplaceBooleanEquivalent=true) at
svl/source/numbers/zforlist.cxx:717
#2  0x00007f72b07bd002 in SvNumberFormatter::PutandConvertEntry(rtl::OUString&,
int&, SvNumFormatType&, unsigned int&, o3tl::strong_int<unsigned short,
LanguageTypeTag>, o3tl::strong_int<unsigned short, LanguageTypeTag>, bool,
bool)
    (this=0x55641914d1a0, rString="[$]ggge\"年\"m\"月\"d\"日\";@",
nCheckPos=@0x7ffc6fecb1b0: 18, nType=@0x7ffc6fecb1ae: SvNumFormatType::ALL,
nKey=@0x7ffc6fecb1b4: 0, eLnge=..., eNewLnge=..., bConvertDateOrder=false,
bReplaceBooleanEquivalent=true) at svl/source/numbers/zforlist.cxx:736
#3  0x00007f72b078ff3d in SvNumberFormatsObj::addNewConverted(rtl::OUString
const&, com::sun::star::lang::Locale const&, com::sun::star::lang::Locale
const&)
    (this=0x55641b924bc0, aFormat="[$]ggge\"年\"m\"月\"d\"日\";@", nLocale=...,
nNewLocale=...) at svl/source/numbers/numfmuno.cxx:519
#4  0x00007f7273c09290 in oox::xls::(anonymous
namespace)::lclCreateFormat(com::sun::star::uno::Reference<com::sun::star::util::XNumberFormats>
const&, rtl::OUString const&, com::sun::star::lang::Locale const&,
com::sun::star::lang::Locale const&) (rxNumFmts=uno::Reference to
(SvNumberFormatsObj *) 0x55641b924be8, rFmtCode="[$]ggge\"年\"m\"月\"d\"日\";@",
rToLocale=..., rFromLocale=...)
    at sc/source/filter/oox/numberformatsbuffer.cxx:1830
#5  0x00007f7273c091fb in
oox::xls::NumberFormat::finalizeImport(com::sun::star::uno::Reference<com::sun::star::util::XNumberFormats>
const&, com::sun::star::lang::Locale const&)
    (this=0x55641b6b6bd0, rxNumFmts=uno::Reference to (SvNumberFormatsObj *)
0x55641b924be8, rFromLocale=...) at
sc/source/filter/oox/numberformatsbuffer.cxx:1956
#6  0x00007f7273c0e204 in oox::xls::(anonymous
namespace)::NumberFormatFinalizer::operator()(oox::xls::NumberFormat&) const
(this=0x7ffc6fecb418, rNumFmt=...)
    at sc/source/filter/oox/numberformatsbuffer.cxx:1860

nCheckPos is calculated in SvNumberformat ctr (svl/source/numbers/zformat.cxx)

Eike: thought you might be interested in this one.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to