summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-04-03 11:49:38 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-04 08:31:07 +0000
commit11f9cdc2e273a827dfe29316de6f679077ee6a59 (patch)
tree21e6b18193d08062d3a9438733bf30ff0c04cf8a /vcl/unx/gtk
parentb307085bcbf5e17c1d72171c33a5cc1cffd70f38 (diff)
fdo#32082: Do not reset number format in table cells on edit.
When we changed the default to _not_ to recognize the number formats in table cells (commit 334c34e4ec803c65e43abf20edbc6faf7fa95e76), it caused that any edit of a number formatted cell had reset it to text on edit. This was quite unexpected, because when eg. there was a number that contributed to a sum, and it changed to text, the sum changed as if there was a '0' there. To solve this, try hard to retain the number format regardless of the 'Recognize Number Formats' setting when there was a number formatting assigned to the cell. Change-Id: Ib43e0877420d90cdac7a0357d1ef3a549c866fb7 Reviewed-on: https://gerrit.libreoffice.org/3187 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'vcl/unx/gtk')
0 files changed, 0 insertions, 0 deletions