summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2014-08-20disable the test until I understand the problemMarkus Mohrhard
Change-Id: I9a24ff49823a9521d412e1e761c4c1b6ece6b601
2014-08-20java: Avoid naming non-fields with the prefix m_Noel Grandin
found by PMD Change-Id: I5955cfc9c4d777496a2e8e4b2c422a51764a8bc1
2014-08-20Wa: C4701: potentially uninitialized local variable 'fVal' usedTor Lillqvist
Change-Id: I579205c4cdc3149ef0c1b01daef32155a13d666b
2014-08-19more flexible handling of current date/time hotkeysEike Rathke
Let Ctrl+; current date and Shift+Ctrl+; (Ctrl+:) current time behave more flexible, depending on the formatting (and as such the type) of the existing cell content. key date on time cell => current date + time of cell => date+time formatted cell key date on other cell => current date => date formatted cell key time on date cell => date of cell + current time => date+time formatted cell key time on other cell => current time => time formatted cell Change-Id: I2ccbfbab3c50c36a72c4db4696520e32f94caefa
2014-08-19a date is a date, without timeEike Rathke
And use DateTime instead of manually concatenating Date and Time. Change-Id: I6f9fb988beea2a9a17c976d3b98860c4f9ed063b
2014-08-19java: no need to instantiate String objects directlyNoel Grandin
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19java: classes in java.lang package do not need to be fully qualifiedNoel Grandin
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
2014-08-19enable test after fixing the validation errorMarkus Mohrhard
Change-Id: I99cd2c23d640eef744b292d3643baab6d42d191f
2014-08-18Let's not export sheet tab color when it's not set.Kohei Yoshida
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
2014-08-18Write test to ensure that we export sheet tab color settings correctly.Kohei Yoshida
Previously, we would incorrectly export a sheet tab without any color set as a tab with white color. Change-Id: I97e59a0d8e2fba6db64149f53acfe4331a5ce2ba
2014-08-18Consistency around XColorItem in svx/sdshcitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
2014-08-18Consistency around SdrOnOffItem in svx/sdtcfitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
2014-08-18drop unnecessary shl.hxx includesCaolán McNamara
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18ErrorBox->MessageDialogCaolán McNamara
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18Consistency around SdrMetricItem in svx/sdsxyitm.hxxStephan Bergmann
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
2014-08-18pivottablelayoutdialog: define default buttonThomas Arnhold
Change-Id: Ica4bc2a52e7351899a5741086c6db299caa5ed16
2014-08-17coverity#737702 Uncaught exceptionCaolán McNamara
Change-Id: Idfc005c1c34c609b7dcaae266cdaf6a15a403e5a
2014-08-17remove executable bitsThomas Arnhold
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
2014-08-16fdo#80453 (part) Help button for insert random #Olivier Hallot
* Insert help button in dialogo * HIG-ify dialog. Change-Id: I839af28981e9bd980842e73e29bd6443f4154b86 Reviewed-on: https://gerrit.libreoffice.org/10944 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-17fix unit test after size_t changeThomas Arnhold
Change-Id: I511fd2c11fc1506c0cf7532347cca7933ed8ed5a
2014-08-17warning C4800: 'int' : forcing value to bool 'true' or 'false'Thomas Arnhold
Change-Id: Ic438fe098f80e96dd4679dda6e5de93a1ba9dc6a
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin
Instead of a mix of sal_uIntPtr, sal_uLong, int, and so on. Also change CONTAINER_ENTRY_NOTFOUND=ULONG_MAX to SAL_MAX_SIZE as return value in case of failure and in the related tests. Change-Id: Ie778a849253b4be84fbcdab9557b7c4240233927
2014-08-16don't call ScMarkData::GetMarkedRanges in ScColumn, related fdo#79422Markus Mohrhard
This drops the calls to ScMarkData::GetMarkedRanges by a factor of 1k. Change-Id: I12b1ab3877120a1fbccaccaa7996cbb7efe948b6
2014-08-16add test case for fdo#82503Markus Mohrhard
Change-Id: I715f8b2c09bd6af2cf1f45029f0561d79817deed
2014-08-16copy conditional formatting for single cells, fdo#82503Markus Mohrhard
Change-Id: I22f239fbbbfa3ac562b860efb990dff10d0e0e24
2014-08-16use scoped_ptr instead of shared_ptrMarkus Mohrhard
Change-Id: Ic814a2301aaf6e57aa8ca04b837acafb6e4f4566
2014-08-16add test for fdo#82128Markus Mohrhard
Change-Id: I3dd0005f00c4a861103ffd1a0422b9fc9397f6fb
2014-08-16use correct namespace for table protection elements, fdo#82128Markus Mohrhard
Change-Id: I5b9cb4a76739a0c91597c0470c737439d2b07e4f
2014-08-15unit test for sort with sheet references and external references, fdo#77018Eike Rathke
Change-Id: I4b60fe3f3594fbe13ae25ac29c8701d80870595e
2014-08-15Revert "another memory leak based on release().release()"Caolán McNamara
This reverts commit 1e9baadcb71cb393864be4e8580a50183cb7152e. because JunitTest_sc_unoapi now fails
2014-08-15unit test for sheet and in-range range references after sort, fdo#79441Eike Rathke
Change-Id: I09327866a92b1f53a7c0a76c38cf79856390d69a
2014-08-15another memory leak based on release().release()Markus Mohrhard
Thanks Michael Meeks for noticing. Change-Id: I8c27215d3cf4624a19f4fd905758e588b342c6c9
2014-08-14fdo#79116 make paste special easier to useThomas Viehmann
This patch adds three short cut buttons to the calc paste special dialog: paste values only (numbers, strings, dates), paste values and formats, and paste transposed. Change-Id: Ie70fbaa28976b2311b1d9cf53b094a5083fb42d4 Reviewed-on: https://gerrit.libreoffice.org/10928 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-08-14correct references after sort, fdo#79441Eike Rathke
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. Change-Id: I492768b525f95f1c43d1c6e7a63a36cce093fa5a
2014-08-14sc: stupid auto_ptr deprecationMichael Stahl
Change-Id: I7ef7de18c2f03d6dc825c12f14f3607fb64008cf
2014-08-14fdo#75757: remove inheritance to std::vectorTakeshi Abe
Change-Id: I07daec0ced64d0ca6ad2dd06fd19a1c7366e5c31 Reviewed-on: https://gerrit.libreoffice.org/10921 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-14java: remove commented out codeNoel Grandin
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-14WaE: C4189: 'aTests' : local variable is initialized but not referencedTor Lillqvist
Change-Id: I3526b45c374511b77086ffd81566cc1e9b813142
2014-08-13warning C4245 signed/unsigned mismatchMichael Stahl
Change-Id: Ibff6c806c287a2303cdf3b1942d5d5014a73bd30
2014-08-13fdo#75757: remove inheritance to std::vectorTakeshi Abe
Change-Id: I265d3a51a4eabee734e7ac15841f56bcae0807e4 Reviewed-on: https://gerrit.libreoffice.org/10916 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-13RID_SCDLG_DAPISERVICE conversion to .uiSzymon Kłos
Change-Id: I4194af3033f6591c7a8ca219aebf2ef816edcd63 Reviewed-on: https://gerrit.libreoffice.org/10915 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-08-13fdo#82418 prefer UTF-8 over UTF-16David Tardon
Change-Id: Id2c990d24dc942a6d061146ea88cf53ee29a1c3d
2014-08-13warning C4373: 'ScTableSheetsObj::importSheet': virtual function overrides...Thomas Arnhold
...'com::sun::star::sheet::XSpreadsheets2::importSheet', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers. XSpreadsheets2.hdl defines this as: virtual ::sal_Int32 SAL_CALL importSheet( const ::css::uno::Reference< ::css::sheet::XSpreadsheetDocument >& srcDoc, const ::rtl::OUString& srcName, ::sal_Int32 nDestPosition ) Change-Id: I286fa542a2124a85d7b835f257865f8a05c23f96
2014-08-13warning C4245: 'initializing' : conversion from 'int' to 'sal_uInt32'...Thomas Arnhold
...signed/unsigned mismatch Change-Id: I659db5cf9e1e1e682f27b689a06f28a123a9e82b
2014-08-13warning C4242: 'initializing' : conversion from 'size_t' to 'sal_uInt16'Thomas Arnhold
Change-Id: Ie5e64701a011768d861607a2e4267d75b995413e
2014-08-13update_pchThomas Arnhold
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda