• Eike Rathke's avatar
    Resolves: tdf#117819 append trailing '0' as needed before separator insertion · 8b43f588
    Eike Rathke yazdı
    To insert separators, literal strings between digits and other,
    the formatter operates backwards on the string obtained from
    doubleToUString() cleaned of the decimal separator. The number of
    decimals returned by doubleToUString() may be less than the
    decimals of the number format as entered by the user, which lead
    to separators inserted at wrong positions. This wrong behavior was
    triggered respectively made more obvious by
    
        commit 0f6203ed
        CommitDate: Wed Jan 13 14:47:57 2016 +0100
    
            tdf#96918 display accurate integer double values up to (2^53)-1
    
    which for integer values returns at most 15 decimals ('0' in this
    case).
    
    Before operating on the decimals' part ensure that the number of
    decimals matches the digits requested, and if shorter append
    trailing '0' characters for the required amount so the separators
    (and other strings) are inserted at the correct positions.
    
    Change-Id: Ic02652699ea7d6fae3b2b3348f6f7d183319e043
    Reviewed-on: https://gerrit.libreoffice.org/55039Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
    Tested-by: 's avatarEike Rathke <erack@redhat.com>
    8b43f588
Adı
Son kayıt (commit)
Son güncelleme
..
IndexedStyleSheets.hxx Loading commit data...
PasswordHelper.hxx Loading commit data...
SfxBroadcaster.hxx Loading commit data...
adrparse.hxx Loading commit data...
aeitem.hxx Loading commit data...
asiancfg.hxx Loading commit data...
broadcast.hxx Loading commit data...
cenumitm.hxx Loading commit data...
cintitem.hxx Loading commit data...
cjkoptions.hxx Loading commit data...
converter.hxx Loading commit data...
cryptosign.hxx Loading commit data...
ctloptions.hxx Loading commit data...
currencytable.hxx Loading commit data...
custritm.hxx Loading commit data...
documentlockfile.hxx Loading commit data...
eitem.hxx Loading commit data...
filenotation.hxx Loading commit data...
flagitem.hxx Loading commit data...
fstathelper.hxx Loading commit data...
globalnameitem.hxx Loading commit data...
grabbagitem.hxx Loading commit data...
gridprinter.hxx Loading commit data...
hint.hxx Loading commit data...
ilstitem.hxx Loading commit data...
imageitm.hxx Loading commit data...
inethist.hxx Loading commit data...
inettype.hxx Loading commit data...
instrm.hxx Loading commit data...
int64item.hxx Loading commit data...
intitem.hxx Loading commit data...
isethint.hxx Loading commit data...
itemiter.hxx Loading commit data...
itempool.hxx Loading commit data...
itemprop.hxx Loading commit data...
itemset.hxx Loading commit data...
languageoptions.hxx Loading commit data...
lckbitem.hxx Loading commit data...
listener.hxx Loading commit data...
lngmisc.hxx Loading commit data...
lockfilecommon.hxx Loading commit data...
lstner.hxx Loading commit data...
macitem.hxx Loading commit data...
memberid.h Loading commit data...
metitem.hxx Loading commit data...
nfkeytab.hxx Loading commit data...
nfsymbol.hxx Loading commit data...
numuno.hxx Loading commit data...
ondemand.hxx Loading commit data...
outstrm.hxx Loading commit data...
ownlist.hxx Loading commit data...
pickerhistoryaccess.hxx Loading commit data...
poolcach.hxx Loading commit data...
poolitem.hxx Loading commit data...
ptitem.hxx Loading commit data...
rectitem.hxx Loading commit data...
rngitem.hxx Loading commit data...
sharecontrolfile.hxx Loading commit data...
sharedstring.hxx Loading commit data...
sharedstringpool.hxx Loading commit data...
sigstruct.hxx Loading commit data...
slstitm.hxx Loading commit data...
solar.hrc Loading commit data...
srchdefs.hxx Loading commit data...
srchitem.hxx Loading commit data...
stritem.hxx Loading commit data...
style.hxx Loading commit data...
stylepool.hxx Loading commit data...
stylesheetuser.hxx Loading commit data...
svdde.hxx Loading commit data...
svl.hrc Loading commit data...
svldllapi.h Loading commit data...
svlresid.hxx Loading commit data...
typedwhich.hxx Loading commit data...
undo.hxx Loading commit data...
urihelper.hxx Loading commit data...
urlbmk.hxx Loading commit data...
urlfilter.hxx Loading commit data...
visitem.hxx Loading commit data...
whiter.hxx Loading commit data...
zforlist.hxx Loading commit data...
zformat.hxx Loading commit data...