summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2015-07-02fix a11y crash seen on moving chart wizard dialogCaolán McNamara
Change-Id: Ic3ba292e28fe12d7dcc2c2e67aeea48a4c8aaac2
2015-07-02some other coverity thingsCaolán McNamara
Change-Id: I89ffd2b918f8707cde1b1d015c1ad35ef484b69c
2015-07-01tdf#92262 - fixup shared_ptr -> VclPtr issue.Michael Meeks
Change-Id: Ia0b22e62001cff4a63ea197b77aebb1759f73122 Reviewed-on: https://gerrit.libreoffice.org/16664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-07-01tdf#86179 inc/dec font is missing in some shellsMaxim Monastirsky
Mostly in Calc, but also for the SwAnnotationShell. Also replace the current code in SwDrawTextShell with a call to EditView::ChangeFontSize. The latter is able to handle text with different sizes out of the box. Change-Id: I4b55da579ea51683140bce0544e481606d7e5f3e Reviewed-on: https://gerrit.libreoffice.org/16658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-06-30Fix typosAndrea Gelmini
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-30unit test, check for all ScRange::Parse() valid flags, tdf#92426Eike Rathke
Change-Id: I9c941cfcb8c856f35ff3b24f8e15000af4993651
2015-06-30tdf#92426 explicitly set valid row/col for entire col/row referencesEike Rathke
... for callers that individually check for them, like ScRange::ParseAny() Change-Id: I23fc2c178a9c89b59f99f2fb86223324b7e5d378
2015-06-30unit tests for tdf#92427Eike Rathke
Change-Id: I4fb620754aac3f962695d053f05e50242538193e
2015-06-30tdf#92427 entire column/row reference also if both sticky parts are relativeEike Rathke
For example, convert A1:A1048576 to A:A but not A$1:A1048576 or A1:A$1048576 Change-Id: I7845134f79a04f7c031896d515ea1cb8050bd454
2015-06-30remove some unnecessary typedefs to pointerNoel Grandin
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2015-06-30translate some comments on the flyEike Rathke
Change-Id: I2888fd23de5fac90ec7fada213361921b02f9447
2015-06-30introduce ScRefUpdateRes UR_STICKYEike Rathke
Some callers of ScRefUpdate::Update() rely on a return value !=UR_NOTHING if rows or columns are inserted or deleted or moved, so simply ignoring the entire columns/rows cases is not possible even if the ranges actually don't change. Instead, return UR_STICKY that may allow to further differentiate in future. Change-Id: Iba6c1e5eb1a33d39ef677ef1de2f2d296bf504f1
2015-06-29Resolves: tdf#31577 volatile lookup ranges must not be cachedEike Rathke
Change-Id: Iac8574329c8c8e0bc0ac956993ccdd085372a6cc
2015-06-29support plain database range (table) names in INDIRECTEike Rathke
Change-Id: I89c1249315059d6a04615de27e8b9b18dfd300ff
2015-06-29TableRef: can be used in INDIRECTEike Rathke
Change-Id: I8eed87f0e6c0816a7d315f6c5ed039b0b193c322
2015-06-29Related tdf#92262: PIVOTTABLE: crash when clicking on the autofilter arrowJulien Nabet
Missing "else" in front of the "if" Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=7b355da6853af6678c4ba22710d157cf8a6d43eb Change-Id: I3c32e8f09acbea7094c4268384ec4b1c4e028fc5 Reviewed-on: https://gerrit.libreoffice.org/16497 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Deena Francis <deena.francis@gmail.com> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-29coverity#1308591 Uncaught exceptionCaolán McNamara
Change-Id: I0e1198a9b0b9e5d37ff5278f340fc640d8886eb0
2015-06-29coverity#1308589 Uncaught exceptionCaolán McNamara
Change-Id: I18cf4edd57abd297273f94a78a1a612c60e0f570
2015-06-29insert/shift unit test for tdf#44419Eike Rathke
Change-Id: If056bd05ca8895ad301a45bb078d303b56cd172a
2015-06-29unit test for tdf#44419Eike Rathke
Change-Id: I58cccec61eb0235f2212705d4435d7c08ef99146
2015-06-29coverity#1308596 Uncaught exceptionCaolán McNamara
Change-Id: I0784ad02e540757a0cb25b0e216b7bab4d2061f8
2015-06-29coverity#1308602 Uncaught exceptionCaolán McNamara
Change-Id: I5bee9695bbd294ff56ae7511f742b31e58bcc5bc
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin
since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-29no need to recompile the formula againMarkus Mohrhard
Change-Id: I03b72bd6a0b341ec89e0995f7b53287449ce9f61
2015-06-29use a prefix instead of pMarkus Mohrhard
Change-Id: I629be0a71861b97e4a0f9ba3d9c8d6ab9ee28b25
2015-06-29Subformula evaluation in formula wizard treeBenjamin Ni
Change-Id: If4f6a608f261621e2e1ba40b36d71d39a137a453
2015-06-28coverity#1308565 Uncaught exceptionCaolán McNamara
Change-Id: I961169b4da3daf34adc338ca913dab6f5c1edfae
2015-06-28coverity#1308558 Uncaught exceptionCaolán McNamara
Change-Id: I75bb68121d8c3ec9283f3391de8dea7d912489cb
2015-06-28coverity#1308541 Uncaught exceptionCaolán McNamara
Change-Id: I44981286c997717a71ea2b8c5c4a59d8f9c63c4b
2015-06-28coverity#1308532 Uncaught exceptionCaolán McNamara
Change-Id: Idb463679ef8d56cc5d62dd2e8db4fcd9c2322b26
2015-06-28coverity#1308531 Uncaught exceptionCaolán McNamara
Change-Id: Icf5ea960417de667429eadfdf0f0c388b4ed7f84
2015-06-28coverity#1308528 Uncaught exceptionCaolán McNamara
Change-Id: Ia8338a4ad0025cfc715ad29576efe45cb4ab9363
2015-06-28coverity#1308520 Uncaught exceptionCaolán McNamara
Change-Id: I38c832f75fc590af70db82642174bf636bddb0ad
2015-06-28coverity#1308517 Uncaught exceptionCaolán McNamara
Change-Id: I844e6eea6253833d08fbfaa23e32bc40b206ecdd
2015-06-28coverity#1308513 Uncaught exceptionCaolán McNamara
Change-Id: If09fc8743f2125a947563e3da8d6c62d36a0bfbd
2015-06-28coverity#1308510 Uncaught exceptionCaolán McNamara
Change-Id: I6734b2953e9a262e7661782c92318f54e14181eb
2015-06-28tdf#91857 Minor fixes to impress's and calc's reorganized menusYousuf Philips
Change-Id: I8a50e34d7a0f5746458003268366f59f65e47b91 Reviewed-on: https://gerrit.libreoffice.org/16554 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-28Fix typosAndrea Gelmini
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28Fix typosAndrea Gelmini
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-27tdf#90717 prevent crash, not really fixedEike Rathke
Try to resync shared group top and length. Change-Id: I31bd0db7c1dceb880a22274edc4c3f20ce253095
2015-06-27tdf#90573 do not shift/move entire col/row references and rangesEike Rathke
This gets significant now that we have regular A:A/1:1 references. Change-Id: I6cee35173cb1c13b03f6bf4dfc0dce9949536e23
2015-06-26use ScComplexRefData::IsEntireCol() and IsEntireRow()Eike Rathke
Change-Id: I4287019f5492825f6d295c4e364405f0d7329eb7
2015-06-26tdf#44419 display entire column/row references as A:A/1:1Eike Rathke
... if both anchors of the other axis are absolute. Now that we can parse them as of commit 0c8778ce1df92ca3bc2a8dd2f64568fb257e9e39 (and follow-up 4091b4fbdce40262eba46ab94653287b1fd928e8). Change-Id: Ie67127fe2d7546e7e598ee1a4d89133c08222262
2015-06-26entire rows/cols have absolute col/row anchors, tdf#44419 follow-upEike Rathke
Change-Id: I2ae8c1c81734efd7c80558ba5337253985e8e8b7
2015-06-26tdf#44419 allow A:A and 1:1 references also in Calc A1 and ODF syntaxEike Rathke
They still get displayed as A1:A1048576 and A1:AMJ1 but are accepted as input. Change-Id: I6a44ce56767695af874e9f5122501a4c7925b0d6
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann
Change-Id: Ie4e62535848718ca66a1fa977b09891e91ee7421
2015-06-25tdf#44419 in second reference part stop number parsing at separatorEike Rathke
Change-Id: I70218bc41df0d56ab42d652aa7ac51733dc06f4b
2015-06-25a singleton must be fully parsed to be valid, tdf#44419 relatedEike Rathke
No trailing characters must be present in 1:1 or A:A full row/column references, e.g. 2:2,2 is not valid. The original cause is the lexical analyzer that accepted 2,2 as the second part after the range operator because ',' is also the group separator here, which needs further changes. Change-Id: Iff354469f7dcb4e0b6fa645c39cc1f8ebad4a6ea
2015-06-25bail out early if maTableColumnNames.empty()Eike Rathke
Change-Id: Icda700e80aa3a48ea77b2bc90d73c37b67b62ba8