[PATCH] Change in core[libreoffice-3-6]: fix for fdo#55875 numbers as text converted strangely

Noel Power (via Code Review) gerrit at gerrit.libreoffice.org
Fri Nov 9 09:07:06 PST 2012


I have submitted a patch for review:


To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/20/1020/1

fix for fdo#55875 numbers as text converted strangely

old code used to use XCell->setString, new code uses rDoc.SetString which by default tries to detect number formats. The ScColumn::SetString that eventually
gets called seems to do lots of additional checks ( and apparently even if
an ScSetStringParam instance with mbDetectNumberFormat ( false ) was passed
it seems that it will still try to detect decimal number formats. With that
in mind I restore and un-unoified version of what XCell->setString used do

Change-Id: Ifaef74c78b198f492a390a3d5dc1721622a01ea4
M sc/source/filter/oox/worksheethelper.cxx
1 file changed, 8 insertions(+), 1 deletion(-)

To view, visit https://gerrit.libreoffice.org/1020
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifaef74c78b198f492a390a3d5dc1721622a01ea4
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Noel Power <noel.power at suse.com>

More information about the LibreOffice mailing list