summaryrefslogtreecommitdiff
path: root/sc/inc/dbdata.hxx
AgeCommit message (Collapse)Author
2015-05-01add totals to ScDBData ctorEike Rathke
Change-Id: I798376268b15f8b2f340d48fd2e38d68e53dbc6f
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-16Revert "make more classes dllpublic"David Tardon
This reverts commit add2ca7b3ab10ed9d18e60d8e50020168d922836. It causes too much breakage on windows. It is better to start again from scratch.
2015-04-16fix windows build, part 4David Tardon
error C2487: member of dll interface class may not be declared with dll interface Change-Id: I467670d483112ddbe8e608a7884a9c4e168e470d
2015-04-16make more classes dllpublicDavid Tardon
... to fix asan+ubsan+dbgutil build Change-Id: I1400774d383879bbff9bf28251a104cd53bafaed
2015-04-07TableRef: add Totals to ScDBDataEike Rathke
Change-Id: Ie38eaba48abbfc4f54304b349f5d2b135f4f7046
2015-01-03Add deleteOnTab for ScDBCollection::AnonDBsJulien Nabet
and use it instead of just using remove_if which is useless nothing! Change-Id: I37d8254b05123e50b076ddbb6f67726198ec4d6c Reviewed-on: https://gerrit.libreoffice.org/13723 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-12coverity#1158232 Fix ownership of NamedDBs::insert argumentStephan Bergmann
f70d03436b7b501e0ed1d745935a204b9b97b855 "coverity#1158232 have a stab at silencing warning with function markup" claimed that NamedDBs::insert always takes ownerhip of its argument, but boost::ptr_set::insert(std::auto_ptr<U> x) simply calls insert(x.release()), so only takes ownership when it returns true. ScDBDocFunc::AddDBRange (sc/source/ui/docshell/dbdocfun.cxx) relies on this behavior, deleting the argument when insert failed. ScDBDocFunc::RenameDBRange (sc/source/ui/docshell/dbdocfun.cxx) relied on this behavior, deleting the argument when insert failed, until f55cc330dec0dec60c755e2ce28a840c7fca1956 "Fixed the fallout of the changes in ScDBCollection" removed the delete (presumably in error?). I put it back in now. All other uses of NamedDBs::insert ignored the return value (witnessed with SAL_WARN_UNUSED_RESULT). Some are insert-if-not-found cases, where I added asserts now (Sc10Import::LoadDataBaseCollection, sc/source/filter/starcalc/scflt.cxx, is not entirely clear to me, so I added a TODO), while others would have potentially leaked the argument, in which cases I fixed the code. Change-Id: Iad40fbeb625c8ce6b0a61cbf16298d71cdc7de80
2014-01-20sal_Bool->boolNoel Grandin
Change-Id: Iba99495f93edc1bbd8b4fbdbf25c6c6f8b8986be
2013-07-04Modifying comments to meet Doxygen standardsAlaa.Bukhari
Change-Id: I98ee2cc34bae677e18f7a70a212677704c9c57c5 Reviewed-on: https://gerrit.libreoffice.org/4717 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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
2012-12-04re-base on ALv2 code. Includes:Michael Meeks
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 D
Change-Id: Iac9ac4e48115ea09aeffa11bbd8da399266aede9
2012-06-25callcatcher: remove some more unused codeCaolán McNamara
Change-Id: Id60fe0dade7f47f8b2b65bf2cfa1d6ab28a94505
2012-06-05drop some unused codeCaolán McNamara
Change-Id: I952fa56cb8cef0321688ccd117659c8603f71e16
2012-05-25Drop unused function "findByTable"Julien Nabet
Change-Id: I396bd5a6eb9ecc123529259f668f98be4b4245ca
2012-04-23Remove unused codeFerran Vidal
2012-04-11callcatcher: update listCaolán McNamara
2012-01-09fdo#44545: Skip filtered cells during auto-fill.Kohei Yoshida
Regression from 3.4.5.
2011-11-16Reduced header dependency on dbdata.hxx by better encapsulation.Kohei Yoshida
2011-09-14ScCompiler::IsDBRange compares upper case stringsMarkus Mohrhard
2011-05-16The (nested) class ScDBCollection::NamedDBs must be DLLPUBLIC, tooTor Lillqvist
Referenced from Sc10Import::LoadDataBaseCollection() in the scfilt library.
2011-05-13Renamed dbcolect.?xx to dbdata.?xx.Kohei Yoshida
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.