office-gobmx/sc
Caolán McNamara dc78e5c6f5 Resolves: tdf#98880 ensure backing context of DoubleVectorRefToken...
exists for the lifetime of the ScGroupTokenConverter

otherwise in tdf#98880 ScDocument::InterpretDirtyCells releases
that backing storage that the DoubleVectorRefToken relies on, and
the ScVectorRefMatrix relies on that, so...

when sc/source/core/tool/interpr4.cxx calls ::IsString on the ScVectorRefMatrix
which calls ensureFullMatrix. That makes use of rArray.mpStringArray where
rArray's mpStringArray is set to that rArray by
FormulaGroupContext::ensureStrArray and the storage of mpStringArray belongs to
the FormulaGroupContext, but that context was reset and destroyed up the stack
in ScDocument::InterpretDirtyCells so the data is now invalid

We could turn the unique_ptr into a shared_ptr and have the ScGroupTokenConverter
take a ref to the currently active FormulaGroupContext to ensure any generated
DoubleVectorRefToken/SingleVectorRefToken point to valid data during the
lifetime of the ScGroupTokenConverter

Change-Id: Id457934cdff18570961cb261cf5c46b6ef8ea083
Reviewed-on: https://gerrit.libreoffice.org/25815
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-06-03 14:06:39 +00:00
..
inc Resolves: tdf#98880 ensure backing context of DoubleVectorRefToken... 2016-06-03 14:06:39 +00:00
qa add DAYS360 test case 2016-05-29 11:40:56 +00:00
sdi sc lok: Add new param to .uno:EnterString to prevent committing 2016-06-01 16:02:24 +00:00
source Resolves: tdf#98880 ensure backing context of DoubleVectorRefToken... 2016-06-03 14:06:39 +00:00
uiconfig/scalc Remove SetAccessibleRelationLabeledBy calls tdf#87026 2016-06-02 10:36:59 +00:00
util
workben use Any constructor instead of temporaries 2016-05-04 12:39:40 +02:00
AllLangResTarget_sc.mk tdf#99361 Separate checkbox in Sidebar 2016-04-20 14:26:40 +00:00
CppunitTest_sc_annotationobj.mk
CppunitTest_sc_annotationshapeobj.mk
CppunitTest_sc_annotationsobj.mk
CppunitTest_sc_bugfix_test.mk sc: remove unnecessary orcus external usage from makefiles 2016-03-08 15:05:31 +01:00
CppunitTest_sc_cellrangeobj.mk
CppunitTest_sc_chart_regression_test.mk
CppunitTest_sc_check_data_pilot_field.mk tdf#45904 move java based api tests to c++ 2016-03-20 00:00:30 +00:00
CppunitTest_sc_check_data_pilot_table.mk tdf#45904 move java based api tests to c++ 2016-03-20 00:00:30 +00:00
CppunitTest_sc_check_xcell_ranges_query.mk tdf#45904 move java based api tests to c++ 2016-02-15 00:27:47 +00:00
CppunitTest_sc_condformats.mk
CppunitTest_sc_copypaste.mk sc: remove unnecessary orcus external usage from makefiles 2016-03-08 15:05:31 +01:00
CppunitTest_sc_core.mk
CppunitTest_sc_databaserangeobj.mk
CppunitTest_sc_datapilotfieldobj.mk
CppunitTest_sc_datapilottableobj.mk
CppunitTest_sc_editfieldobj_cell.mk
CppunitTest_sc_editfieldobj_header.mk
CppunitTest_sc_filters_test.mk sc: remove unnecessary orcus external usage from makefiles 2016-03-08 15:05:31 +01:00
CppunitTest_sc_functions_test.mk missing component for calc function test 2016-05-19 23:52:16 +02:00
CppunitTest_sc_html_export_test.mk
CppunitTest_sc_macros_test.mk
CppunitTest_sc_mark_test.mk sc: sc_mark_test can just link to scqahelper 2016-03-23 15:51:51 +01:00
CppunitTest_sc_modelobj.mk
CppunitTest_sc_namedrangeobj.mk
CppunitTest_sc_namedrangesobj.mk
CppunitTest_sc_new_cond_format_api.mk
CppunitTest_sc_opencl_test.mk Move clew/clew.h into external, too 2016-04-12 20:54:28 +00:00
CppunitTest_sc_outlineobj.mk
CppunitTest_sc_perfobj.mk
CppunitTest_sc_rangelst_test.mk sc: remove unnecessary orcus external usage from makefiles 2016-03-08 15:05:31 +01:00
CppunitTest_sc_recordchanges.mk
CppunitTest_sc_styleloaderobj.mk
CppunitTest_sc_subsequent_export_test.mk sc: remove unnecessary orcus external usage from makefiles 2016-03-08 15:05:31 +01:00
CppunitTest_sc_subsequent_filters_test.mk sc: remove unnecessary orcus external usage from makefiles 2016-03-08 15:05:31 +01:00
CppunitTest_sc_tablesheetobj.mk
CppunitTest_sc_tablesheetsobj.mk
CppunitTest_sc_tiledrendering.mk sc lok: set a limit for tiled column and row 2016-05-10 09:59:28 +00:00
CppunitTest_sc_ucalc.mk Move clew/clew.h into external, too 2016-04-12 20:54:28 +00:00
CppunitTest_sc_viewpaneobj.mk tdf#45904 Move java XViewPane test to c++ 2016-04-27 00:28:03 +00:00
CustomTarget_uiconfig.mk
JunitTest_sc_complex.mk tdf#45904 move java based api tests to c++ 2016-03-20 00:00:30 +00:00
JunitTest_sc_unoapi_1.mk
JunitTest_sc_unoapi_2.mk
JunitTest_sc_unoapi_3.mk
JunitTest_sc_unoapi_4.mk
JunitTest_sc_unoapi_5.mk
JunitTest_sc_unoapi_6.mk
JunitTest_sc_unoapi_7.mk
Library_sc.mk notebookbar: working number format listbox 2016-06-01 06:06:55 +00:00
Library_scd.mk
Library_scfilt.mk Move clew/clew.h into external, too 2016-04-12 20:54:28 +00:00
Library_scqahelper.mk
Library_scui.mk Move clew/clew.h into external, too 2016-04-12 20:54:28 +00:00
Library_vbaobj.mk
Makefile
Module_sc.mk add framework for new calc function tests 2016-05-14 17:14:36 +00:00
README move the cell property dump code into dbgutil builds 2016-02-28 14:42:27 +01:00
TODO.performance leave a note about problem seen in the chart2export callgrind profile 2016-05-16 14:46:31 +02:00
UIConfig_scalc.mk tdf#92218 Implement Calc single toolbar mode toolbar 2016-05-31 13:16:24 +00:00

Spreadsheet application code.

You can dump some information in a dbgutil build:

=== CTRL+SHIFT+F12 ===

Dumps the column width of the first 20 columns.

=== CTRL+SHIFT+F11 ===

Dumps the graphic objects and their position and size in pixel.

=== CTRL+SHIFT+F9 ===

Dumps the SfxItemSet representing the cell properties of the
current cell as a xml file.