summaryrefslogtreecommitdiff
path: root/sc/source
AgeCommit message (Collapse)Author
2014-07-09coverity#707382 Uncaught exceptionCaolán McNamara
and coverity#707383 Uncaught exception coverity#707384 Uncaught exception coverity#707385 Uncaught exception coverity#707386 Uncaught exception coverity#707387 Uncaught exception coverity#707388 Uncaught exception coverity#707389 Uncaught exception coverity#707390 Uncaught exception coverity#707391 Uncaught exception coverity#707409 Uncaught exception coverity#707411 Uncaught exception coverity#707413 Uncaught exception coverity#707414 Uncaught exception coverity#706919 Uncaught exception coverity#706920 Uncaught exception coverity#706933 Uncaught exception coverity#706935 Uncaught exception coverity#706968 Uncaught exception coverity#706970 Uncaught exception coverity#706973 Uncaught exception coverity#706974 Uncaught exception coverity#707032 Uncaught exception coverity#707044 Uncaught exception coverity#738455 Uncaught exception coverity#738456 Uncaught exception Change-Id: Ifd4c0a2b6b4ddcb5df01a951b8d56435ee32d754
2014-07-08catched->caughtCaolán McNamara
Change-Id: If655720c1d1d2e8685315261b4524b876adfc053
2014-07-08draw white border around note marks for fdo#81032Laurent Godard
also translate the mark to make cell border visible Change-Id: Ifa9f3befd1e25a66cc3443a3f33255603feea6a6 Reviewed-on: https://gerrit.libreoffice.org/10135 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-08fdo#73148 add options to Calc function AGGREGATEWinfried Donkers
matrix-ranges not supported Change-Id: I902c78da6d9c7a4a5f8c5e4a7e1678b69d49a6fe Reviewed-on: https://gerrit.libreoffice.org/9449 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-07remove unused includeMatúš Kukan
Change-Id: Ia5a12fed570fcfc0db4e8080dd6cf3c2714293ab
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-04document strange code, coverity#704001Markus Mohrhard
Change-Id: Id6668f47f0549e719010141929b011aa028812d2
2014-07-04coverity#735805 dereference null valueNorbert Thiebaud
Change-Id: I3782cffb19e45635076f19eb568fc547b9680b0d
2014-07-04coverity#703995 Uncheck return valueNorbert Thiebaud
Change-Id: I84d219e65966c18092d1deef163efcf7b189af79
2014-07-03use assert when followed by derefCaolán McNamara
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-02bnc#812796: Correctly handle static value array for OOXML charts.Kohei Yoshida
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. Change-Id: If4bc1f650bb024dcd1b1b36537f457fb38404a78
2014-07-02improve indentationMarkus Mohrhard
Change-Id: I10917e6a6a73af68ddb72a2b45666892d318806b
2014-07-02replace while with forMarkus Mohrhard
Change-Id: I752376e42bf745b33a7be7478531eebd42893926
2014-07-02drop UniReference in favour of rtl::ReferenceNoel Grandin
since they're doing the same thing. Change-Id: I76134b6b848db8628f315fe5bd9eb972a6bf0cb6
2014-07-02fdo#79216 correct description of NORM.S.DIST functionStanislav Horacek
Change-Id: I5b95e4d648793253b0ac3c5ccd4019a145a3e762 Reviewed-on: https://gerrit.libreoffice.org/9839 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-02call the correct GetNotePosition method #fdo80551Laurent Godard
unit test is ok on Sheet but fails on Col Change-Id: I28084118e088838b47b77537b981ebe7422ab722 Reviewed-on: https://gerrit.libreoffice.org/9934 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-01coverity#706988 Uncaught exceptionCaolán McNamara
and coverity#706989 Uncaught exception Change-Id: I426ae26f69311effd60c0b60b7f4d677a2e35c80
2014-07-01coverity#705845 Dereference before nullNorbert Thiebaud
Change-Id: I4aecc132ca45abd45183455c87be4c4a3749d983
2014-07-01New loplugin:stringconcatStephan Bergmann
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01Remove stray fprintfMiklos Vajna
Change-Id: I3cfe170091f11a3039ff6443b283fb45773a4e70
2014-07-01fix testsCaolán McNamara
Change-Id: Ia7099e87baa553ce6f5537908e1fb65c268d3940
2014-07-01Related: #i124638# Second step of DrawingLayer FillAttributes...Armin Le Grand
for Writer objects, now added support for Paragraph and PageStyle (including Header and Footer) for direct attributes and style attributes (cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b) Conflicts: cui/source/factory/dlgfact.cxx cui/source/factory/dlgfact.hxx cui/source/inc/bbdlg.hxx cui/source/inc/cuires.hrc cui/source/tabpages/bbdlg.cxx cui/source/tabpages/bbdlg.src cui/source/tabpages/page.cxx cui/source/tabpages/tparea.cxx include/svx/pagectrl.hxx include/svx/svxdlg.hxx include/svx/svxids.hrc include/xmloff/PageMasterStyleMap.hxx include/xmloff/prstylei.hxx include/xmloff/txtprmap.hxx svx/Package_inc.mk svx/inc/svx/hdft.hxx svx/source/dialog/hdft.cxx svx/source/dialog/pagectrl.cxx svx/source/tbxctrls/tbxcolorupdate.cxx svx/source/unodraw/unobrushitemhelper.cxx sw/Library_sw.mk sw/inc/fillattributes.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/frmfmt.hxx sw/inc/hintids.hxx sw/inc/hints.hxx sw/inc/ndtxt.hxx sw/inc/node.hxx sw/inc/swunohelper.hxx sw/inc/unobrushitemhelper.hxx sw/inc/unoprnms.hxx sw/source/core/attr/format.cxx sw/source/core/attr/hints.cxx sw/source/core/doc/docdesc.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfmt.cxx sw/source/core/doc/docnew.cxx sw/source/core/doc/docredln.cxx sw/source/core/doc/poolfmt.cxx sw/source/core/doc/visiturl.cxx sw/source/core/docnode/node.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/inc/rolbck.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/fillattributes.cxx sw/source/core/layout/findfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/undo/rolbck.cxx sw/source/core/unocore/swunohelper.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/chrdlg/paradlg.src sw/source/ui/chrdlg/pardlg.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/uibase/app/docst.cxx sw/source/uibase/app/docstyle.cxx sw/source/uibase/frmdlg/colex.cxx sw/source/uibase/shells/basesh.cxx sw/source/uibase/shells/textsh1.cxx sw/source/uibase/uiview/viewstat.cxx sw/source/uibase/utlui/uitool.cxx xmloff/inc/PageMasterImportContext.hxx xmloff/inc/xmloff/XMLShapeStyleContext.hxx xmloff/source/draw/XMLShapeStyleContext.cxx xmloff/source/draw/sdpropls.hxx xmloff/source/style/PageMasterExportPropMapper.cxx xmloff/source/style/PageMasterImportContext.cxx xmloff/source/style/PageMasterPropHdlFactory.cxx xmloff/source/style/PageMasterStyleMap.cxx xmloff/source/style/prstylei.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx xmloff/source/text/txtstyli.cxx Conflicts: svx/source/dialog/hdft.cxx sw/source/core/doc/visiturl.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtatr2.cxx sw/source/core/unocore/unostyle.cxx Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
2014-07-01coverity#704262 coverity#704263 Dead codeNorbert Thiebaud
Change-Id: I3f015ea89a9a542226d18d0d203eb493f08b46a0
2014-07-01clang scan-build: various warningsCaolán McNamara
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-06-30related fdo#70998 change names in Navigator to pluralStanislav Horacek
to be consistent with names of other items Change-Id: I05a5484afde05f908f25df177d7e90f7991b84bb Reviewed-on: https://gerrit.libreoffice.org/9942 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-27fix incorrect ScAnnotationsObj UNO API, fdo#80551Markus Mohrhard
The used index was a sheet local index but the returned position was from a global container. Change-Id: I0b9e9e7e9618c72daf8e6417bca9d3a1cb23abb1
2014-06-27loplugin:unreffun: also warn about unused function templatesStephan Bergmann
Change-Id: I4a6280f47ca3c4a77b4e42fe05d79ded7fc30ef1
2014-06-26Make these non inline.Kohei Yoshida
Don't do this please... Change-Id: Id90490622bca10beabf7a1c92e51e55bc72a1db8
2014-06-26fdo#39111 - UI inconsistent concerning suppression of output for empty pagesJoren De Cuyper
Change-Id: I6017e77e46298b45c7584830178455fe29016209 Reviewed-on: https://gerrit.libreoffice.org/9907 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-25bnc#882595: Process VBA blobs before formula cells.Kohei Yoshida
So that formula cells with user-defined functions will be interpreted correctly. Change-Id: I49c10109575f9f82d7f85dea63590bf02b70e041
2014-06-25Add tiled rendering outline to Calc.Andrzej Hunt
(No real implementation yet.) Change-Id: I67b84b554dbb29db449d8c190ef816645a8bff07
2014-06-25remove whitespaceMarkus Mohrhard
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-24Resolves fdo#76160 Calc invalid image position on zoomingDamien Chambe
Change-Id: Idd268a3378a902c173dc4d75d879714c2e919b2d Reviewed-on: https://gerrit.libreoffice.org/9792 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-06-24new compilerplugin returnbyrefNoel Grandin
Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-23Translate German comments, fix some wsPhilipp Weissenbacher
There were a lot of spurious \t's in the code. I replaced them with a space. Change-Id: I12b3207f0e4d217fb5d4e406e7b16a0d29f3bcaf Reviewed-on: https://gerrit.libreoffice.org/9831 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-06-23remove commentsMarkus Mohrhard
Change-Id: I674e1443ce4e856206eeec7ea62083fcf0422f51
2014-06-23accept also one cell chart ranges for external data provider, fdo#79772Markus Mohrhard
Change-Id: I2078205b0aecdea13e342c4a625b82a70df0fb4f
2014-06-19fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19rhbz#1111216 allow to export an empty sheet to PDFDavid Tardon
This is to consolidate Calc's behaviour with the other applications, which always present at least one page for printing / PDF export. Change-Id: Iedf438618020c1e6d8ded5ac950c8ca2b12ad439
2014-06-19coverity#988426 Explicit null dereferencedCaolán McNamara
Change-Id: I76d1764c6bdce565705e87ae88e3eccc1c3a617e
2014-06-19coverity#983728 Uncaught exceptionCaolán McNamara
Change-Id: Ifa6f0bf05e9a71aa3db6c63291f99dc0665e57bf
2014-06-18loplugin:saloverrideMatúš Kukan
Change-Id: Ic2799c029c26dcd18a482b51f53248ef1c4b569a
2014-06-17fdo#40067: Fix for importing white space in strings (XLSX).Robin Kumar
Change-Id: I2590bd8b0d0c1d853caead60cf3af1b865d7fed7 Reviewed-on: https://gerrit.libreoffice.org/9805 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2014-06-17coverity#736887 Unintended sign extensionCaolán McNamara
also coverity#736888 coverity#736889 coverity#736890 Change-Id: I3e0d11d12c7da17297ba827f8125b9d99680121b
2014-06-17coverity#706049 Unintended sign extensionCaolán McNamara
Change-Id: Idb9c4aa6475fcd9edd0d76c06509df182bd2111c
2014-06-17coverity#706047 Unintended sign extensionCaolán McNamara
also coverity#706048 Change-Id: I93caf413db4582c8b2cdfbcf2358027c03ed113a
2014-06-17coverity#706041 Unintended sign extensionCaolán McNamara
also coverity#706042 coverity#706045 coverity#706046 Change-Id: I173603a638ef3e2d9ca358a4d4ba111910fac05f
2014-06-17coverity#706038 Unintended sign extensionCaolán McNamara
Change-Id: I363c90a71225744bacd0bedccf6938da63e0428f
2014-06-17coverity#1223091 Uncaught exceptionCaolán McNamara
Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070