Created attachment 63779 [details] spreadsheet w/graph Problem description: Create a line graph, format the y-axis (possibly x-axis also) to a different scale is impossible, because the input number format not accepted. Steps to reproduce: 1. double click on graph 2. right click on y-axis, choose Format axis, 1st tab (scale) Uncheck automatic for Min/Max and enter 158, 198 respectively 3. modification #'s not accepted, it reports wrong format Current behavior: does not accept numbers entered, reports error, though there should be none. Must select Auto-scaling or not change values Expected behavior: Accept changes to numbers and reformat graph /core/chart2/source/controller/dialogs/tp_Scale.cxx appears to have extra code @lines 574-581, I commented these lines then nIndex == 0, where as it was 100 prior. Don't quite know what these extra lines are/were for but they appear to have been copied from another section. nIndex should not be set to pPoolItem.GetValue(), that appears to be a nFmt of a different nature than used in Deactivate.. It is possible the format checks could be removed completely, since the format is corrected during entry, prior to deactivation. Platform (if different from the browser): Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Starting Work
Joseph Brown committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=84a219020ca37a28799972cc60d9286c82ca7511 fdo#51695 Check for Textformat
Status is resolved - fixed