summaryrefslogtreecommitdiff
path: root/sc/inc/rangenam.hxx
AgeCommit message (Collapse)Author
2019-09-01Fix '..'Andrea Gelmini
To complete this: https://gerrit.libreoffice.org/#/c/78312/ This is a massive replace for ".." instead of "..." between words. It passed "make check" on Linux. Change-Id: I144d8061fca9f545c762941551e59dffdd3650e8 Reviewed-on: https://gerrit.libreoffice.org/78357 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2018-10-15loplugin:staticconstfield improvementsNoel Grandin
And fix ScXMLCachedRowAttrAccess::Cache which was never setting its mnTab field, and hence would never be hit. And fix oox::xls::CellBlockBuffer, which was never setting mnCurrRow. Change-Id: I2c46aa050b9ebe3c2dc2e52579555f97945dd61c Reviewed-on: https://gerrit.libreoffice.org/61772 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-10-15loplugin:constfields in scNoel Grandin
Change-Id: If326175d571d15752efd1b63df45b2bc785f7541 Reviewed-on: https://gerrit.libreoffice.org/61653 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-19remove unused typedefsNoel Grandin
Change-Id: I6fd7a9fed3a80c91a3766fceefd43c5db0aa5275 Reviewed-on: https://gerrit.libreoffice.org/46763 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-11loplugin:salcall fix functionsNoel Grandin
since cdecl is the default calling convention on Windows for such functions, the annotation is redundant. Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d Reviewed-on: https://gerrit.libreoffice.org/46164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-24loplugin:constparam in sc part3Noel Grandin
Change-Id: I8abc44b9f0bcd5e39fd8a94abafaf80aadcd26ca Reviewed-on: https://gerrit.libreoffice.org/41496 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-28tdf#86214 User isn't warned entering a cell address not allowedAbhilash Singh
Refactored ScRangeData::IsNameValid Change-Id: I74dd5830d13e48e8fe9a5180a819be4acdc9a1db Reviewed-on: https://gerrit.libreoffice.org/33386 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-01-13new loplugin: useuniqueptr: sc part 1Noel Grandin
Change-Id: Ic96fd3b56b2063df0882168a7d02725d3c50515f Reviewed-on: https://gerrit.libreoffice.org/32961 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-23convert formula error codes to scoped enumNoel Grandin
Change-Id: I5ff214bf1ec9031e30344bc125bc99916fd11bfb Reviewed-on: https://gerrit.libreoffice.org/28897 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-08-29loplugin:countusersofdefaultparamsNoel Grandin
Change-Id: I26f46ddac3d7d810ebfa1c3e7f1a77427369828e Reviewed-on: https://gerrit.libreoffice.org/28451 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-26Resolves: tdf#87474 handle renaming of named expressions/ranges in formulasEike Rathke
Change-Id: If82b62505624c3c259371fa37de1994a94bbceb5
2016-04-30introduce ScRangeName::CopyUsedNames()Eike Rathke
Change-Id: I2f3e88f70e5d7b9b4728f5bdd0a8237c7bcc7dcb
2016-04-14loplugin:passstuffbyref in scNoel Grandin
Change-Id: I75c483972db787ea9c941eaac0df023f1929b09c
2016-03-22tdf#84938 replace #define with scoped typed_flagsJochen Nitschke
'RangeType' becomes 'Type', goes into ScRangeData and is strongly typed now. This revealed a misuse of RangeType in vbanames.cxx where the uno equivalent was expected, but it had no impact because both values were 0. Change-Id: I0b4764d1411c709a1faa243ec70afeb160410990 Reviewed-on: https://gerrit.libreoffice.org/23415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-19adjust sheet references when copying sheet-local named expressionsEike Rathke
... so references to the local sheet point to the new scope's local sheet and not to the originating sheet. Change-Id: I7f33f4e9b379ec01d6c2587e92ffe851892fc32d
2016-03-03loplugin:unuseddefaultparams in sc (part2)Noel Grandin
Change-Id: I356a86bfca20cbf2c52185697042dce5237e847d
2016-01-15loplugin:unusedmethods unused return value in scNoel Grandin
Change-Id: I3ccc98d2e042120093e2e8508518681588692393
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
2015-11-06sc: replace boost::ptr_map with std::map<std::unique_ptr>Michael Stahl
Change-Id: Id4f24d8aa3db4e569f3eafa6d4ab32b0a95bf3c9
2015-11-02sc: remove unused boost::ptr_map ScRangeName::TabNameMapMichael Stahl
Change-Id: I7967f0ee333eda4db320dc50bd91f2229792f0a8
2015-08-19sc: these are ptr_map not ptr_setMichael Stahl
Change-Id: I55848b3fedae79d714c8341fd84d505cb83a7c2c
2015-07-22loplugin:unusedmethods scripting,scNoel Grandin
Change-Id: I0016aefce1aad3a89bd23dcec6fbab58a7c844d7 Reviewed-on: https://gerrit.libreoffice.org/17263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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
2014-05-11fix-includes.pl: scThomas Arnhold
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-02-04Cover all the other "compile all formula cells" methods.Kohei Yoshida
Change-Id: I434aeb97a32d4b70846c7b3a7c701f90f43bad8a
2013-11-04We need to update sheet positions of range names when modifying sheets.Kohei Yoshida
And add Dump() to ScRangeData for debugging convenience and re-enable previously failed test cases. Change-Id: I9d8f41a8be4c9c301254ef300c7b7f0c1ea7f393
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-04convert sc/inc/r*.hxx from String to OUStringNoel Grandin
Change-Id: Iaae69c0914917d9d5851f227be28ff5cd098da8b
2013-09-04Remove more unused methodsMarcos Paulo de Souza
Change-Id: I8fec40d767905bcca366257a67f669eaa1055cbc Reviewed-on: https://gerrit.libreoffice.org/5789 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-08-12No more RT_SHARED and RT_SHAREDMOD named range types.Kohei Yoshida
Change-Id: Ic8d98b62747ae29cc968ce926e2ae42537023840
2013-07-30Adjust named range references on sheet move.Kohei Yoshida
Change-Id: I3b20f79d9c2f373c93a34ccdb308c6d5c09f69e7
2013-07-30Update range names on sheet deletion.Kohei Yoshida
It works fine with live calc instance, but somehow fails in unit test. Change-Id: Ie60774b4f1f8391801e0d9358f6cca78d8e52397
2013-07-30Handle named range update on sheet insertion.Kohei Yoshida
Change-Id: I05b43bad84333ac8aeee7928898bdd90eed53c38
2013-07-30More on getting named range update to work.Kohei Yoshida
Change-Id: Id3f2ffe6d91ae43d799182b3744a839be5e1baf6
2013-07-30First cut on re-working reference update in named expressions.Kohei Yoshida
It's not perfect yet. Change-Id: Iebe7a88e419365b053765685bb769427f569070d
2013-07-30Let's not use numerical magic numbers. Prefer enum.Kohei Yoshida
Change-Id: I84d14dd06a2b28d7a8a1544f26eae180b6ea86b5
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
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-09-20xlsx fix cyclic referenced defined names partially fixes bnc#780296 bnc#781166Noel Power
Change-Id: Ibad37ac05c608c0211063bfa73931427d48c11f9
2012-06-15callcatcher: chainsaw out some unnecessary codeCaolán McNamara
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-05unusedcode.easy: remove some unused codeThomas Arnhold
Change-Id: I0b9abff3978c03c87aa0d49dbfb531ec4f38d698
2012-04-19fdo#48856 update sheet-local named expressions correctlyEike Rathke
* Named expression must be updated before any formulas that would access them. * Handle all ocName tokens differentiating between global and sheet-local names.
2012-04-19update relative local range names, fdo#48856Markus Mohrhard
2012-04-19Revert "do not include contents of huge sc/sd/sw libs into tiny unittests"Luboš Luňák
The need to export symbols for tests is apparently not considered worth the big extra disk space. This reverts commit 69d46dd7a6adfffd71da055bb65108c80d27395f. Conflicts: sd/CppunitTest_sd_uimpress.mk sw/CppunitTest_sw_swdoc_test.mk
2012-04-07do not include contents of huge sc/sd/sw libs into tiny unittestsLuboš Luňák
This decreases debug build dir size by about 0.5G for gcc and 1G for clang.
2012-03-05Remove unused codeElton Chung
2012-02-04ScOutlineCollection and its friends now free of ScSortedCollection.Kohei Yoshida
But it's apparently broken at the moment. I need to fix this...
2012-01-21Oops I shouldn't have erased names directly.Kohei Yoshida
We always need to remove the index map when removing a name.