summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undodat.cxx
AgeCommit message (Collapse)AuthorFilesLines
2014-12-03remove boolean parameter default from ScDocument::SetDirtyEike Rathke1-1/+1
... and force the caller to make a decision. In fact some needed to include empty cells. Change-Id: I82b6ef72f7ecda6543b3cafc70f475519870b471 (cherry picked from commit 135b8d6466ade1e8724e604f705f95cecf4c4881)
2014-10-28loplugin: cstylecastNoel Grandin1-7/+7
Change-Id: Icc349df0cb3ce45a0985c7c3c27be24ef81e8705
2014-09-04create type-safe bitfield for sc insert/delete flagsNoel Grandin1-3/+3
The most important part of the change is in sc/inc/global.hxx It creates a type-safe struct that prevents the accidental interaction between regular integer types and the flags struct. It also provides utility methods that make combining and testing the flags type-safe. Change-Id: Ibc5b20058b1655df913490682b679afd1297b36d Reviewed-on: https://gerrit.libreoffice.org/11071 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-07-28fdo#79578: Properly update formulas upon change in db collection.Kohei Yoshida1-4/+4
Update it to handle formula groups correctly. Change-Id: I009a7fcf3d3fb17ef6951c50534ca6bc1fffc259
2014-07-13This undo class is no longer used.Kohei Yoshida1-103/+0
Change-Id: I8c53ba5bd839a6b8c8f65f05bb2b261a5bd02dbb
2014-07-13fdo#81309: Adjust references during sort.Kohei Yoshida1-16/+2
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud1-4/+4
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-25remove whitespaceMarkus Mohrhard1-2/+0
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-24new compilerplugin returnbyrefNoel Grandin1-183/+183
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-04-06whitespace cleanup in scMarkus Mohrhard1-2/+0
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
2014-03-02coverity#704711 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: I30e56ab58101a27acc9380031aabbac68fc74487
2014-03-02coverity#704710 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: I52ba4aed1dac93e3dbaa06cf70e690deac081b6e
2014-02-23Remove unneccessary commentsAlexander Wilms1-1/+1
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-19sal_Bool->boolNoel Grandin1-25/+25
Change-Id: I7e37926fc1e69da2b192a60df3b54807243c646f
2014-02-19sal_Bool->bool, and remove unused parametersNoel Grandin1-1/+1
Change-Id: I55a07cbcb7f388143f115d35b20daea96d1bed5d
2014-02-18sal_Bool->boolNoel Grandin1-8/+8
Change-Id: Ie801378efed378a9daead57cb637a96fb51cf49a
2014-01-28bool improvementsStephan Bergmann1-10/+10
Change-Id: I740c0e18eefc64cb5f1da5b88ceb77289790ec37
2013-10-04convert sc/.../undodat.hxx from String to OUStringNoel Grandin1-2/+2
Change-Id: I8bf3956d9941c005ab8c46f5e115e23b24c9c3e0
2013-07-07module svl: all String and some bool and related clean-upNorbert Thiebaud1-24/+24
Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-24Switch to using multi_type_vector for cell storage.Kohei Yoshida1-1/+0
The old style cell storage is no more. Currently the code is buildable, but crashes during unit test. Change-Id: Ie688e22e95c7fb02b9e97b23df0fc1883a97945f
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-18/+18
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-01-30Let's stick with just one variant of ScDocument::GetString()...Kohei Yoshida1-2/+2
Instead of having 3 of them. Change-Id: I2de9b63c33b7362162a56ea391f8b68a468163fa
2013-01-11Let's remove this underused bAlive flag....Kohei Yoshida1-1/+0
It's no longer that useful in today's pivot table design. Change-Id: I665a7707126793dfde17a2221ba563d22a59aad1
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
2012-11-19database names are case insensitive, fdo#51309Mathieu D1-2/+2
Change-Id: Iac9ac4e48115ea09aeffa11bbd8da399266aede9
2012-09-11-Werror,-Wunused-private-field (various sc)Stephan Bergmann1-2/+1
Change-Id: Ia30a2bb6b1f36304a3c420db1d28d177d429a19b
2012-08-25removed commented out code in sc/source/ui/undoPhilipp Riemer1-9/+0
This is a follow-up patch of 06f611210cf487dcd32aa7ccfaae5ed80124e439. Since the rebasing process is not finished yet, I submit it to Gerrit, so that the changes are available for later when they can be applied again to the related files. Change-Id: I047ade3f9a6b3927ddab8b94a53113b17483c06f Reviewed-on: https://gerrit.libreoffice.org/486 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-25remove ascii-art and blank lines in sc/source/ui/undoPhilipp Riemer1-25/+1
This is a follow-up patch to 06f611210cf487dcd32aa7ccfaae5ed80124e439. However, since the rebasing process is not done yet, I submit it to Gerrit, so that the changes are available as soon as they can be applied again to the related files. Change-Id: I61292e9d893839bd2f8b18a521a30e670f80f05b Reviewed-on: https://gerrit.libreoffice.org/484 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-25fdo#39468: Translated German comments in sc/source/ui/undoPhilipp Riemer1-15/+14
Eike and I reviewed the patch at the same time. However, he was was faster ;-) Consequently, with this commit I include the fixes for my remarks previously done in Gerrit as well as for Eike's comments. This is a follow-up patch of 06f611210cf487dcd32aa7ccfaae5ed80124e439. Change-Id: I6ee721f15852e1023c8b3e4f0b580435ee52c0c6
2012-08-24Translation of comments from german in sc/source/ui/undoAlbert Thuswaldner1-124/+73
Change-Id: Ic7f2233ae55f8c5505c5b325aef973b0d0c65730 Reviewed-on: https://gerrit.libreoffice.org/479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-08-18remove some useless commentsThomas Arnhold1-4/+3
Change-Id: Ied223890539a3407abbed7c7135dfc3de2f2fe48 Reviewed-on: https://gerrit.libreoffice.org/429 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-06-09Remove superfluous include commentsThomas Arnhold1-3/+0
Change-Id: Ie5792855761b9be209bf3fa2cba9e6998523c982
2012-05-14convert GetComment family to rtl::OUStringCaolán McNamara1-17/+17
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-02-04ScOutlineCollection and its friends now free of ScSortedCollection.Kohei Yoshida1-1/+1
But it's apparently broken at the moment. I need to fix this...
2011-11-27remove include of pch header from scNorbert Thiebaud1-2/+0
2011-11-23Reducing header dependency on markdata.hxx.Kohei Yoshida1-4/+5
2011-11-07sal_Bool->bool in ScDocumentMarkus Mohrhard1-4/+4
2011-05-27Replace DBG_* with OSL_* in sc/source/uiJacek Wolszczak1-2/+2
2011-05-13Renamed dbcolect.?xx to dbdata.?xx.Kohei Yoshida1-1/+1
That deliberately mis-spelled header name always bothered me. Now fixed once and for all. For the record, the original file name was inspired by the 8-character rule that some of the old compilers that the Hamburg guys had to use, years and years ago.
2011-05-13Fixed the fallout of the changes in ScDBCollection.Kohei Yoshida1-19/+8
2011-04-01Support sheet-local anonymous database ranges.Markus Mohrhard1-3/+16
This is for an Easy Hack to allow one autofilter per sheet, not per document.
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida1-166/+166
2011-03-02Move DBG_ERROR to OSL_FAILThomas Arnhold1-2/+2
2011-03-02Removed dead codeTakeshi Abe1-19/+0
2011-01-17removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko1-149/+149
2010-12-11cleaning of __EXPORT defineGert Faller1-90/+90
2010-10-13Merge commit 'origin/master' fix conflicts and more trailing wsNoel Power1-0/+2
Conflicts: sc/source/ui/undo/undodat.cxx sc/source/ui/vba/excelvbahelper.cxx sc/source/ui/vba/vbadialog.cxx sc/source/ui/vba/vbahelper.cxx sc/source/ui/vba/vbapagesetup.cxx
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth1-0/+2
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-06initial commit for vba blob ( not including container_control stuff )Noel Power1-0/+205
2010-09-28This gets rid of a great number of the commentsJustin Malcolm1-159/+0
There are a great number of places in calc where code is commented out with lines staring in "//UNUSED". Since 'git' is being used, there is no reason to keep old code like this in comments.