summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15fix crash on export of fdo68639-2.ods to xls with invalid mnLastIdxCaolán McNamara
mnLastIdx doesn't get reset when the color list is reset, the code already acknowledges that mnLastIdx is the last set index but that it may not be a valid position, so only set rnIndex if mnLastIdx is valid and the data at that pos is the desired data. Change-Id: I57ce32fd1a13bfe9049ed94be34229c8c2808b8e
2015-04-15fix col limit crash on export of ooo103315-1.ods to xlsCaolán McNamara
Change-Id: Ic68ddc56d9cf9dd410c1f073ba83bfeea8220bf0
2015-04-15correct font name export for dxf to xlsxMarkus Mohrhard
Change-Id: Ice59382e13ca91f37f7140ee5bc5b5841a61acce
2015-04-14add missing fileMarkus Mohrhard
Change-Id: I81dcd2c9f13a93e15689fed6491883e7d828ca99
2015-04-14tdf#90447 vba find() should NOT select the found cell.Justin Luth
Change-Id: Ia8c331f33bc81e7bdabeea649a47c73930dae206
2015-04-14implement a sane and working dxf font export, tdf#81918Markus Mohrhard
Dxf font export needs a lot of special handling to detect which parts are set in the itemset and only export these. The old code only checked for font name, font family and text encoding and exported the whole font as dxf font in that case. The new approach just exports the necessary bits. Change-Id: Ic9a9c547723a65f26ebb6c88040a51f04f3cc42b
2015-04-14remove unused empty structMarkus Mohrhard
Change-Id: Ic9e2a947805f4aad987160c52ffb5ecf4a7cb54b
2015-04-14revert accidently commited codeMarkus Mohrhard
Change-Id: I3158762e7da10eacaf2616a7d868531ad7fa7a51
2015-04-14sc: 0 as the default zoom is curious, should be 100.Jan Holesovsky
This fixes a fallout from bf8b86e932df3edaeaa887509a22e57cd3920bc1. Change-Id: Ie2d2a1329df0ec36f21a07938af142c32c74277a
2015-04-14WaE: bogus C4701 uninitialized local variableCaolán McNamara
Change-Id: Ib43b844ead1720df3c93b2d2371d310af400fb29
2015-04-14tdf#88710 Kill svx dbtoolsclientMatthew Nicholls
Removes dynamic loading logic described in tdf#84315, similar thing removed in swdbtoolsclient. Change-Id: I8762102a7263e6933354c2ff6f9978929b760f6e Reviewed-on: https://gerrit.libreoffice.org/15147 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-14sc tiled editing: Implement long-touch to select word in overflowing text.Jan Holesovsky
Normally, the text overflowing from other cells is completely ignored by Calc, and the user always works with the underlying cells. On Android / mobile, it is though more natural to be able to select the text directly; so implement a compromise: * tap places the text cursor, so that the user can write into the cells hidden by the text too * long-tap selects the word in the text, even if the text 'just' overflows from another cell Change-Id: Ibe8666301ff1df0414c0206c1f3336842485433b
2015-04-14sc tiled editing: Re-purposed DrawStrings().Jan Holesovsky
Calc has no real understanding whether there is a text overflowing to the other cells or not, it is sorted out when drawing in DrawStrings(). Re-purpose it so that it has a mode where the caller can ask for actual region of text that covers the given cell. Change-Id: Id0caa3972727bafdaeb148f8bbabb412f771a67d
2015-04-14implement SfxObjectShell subclasses' LOK interfaceSiqi Liu
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
2015-04-13string access out of boundsEike Rathke
Another UniString to OUString conversion fallout. Change-Id: I5e62b049da3e7f8b5a892ea6aae7110a33564a46
2015-04-13So much for confusing variable with even more confusing nameKatarina Behrens
which, at the end of the day, isn't needed at all Change-Id: I5ce0f7aa8a9476dfa96aa955abb819af3eedfdd5
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
2015-04-13convert SHOWEXTRAS constants to scoped enumNoel Grandin
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
2015-04-13convert HIDDENINFORMATION_ constants into scoped enumNoel Grandin
Change-Id: I94136c926fc8fa69ce2ce2b97fa34dc984dbe095
2015-04-13convert SFX_LOADED_ to scoped enumNoel Grandin
Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea
2015-04-11databaroptions.ui: Improve some translatable messagesAdolfo Jayme Barrientos
Change-Id: Ia9380033261c7aaa229f9d2a64af0ac33c41d541
2015-04-11Tweaks to calc toolbars and add missing small tango iconsYousuf Philips
Change-Id: I0e84003420e58d1d830a1e937372fabe87208479 Reviewed-on: https://gerrit.libreoffice.org/15244 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-10fix crash on exporting ooo23919-1.sxw to odtCaolán McNamara
Change-Id: I3a249d1ee4a49dfc66d7d6052803b0896ae42d39
2015-04-10fdo#82014: Repaint & set the document to modified after condformat change.Jan Holesovsky
Change-Id: Ife3e805b95bede7be5d436abab925b35e717ee5e
2015-04-10tdf#89641 Page numbering in Calc and Draw/ImpressDobra Gabor
Change-Id: I5ce2f528ae4a243ea8402c787b5c77cf75052d2e Format: "Slide 2 / 3" changed to "Slide 2 of 3 (1)". Reviewed-on: https://gerrit.libreoffice.org/14806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-04-10convert SFXOBJECTSHELL_ constants to scoped enumNoel Grandin
Change-Id: I5a159be0c342b778730cedb0fe35843c2c368c97
2015-04-10convert SFXMODEL_ to scoped enumNoel Grandin
and fix up some confusion in SC and STARMATH about which constants to use Change-Id: Ib75bc78a24bd2fad6ec6d7c94c4c1ad7dc222c1a
2015-04-10convert SfxObjectCreateMode to scoped enumNoel Grandin
and fix some dodgy usage in /sc in the process Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
2015-04-09Change tools::Time::GetSystemTicks to sal_uInt64Stephan Bergmann
...as follow-up clean-up after 71fefe1dc2bcda3a4cc18d71e1acaf161cc059f2 "Change 'blink times' to be of type sal_uInt64 and thus consistent with Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee 'Scheduler: Changed uLong to uInt32/uInt64.'" Transitively meant to change quite a number of further time-related places from sal_uLong/sal_uIntPtr to consistently use sal_uInt64. Change-Id: I38eb493943906356138bf58eb098d2f54a3dee34 Reviewed-on: https://gerrit.libreoffice.org/15214 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-04-09TableRef: correct GetToken() logicEike Rathke
Ensure that only desired tokens are obtained and the resulting new token is actually the current one upon return. Change-Id: I624c324b861d8658accf3285cad2cfc5a598b450
2015-04-09TableRef: allow column specifier without itemEike Rathke
Change-Id: I1263f190d769254949701b3a257b2af5d6ea61a2
2015-04-09TableRef: lookup column specifierEike Rathke
Change-Id: I73109e5a862b2f4bc456dff512bddf5d23586a6d
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
2015-04-09tdf#85594 Additional tweaking of the standard, formatting and draw toolbarsYousuf Philips
Change-Id: I37f16184d8671f6f0eba7679e712e458abee314c Reviewed-on: https://gerrit.libreoffice.org/15195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-09tdf#89199: UI option to show data bar only (no values)Katarina Behrens
Change-Id: I13cbde947d6252c1157ec79a5f2190df24cca978
2015-04-09add Product function to Subtotals UIClément Lassieur
Change-Id: I240859bafa953c75ee639ccb77305161274217d1 Reviewed-on: https://gerrit.libreoffice.org/15210 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-09sc tiled editing: Make the 'long tap to select' work again in shapes.Jan Holesovsky
Change-Id: I77914d1b6fe538f3f38beb449e68f50ae36b0798
2015-04-08sc tiled editing: Reuse the selection method.Jan Holesovsky
Change-Id: I05175f0d8c37994658e0dcdf355a753bf7c840b8
2015-04-08sc tiled editing: Double click in the cell selects the entire cell.Jan Holesovsky
Change-Id: Ib537d5e4a0c7c9ed6a6b2520512d32da6c651188
2015-04-08TableRef: add pointers to documentationEike Rathke
Change-Id: I248ac1d116ffabc8346fd000c2ae4b0b9c6bd89b
2015-04-08TableRef: table name without items references data onlyEike Rathke
Change-Id: I2d4e534444678ddf8243db7b3fb6fe66af9fa24f
2015-04-08TableRef: match column header rows against DBrange first rowEike Rathke
Change-Id: I10f7806288f817e599876f95af4998ff6f539fc3
2015-04-08TableRef: handle column rangeEike Rathke
Change-Id: Iab87cc3fb2b21b53303e46a227f3a1ae35a3ab6d
2015-04-08TableRef: both column range rows must be table range top rowEike Rathke
Change-Id: I82fcb95c972defde4a854d4c4cce80e6e561bc92
2015-04-08TableRef: push ref only valid after openEike Rathke
Change-Id: I3ea00ddec1a740cbcff9eb22727b1f8ce32bb373
2015-04-08TableRef: limit to specified columnsEike Rathke
Change-Id: I389a0640d6ffefa1b98a9feff86c73775a7771dc
2015-04-08TableRef: keywords come with extra brackets eachEike Rathke
Change-Id: Ie12264c02d178be9bc5752e7ea20b4feff409e68
2015-04-08TableRef: simplify logic a littleEike Rathke
The #All keyword can be prefixing a column range anyway, so needs to be treated like all other keywords. Change-Id: Ic64a5caeff1c6b2d116b21c0c855c7207d649a8d