summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)AuthorFilesLines
2014-09-23bnc#592918: Display data description in pivot table.Kohei Yoshida2-26/+35
When there are no column fields and exactly one data field. Change-Id: I10d2af7e626f98a4d8a981e078e99e7da9207d1c (cherry picked from commit 902564bfe52e7699cefc80b3334c2eb0a8cacdcf)
2014-09-23fdo#83764: Ensure that the row position is below MAXROW.Kohei Yoshida2-3/+11
When attempting to split formula groups, else multi_type_vector would try to locate a block outside its logical range. Change-Id: I424ede112138de459b5ba3bff5e021c4407ccf3d (cherry picked from commit 0ef6263ed2b31b8f9e431971e6c5e8928996c1c8)
2014-09-23fdo#84009: Be sure to update the sheet index when moving the sort range.Kohei Yoshida1-0/+1
Change-Id: Ic9ad51b33f6dfb6f90e76439c27eeff25ec4c7da (cherry picked from commit 5fd4679e7b92f344ea867e0dca1fc4c9363ae2cd)
2014-09-16fdo#81264 Calc is not accessible to screen readers if sheet is modified [a11y]Niklas Johansson1-0/+1
When the IA2 changes was merged it removed the call to CommitFocusGained and thereby stopped sending a STATE_CHANGED FOCUSED. A big thank you to Joanmarie Diggs for noticing the lack of that event. I only tested the patch on Fedora, but I will have a look at Windows with NVDA as soon as the patch gets included in the daily builds. Change-Id: Ic616d1b367ad8b8ed5d243e0ba124764082e96f1 Reviewed-on: https://gerrit.libreoffice.org/11451 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-09-15fdo#82183 do not reset globals while loading a documentEike Rathke6-23/+51
Destroying the function list while an instance of the Formula Wizard is still open is a bad idea. Workaround not doing this when loading a document due to a DDE function or external reference being entered in the wizard. (cherry picked from commit c0aba5007b6e468336b41138f099914c32f4b0cf) Conflicts: sc/source/ui/app/scmod.cxx sc/source/ui/docshell/docsh6.cxx sc/source/ui/inc/docsh.hxx init formula options once, fdo#82183 (cherry picked from commit 10b6bda51c9da5429ca562c70ce75ee03e5f4e56) Change-Id: I6fa00fb4f442bf7c9410679e446ff460289e4b16 Reviewed-on: https://gerrit.libreoffice.org/11064 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-15check for empty slots' valid NULL pointer, fdo#79441Eike Rathke1-1/+2
Change-Id: Ie81b8b00c1ab8776086bddeb7464bb7809914bf8 (cherry picked from commit 2be9ae72189e8b86d7e609727bab223645975ddb) Reviewed-on: https://gerrit.libreoffice.org/11259 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-15Resolves fdo#81084 fdo#81696 fdo#80874 fdo#81010 : sort causes crashDeena Francis1-0/+4
Change-Id: I8fb9ec26bc549c264bfbf30177d720b20677b319 Reviewed-on: https://gerrit.libreoffice.org/11102 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit c25ac84688b596b9990d382d550f0514161b78c2) Reviewed-on: https://gerrit.libreoffice.org/11138 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-09-15out-of-bounds string access, this comparison never matchedEike Rathke1-1/+1
aName == aLinkTabName.copy(nIndex, nLinkTabNameLength) is not a replacement for String(aName).Equals(String(aLinkTabName), nIndex, nLinkTabNameLength) instead use aName.match( aLinkTabName, nIndex) because here nLinkTabNameLength actually is aLinkTabName.getLength() Change-Id: I884f56541f819db5672e9d096a26a3673e82d83b (cherry picked from commit aebcabd54cc5587f3856c48db0a4c4fc0f3f8ce8) Reviewed-on: https://gerrit.libreoffice.org/11134 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-09-09add test for cond format copy&paste whole sheetMarkus Mohrhard2-0/+35
Conflicts: sc/qa/unit/ucalc.cxx sc/qa/unit/ucalc.hxx Change-Id: I6e15bec2e1a2593b965df4c105758dc4bf22061f
2014-09-09rename the testMarkus Mohrhard2-3/+3
Conflicts: sc/qa/unit/ucalc.hxx Change-Id: I5c72782d90dbdaf1320f1685b530aed49ad80f18
2014-09-09fix copy&paste of conditional format between sheetsMarkus Mohrhard1-4/+0
Change-Id: I8856bff376f0f6e366062eddbc68a9eee098be5b
2014-09-09add test for duplicated conditional formatsMarkus Mohrhard2-0/+24
Conflicts: sc/qa/unit/ucalc.cxx sc/qa/unit/ucalc.hxx Change-Id: If6d24cba87eebf6ddbb0d5392d653890ff99ef04
2014-09-09prevent duplicated conditional formatting during copying of sheeetsMarkus Mohrhard1-2/+0
Change-Id: I866c0c4c05830af0070767aec36375a846a2bf84
2014-09-09fix indentationMarkus Mohrhard1-4/+2
Change-Id: I0ca8c236fe1f9ede0a3fea6de0a76aaf712e3ff1
2014-08-23correct references after sort, fdo#79441cp-4.2-8Eike Rathke6-10/+111
5c6ee09126631342939ae8766fe36083d8c011e3 introduced a different algorithm for reference handling during sort. Unfortunately that clashed with the SC_CLONECELL_ADJUST3DREL introduced a little earlier resulting in relative 3D references effectively being "adjusted" twice. Furthermore, in-sort-range range references to one row (or column) were not adapted to the move at all if the formula within the range listened only to ranges and not a single cell. Added collecting and adjusting area listeners for this. Last but not least, external (relative) references need to be treated the same as internal 3D references, making them point to the same location after the sort. (cherry picked from commit 69adec3ec051ff94f600ab899506ca9d645a8b56) Conflicts: sc/inc/types.hxx sc/source/core/data/bcaslot.cxx Plus necessary parts of 27182231acd3a0c9898a8dba78b76dc8a827b4c0 related to bcaslot changes. Change-Id: I492768b525f95f1c43d1c6e7a63a36cce093fa5a Reviewed-on: https://gerrit.libreoffice.org/10930 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-08-21Let's not export sheet tab color when it's not set.Kohei Yoshida1-2/+3
COL_AUTO is the default value which is treated as color not being set. The old code would export it as a white color which is not correct. Change-Id: Ib68fccfb228333f2059edc4cfffeed90880ebc60 (cherry picked from commit 3104f95254530c76c3fc0c3b840254912c067ad8) Reviewed-on: https://gerrit.libreoffice.org/11005 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-21bnc#822170: Let's not even try to export invalid chart objects.Kohei Yoshida3-10/+65
If we do, at best, Excel will complain about the document needing repair. At worst Excel will skip some of the other valid drawing objects from being loaded. (cherry picked from commit 692878e3bb83c0fc104c5cca946c25ccf2d84ab2) Conflicts: sc/source/filter/xcl97/xcl97rec.cxx sc/source/filter/excel/xeescher.cxx Change-Id: If3794d0ae9d8b44b124020bb12b5369dfebc95ae Reviewed-on: https://gerrit.libreoffice.org/10900 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-08-21fdo#80501: Ensure that we notify each listener only once.Kohei Yoshida7-41/+52
Change-Id: If2ce4643ff58c7c2ba326d749698dd5196a108dc (cherry picked from commit b2ee0235e88dc4da715b5766295ed88f27974fbd) Reviewed-on: https://gerrit.libreoffice.org/10647 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-08-21bnc#885548: Set the date time mode to non-fixed after the import is done.Kohei Yoshida1-0/+1
So that the new revisions will correctly record time stamps. Change-Id: I7d9b26bed04a95ce2652224faa0f214562818970 (cherry picked from commit 2a6843cb6c44305ac62c9cd1098a3eec4abaeb7e) Reviewed-on: https://gerrit.libreoffice.org/10830 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-08-21fdo#80846: Get the parameter order right.Kohei Yoshida1-1/+1
It's column, row, tab in this order, not tab, column row. Change-Id: I32e69a403feaf18532c7ac241fa2a98fc65a4ba7 (cherry picked from commit 1fcc30503549b47046c84333af542ed739f685ba) Reviewed-on: https://gerrit.libreoffice.org/10633 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-21fdo#81330: When moving to a different sheet, set 3D flag on.Kohei Yoshida1-0/+5
Change-Id: I16c6e687259635c4d0ac0e5dab0140941b409bc8 (cherry picked from commit 5e55d5ffb70437e917e4092f4030d5a454fd20d6) Reviewed-on: https://gerrit.libreoffice.org/10637 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-08-21bnc#885548: Reset the default user to the document owner at the end.Kohei Yoshida1-0/+2
Otherwise the user name is set to the name of the user in the last revision record, which will be used when recording new revisions. Change-Id: I9b5e39c3b3a85614af67f86db9ed2bb3509a9e2b (cherry picked from commit 227d3e72b0b29b73440157b64d6fb56fa151e05e) Reviewed-on: https://gerrit.libreoffice.org/10610 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-08-21fdo#79578: Properly update formulas upon change in db collection.Kohei Yoshida20-139/+85
Update it to handle formula groups correctly. (cherry picked from commit 300845922eec7a28bc1da337acd21f138685d759) Conflicts: sc/source/ui/docshell/dbdocfun.cxx sc/source/ui/docshell/docfunc.cxx sc/source/ui/docshell/docsh5.cxx sc/source/ui/undo/undocell.cxx sc/source/ui/undo/undodat.cxx sc/source/ui/unoobj/nameuno.cxx sc/source/ui/view/viewfunc.cxx sc/source/ui/view/dbfunc.cxx Change-Id: I009a7fcf3d3fb17ef6951c50534ca6bc1fffc259 Reviewed-on: https://gerrit.libreoffice.org/10605 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-08-21fdo#81617: Split formula groups at sort range boundaries.Kohei Yoshida3-0/+17
Otherwise, partially sorting a range may crash, or at best incorrectly update formula references. Change-Id: Iefcb86d205d83ccc5b684048bfd9aadabf6e13eb (cherry picked from commit a3fc7f20089062afa4f778e70ba8be84032a30a7) Reviewed-on: https://gerrit.libreoffice.org/10583 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-22Resolves: rhbz#1121341 crash on closing shrunk validity windowCaolán McNamara2-5/+24
Change-Id: I5fc1d6b909b3281ec3799b60bc3fd7b5f1163a75 Reviewed-on: https://gerrit.libreoffice.org/10439 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-22resolved fdo#81294 store correct sheet number during range names updateEike Rathke1-6/+12
Change-Id: Ic4c858efa6e7c1a65357ac79f01e6c08f464ae3f (cherry picked from commit 4011b74eb7650a0eeb99d3acebb9ef60b0fcaab9) Reviewed-on: https://gerrit.libreoffice.org/10376 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-22fdo#80462: Don't always increment the start row position.Kohei Yoshida1-1/+3
Sometimes someone might attempt to sort only a single row. Change-Id: Ie29d4cf7ec0bd3a5c945997083368b6ef6074268 (cherry picked from commit 5902dcf0995cdd0a6c1dbd1f9c21b0b2b3f5609f) Reviewed-on: https://gerrit.libreoffice.org/10260 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-22resolved fdo#80195 act on implicitly propagated error, if anyEike Rathke1-0/+5
Change-Id: I1d5a55a14fc3e25edc2cddec5b53ed2afa96bd3e (cherry picked from commit 1093b900b43d819c9a730ef6435fed0f3687a085) Reviewed-on: https://gerrit.libreoffice.org/10198 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-19respect flag for relative paths, fdo#79305Markus Mohrhard1-1/+15
Conflicts: sc/source/filter/xml/xmlexprt.cxx Change-Id: I8f4e5f8f5e489d543f81b0b20255c875b83f7afc
2014-07-18bnc#885548: Adjust xlsx export of revisions to get it to work in Excel.Kohei Yoshida6-156/+299
(cherry picked from commit fa44673e154ed4fb0b518b8850e2f6e4b9069531) Conflicts: sc/source/filter/inc/XclExpChangeTrack.hxx sc/source/filter/xcl97/XclExpChangeTrack.cxx sc/inc/cellvalue.hxx sc/source/core/data/cellvalue.cxx Change-Id: I0058d9ddfea545390e615a3030171a366e333c85
2014-07-18bnc#885548: Initial work on importing revisions from xlsx.Kohei Yoshida5-2/+553
Change-Id: Ie0528490d024093cbabf38541fe70be96a9caa2e (cherry picked from commit b92fdaa1a40bd54d279b4ac2faf19bf15468cc2f)
2014-07-17fdo#81470: Fix a crasher during xlsx export with revisions.Kohei Yoshida1-1/+0
Calling Undo() here removes revision entries which also removes formula cell instances stored in the entries. The problem is that the XclExpChTrCellContent instances store pointers to these formula instances for later use, and removing the entries at this location causes deleted formula instances to get accessed which in turn causes segfault. Since all revision entries get deleted when the temp change track instance gets deleted at the end of the revision export, not deleting the entries here will not cause memory leaks. Change-Id: I85f8064945a841b684e4fc4a97c3f9bb6a2de353 (cherry picked from commit 3bce16799c34d0b28704c43eae77501c0f6aec1e)
2014-07-16fdo#81445: Display correct label for empty cell.Kohei Yoshida1-3/+2
Change-Id: I4f3e99b2231f7cd87daa27ef2dc47d3bf37cea57 (cherry picked from commit 2202bda95c76127dffcc9c7460e462a877344b9c)
2014-07-14Preserve the "end of list" flag for xls round-tripping.Kohei Yoshida6-39/+68
This "end of list" flag determines whether the row insertion was an automatic insertion at the bottom. Calc doesn't use this at the moment but Excel uses it to differentiate a normal row insertion from an automatic one. (cherry picked from commit adf0d7b1fb8eed88f4fcd6d31662ae6f59d00812) Conflicts: sc/inc/chgtrack.hxx sc/source/filter/xcl97/XclExpChangeTrack.cxx Change-Id: I6b28669d816c54d1dc1e4c106918ba688415788d
2014-07-14fdo#81309: Adjust references during sort.Kohei Yoshida31-309/+983
(cherry picked from commit 5c6ee09126631342939ae8766fe36083d8c011e3) Conflicts: sc/inc/sortparam.hxx sc/source/ui/docshell/dbdocfun.cxx sc/source/ui/undo/undodat.cxx sc/inc/formulacell.hxx sc/qa/unit/filters-test.cxx sc/qa/unit/ucalc.cxx sc/source/core/data/documen3.cxx sc/source/ui/docshell/dbdocfun.cxx Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
2014-07-14resolved fdo#77018 keep external references intact during sortEike Rathke1-0/+17
Needs e463de2a56453a0d2cb0b5b58e96f7639f37cdd1 fix for fdo#79441 to work. Change-Id: Ide1cbeb4b25b17b5102977ccbdf8e6dbfcadfc60 (cherry picked from commit db0a4c2575ffba1c170d74882b0f5a6229ec072f) Reviewed-on: https://gerrit.libreoffice.org/10245 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-14resolved fdo#79441 keep 3D references intact during sortEike Rathke3-4/+5
Change-Id: I9e96d8e7cb99a3c280dd24495eefb9efd6d10888 (cherry picked from commit e463de2a56453a0d2cb0b5b58e96f7639f37cdd1) Reviewed-on: https://gerrit.libreoffice.org/10240 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-14Related cp#1000084: Make this work for other apps too and set proper defaultMatúš Kukan1-1/+3
Extend d98c817cc71e62a2beecc7142062f9ef33a7149b and fix default. (cherry picked from commit 37c3cf70c724b7402588d1d32d3aa76a965ee41b) Conflicts: sc/source/ui/drawfunc/fusel.cxx sd/source/ui/func/fusel.cxx Change-Id: I79ad35bd5ad6fbd6e7d260864d4bf40fafb6b604
2014-07-10resolved fdo#62250 absent value cell values are not NaN, set to 0.0Eike Rathke1-0/+6
Change-Id: I41459d72adbaa8f6c0c7c22447f6eba5eb8be3e1 (cherry picked from commit fea6f83df8d2183b108695217bc4ff7a93e942c9) Reviewed-on: https://gerrit.libreoffice.org/10176 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-07-06fdo#80813 - avoid FMR by re-fetch pattern after a potential re-calculation.Michael Meeks1-2/+6
Change-Id: Ib197f4cd74cd2c444a5f7c207fe2e5be14eea65d Reviewed-on: https://gerrit.libreoffice.org/10095 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-02bnc#812796: Correctly handle static value array for OOXML charts.Kohei Yoshida4-2/+15
We need to pass the role of the data sequence in order to avoid unreliable guess work when importing static value array. Also, not all Excel's scatter plots have real numeric X values; some have textural X values in which case Excel switch to generating 1, 2, 3, ... as X values. When importing to our chart implementation, using "categories" role in such cases instead of "values-x" results in a more faithful chart rendering. (cherry picked from commit 6c4e21a234f12e1310ba06f9859e08b424acf8bf) Conflicts: chart2/source/inc/InternalDataProvider.hxx chart2/source/tools/InternalDataProvider.cxx Conflicts: chart2/source/inc/InternalDataProvider.hxx dbaccess/source/core/inc/DatabaseDataProvider.hxx dbaccess/source/core/misc/DatabaseDataProvider.cxx sc/source/filter/inc/excelchartconverter.hxx Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78
2014-06-26Resolves fdo#76160 Calc invalid image position on zoomingDamien Chambe1-1/+1
Change-Id: Idd268a3378a902c173dc4d75d879714c2e919b2d Reviewed-on: https://gerrit.libreoffice.org/9792 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit b8d84a3bf59212a9652f76d7852c81191b8c8a3b)
2014-06-25bnc#882595: Process VBA blobs before formula cells.Kohei Yoshida1-6/+7
So that formula cells with user-defined functions will be interpreted correctly. Change-Id: I49c10109575f9f82d7f85dea63590bf02b70e041 (cherry picked from commit 5e83804da815a982aed567a8cae4cc078491dcbd)
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida19-50/+116
(cherry picked from commit 1d38cb365543924f9c50014e6b2227e77de1d0c9) Conflicts: xmloff/source/chart/SchXMLExport.cxx sd/source/ui/view/sdview3.cxx chart2/source/controller/chartapiwrapper/WrappedNumberFormatProperty.cxx chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx chart2/source/controller/main/ChartTransferable.cxx chart2/source/controller/main/ChartTransferable.hxx chart2/source/model/main/Axis.cxx chart2/source/model/template/ChartTypeTemplate.cxx chart2/source/tools/AxisHelper.cxx chart2/source/view/main/ChartView.cxx comphelper/source/container/embeddedobjectcontainer.cxx dbaccess/source/ui/browser/dbexchange.cxx dbaccess/source/ui/inc/JoinExchange.hxx dbaccess/source/ui/inc/TableRowExchange.hxx dbaccess/source/ui/inc/dbexchange.hxx dbaccess/source/ui/querydesign/JoinExchange.cxx dbaccess/source/ui/tabledesign/TableRowExchange.cxx embeddedobj/source/commonembedding/persistence.cxx embeddedobj/source/inc/commonembobj.hxx include/comphelper/embeddedobjectcontainer.hxx include/svtools/embedtransfer.hxx include/svtools/stringtransfer.hxx include/svtools/transfer.hxx include/svx/dbaexchange.hxx include/svx/dbaobjectex.hxx include/svx/fmview.hxx include/svx/galmisc.hxx include/svx/svdobj.hxx include/svx/svdoole2.hxx include/svx/svdxcgv.hxx include/svx/view3d.hxx include/svx/xmlexchg.hxx include/xmloff/xmlexp.hxx reportdesign/source/ui/dlg/GroupExchange.cxx reportdesign/source/ui/dlg/GroupExchange.hxx reportdesign/source/ui/inc/dlgedclip.hxx reportdesign/source/ui/report/dlgedclip.cxx sc/inc/column.hxx sc/source/ui/app/drwtrans.cxx sc/source/ui/app/lnktrans.cxx sc/source/ui/app/seltrans.cxx sc/source/ui/app/transobj.cxx sc/source/ui/inc/drwtrans.hxx sc/source/ui/inc/lnktrans.hxx sc/source/ui/inc/seltrans.hxx sc/source/ui/inc/transobj.hxx sc/source/ui/inc/viewfunc.hxx sc/source/ui/view/viewfun5.cxx sc/source/ui/view/viewfun7.cxx sd/source/ui/app/sdxfer.cxx sd/source/ui/dlg/sdtreelb.cxx sd/source/ui/inc/TabControl.hxx sd/source/ui/inc/View.hxx sd/source/ui/inc/sdtreelb.hxx sd/source/ui/inc/sdxfer.hxx sd/source/ui/view/sdview2.cxx sd/source/ui/view/tabcontr.cxx sfx2/source/doc/objxtor.cxx svtools/source/misc/embedtransfer.cxx svtools/source/misc/stringtransfer.cxx svtools/source/misc/transfer.cxx svtools/source/misc/transfer2.cxx svx/source/engine3d/view3d.cxx svx/source/fmcomp/dbaexchange.cxx svx/source/fmcomp/dbaobjectex.cxx svx/source/fmcomp/xmlexchg.cxx svx/source/form/fmexch.cxx svx/source/form/fmview.cxx svx/source/gallery2/galmisc.cxx svx/source/inc/fmexch.hxx svx/source/svdraw/svdoole2.cxx svx/source/svdraw/svdxcgv.cxx svx/source/tbxctrls/colrctrl.cxx sw/source/core/uibase/dochdl/swdtflvr.cxx sw/source/core/uibase/inc/swdtflvr.hxx sw/source/core/undo/unins.cxx Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-18resolved fdo#79957 propagate ForceArray through jump tokensEike Rathke1-1/+1
ForceArray parameters weren't propagated and enforced to array arguments on svJump tokens (FormulaJumpToken), namely IF, CHOOSE, IFERROR and IFNA. (cherry picked from commit c9d037e5e8e5850e9c69372580e7a506b573fc2a) Conflicts: include/formula/token.hxx Change-Id: Icf9074f11b826655a52858d778d9a0122d207aa4 Reviewed-on: https://gerrit.libreoffice.org/9767 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-06-18document must be set modified when range name is defined, fdo#79451Markus Mohrhard1-0/+1
Change-Id: I382bef9b95d40a1abac993795e8da540b5aa5d18 (cherry picked from commit 1c8babfdb0808318bbaa94e911c819456a65337e) Reviewed-on: https://gerrit.libreoffice.org/9804 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-06-18resolved fdo#79978 propagate error through DoubleArray of matrixEike Rathke3-8/+20
Regression introduced with 83f77ab0661df992f241e5f9ecb1aa8f8eaeafec. Interpreter errors are transported using NaN coded doubles, using simple setNan()/isNan() to flag and ignore non-numeric values skips all error values. Change-Id: I0d3cb30262bc5ba7ee77e53a2bc45e56569fbc4b (cherry picked from commit a288bebbcec0b16e1ced09a601de5ffbb6b1bbe0) Reviewed-on: https://gerrit.libreoffice.org/9768 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-06-16Cache table entry may be null. Let's not assume it's always non-null.Kohei Yoshida1-5/+11
This is done intentionally because we do need correct table index when resolving external reference. This requires we do need to allocate array with the same sheet size as the remote document. But we don't allocate Table instances for remote sheets that we don't reference, to save memory. Change-Id: I27fb6228f0e4558327aa4a04a6bccce8d2f1085f (cherry picked from commit 3dcfb9a892e528a386bb304e4e00d2fa34b1de25)
2014-06-12fdo#77506: More reliable way to determine label strings.Kohei Yoshida2-0/+14
Not beautiful, but doable. (cherry picked from commit a2a1a59a448420a858724371c4a339f75ebe8c1e) Conflicts: sc/source/ui/unoobj/chart2uno.cxx xmloff/source/chart/SchXMLExport.cxx Change-Id: I6f3b00d620e7d7d19cc05ec4239deeb14d0d5201
2014-06-11fdo#76324: Make pasting a lot of cell notes faster by disabling broadcasting.Matúš Kukan1-0/+12
Change-Id: If76e80af8dcecf70e4ea624a7f538023c48a5108 (cherry picked from commit e7a3aacff7d28577dee371ed5b27317522db7b3b) Reviewed-on: https://gerrit.libreoffice.org/9710 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 90132a32f8bc2e27c097d79c0cc1ddd7cae35da6)