summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpitemdata.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Removed duplicated includeAndrea Gelmini1-1/+0
Change-Id: If60f7469fbb55debac4194174745514451c8cb16 Reviewed-on: https://gerrit.libreoffice.org/63368 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2018-11-14tdf#42949 Fix IWYU warnings in include/svl/*Gabor Kelemen1-0/+1
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ide75232858599c275e023c2300201090acd22307 Reviewed-on: https://gerrit.libreoffice.org/63237 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-08tdf#42949 Fix IWYU warnings in sc/source/core/data/*cxxGabor Kelemen1-4/+3
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I3e3bf3160fe3627cd105d8b69ff165c0577d8c9b Reviewed-on: https://gerrit.libreoffice.org/62807 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-04-16tdf#42949 Remove unnecessary localization headers from scGabor Kelemen1-1/+0
Found by searching for the header names and the localization function: git grep -l -e \<scresid.hxx\> -e \<strings.hrc\> sc | xargs grep -c ScResId | grep :0$ | grep -v /pch and git grep -l -e \<globstr.hrc\> sc | xargs grep -c GetRscString | grep :0$ | grep -v /pch since global.hxx contains so much more, it's omitted from this round. This also gives some false positives used in ErrorMessage() calls or just untranslated strings. Also translate some stray German comments Change-Id: Icfea2b2942d12c3c134d419cb7c9a84534c04a86 Reviewed-on: https://gerrit.libreoffice.org/52932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-10-23loplugin:includeform: scStephan Bergmann1-6/+6
Change-Id: I2ed763e0584a188032c80fde60890de3c6985cbd
2017-06-01tdf#107945: store rtl_uString pointers instead of heap OUString objects.Kohei Yoshida1-12/+19
Change-Id: I61079e041a79195f9e9cb77ce80368ef7e909cef Reviewed-on: https://gerrit.libreoffice.org/38288 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2016-01-15loplugin:unusedmethods unused return value in scNoel Grandin1-32/+0
Change-Id: I3ccc98d2e042120093e2e8508518681588692393
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin1-5/+0
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-05-11fix-includes.pl: scThomas Arnhold1-1/+1
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-2/+2
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-04-19fdo#60300: Work-in-progress change to rework pivot table core.Kohei Yoshida1-2/+29
The idea is to avoid parsing the pivot table sheet output in order to calculate GETPIVOTDATA. The table outout is configurable, and it will only be more configurable in the future. The gist of my rework is to calcualte the result of GETPIVOTDATA with the internl result tree alone. Also, the same result tree can be used for drill down too, which also currently parses the table output, therefore subject to the same limitation & fragility. Change-Id: Ib0147e2aa2b710dfd627df7f535a685301214a52
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-14/+14
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-03-28Move ScFormulaCell into its own header source files: formulacell.?xx.Kohei Yoshida1-1/+1
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
2013-02-15Add a quick way to dump the content of pivot table result tree.Kohei Yoshida1-1/+0
This is to be used for debugging. Change-Id: Ie5a5ebd66a701937ab806e2370ded85ba557de5b
2013-02-13ScDPValueData->ScDPValue. The last 'Data' sounds very redundant.Kohei Yoshida1-5/+5
Change-Id: I218315a0583ce6b0f10969b364a7a717ad309212
2013-02-13Switch integer constants to enum & prefix data members with 'm'.Kohei Yoshida1-5/+5
Change-Id: I13374e160bb369f64fc6e661c43db5da657cbfd9
2012-12-15fdo#35943: Better performance with pivot table refresh.Kohei Yoshida1-1/+2
When the source data range contains trailing rows, simply skip them, and don't even bother iterating them. Apparently sometimes users specify a data range with a huge amount of trailing empty rows, which would slow down the pivot table refresh for no good reason. But we do still need to keep the original end row position, in case the pivot table needs to include empty cells in the output. Change-Id: I2c73c368837b8e322e12b25ddf31429488961f06
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-21/+12
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-10-30Fix the build with DEBUG_PIVOT_TABLE=1.Kohei Yoshida1-0/+2
Change-Id: Ibbf3ac3174d609feabc4cac590cf86b07ebbbab8
2012-09-18Some cleanups.Kohei Yoshida1-1/+1
Change-Id: I8812c9928409bcdb78dac1479c5e2205f2616965
2012-08-22fdo#53929: Pivot table uses case insensitive string comparison.Kohei Yoshida1-2/+3
Change-Id: I65fa22ceeba37a15b70fe41b1dee26f1dde7d759
2012-07-03fdo#51266: Properly set pivot item 'empty' on empty cells.Kohei Yoshida1-0/+6
Or else it would re-use the last non-empty cell value which is wrong. Change-Id: I3feab09a54e93150a7b6a9e9b4b540327f2ab5c5
2012-04-24Remove unused code in dpitemdata.Santiago Martinez1-9/+0
2012-04-14valgrind: Conditional jump or move depends on uninitialised valueCaolán McNamara1-1/+1
in ScDPItemData::DisposeString
2012-03-23Some misc changes & some dumping facility for pivot table for debugging.Kohei Yoshida1-1/+1
2012-03-18Fix Same expression on both sides of '=='Julien Nabet1-1/+1
2012-03-16Use shared string pool to share string instances among string item values.Kohei Yoshida1-8/+39
This brings down the reload time from 22 seconds to 4.3 seconds with my test document. This is what I've been looking for!
2012-03-15Fixed memory leak.Kohei Yoshida1-0/+1
2012-03-15Better algorithm to (re-)populate the cache.Kohei Yoshida1-0/+10
With my test document, this brings the reload time down from 30 seconds to 19 seconds. I was expecting a much better outcome, but this is still better than the current.
2012-03-13Forgot to add break here...Kohei Yoshida1-0/+1
2012-03-12Remove unused code in dpitemdataSantiago Martinez1-11/+0
2012-03-09Bit more organized & Error item has string too.Kohei Yoshida1-9/+14
2012-03-09Correct equality check & disable Dump() for normal build.Kohei Yoshida1-2/+11
2012-03-09Apparently nobody uses Hash() anymore.Kohei Yoshida1-14/+0
2012-03-09Properly display grouped range values for range-based grouping.Kohei Yoshida1-16/+50
2012-03-09Fixed a bug on sorting members.Kohei Yoshida1-3/+3
2012-03-09Display special first/last date names correctly.Kohei Yoshida1-0/+3
2012-03-09More on correctly formatting grouped values.Kohei Yoshida1-2/+4
2012-03-09Display date group values correctly.Kohei Yoshida1-14/+36
2012-03-09Fix the result hierarchy construction. Still lots of places remain broken.Kohei Yoshida1-0/+35
2012-03-09At least pass all unit tests.Kohei Yoshida1-2/+9
2012-03-09Custom copy constructor and assignment operator to fix segfault.Kohei Yoshida1-1/+50
2012-03-09Massive rework to reduce the size of ScDPItemData.Kohei Yoshida1-114/+99
Currently lots of things are broken.
2012-03-09Date field is now determined outside of ScDPItemData.Kohei Yoshida1-27/+2
2012-03-09ScDPItemData no longer stores number format.Kohei Yoshida1-37/+16
This brings its size down by 4/8 bytes.
2012-03-09We don't need the date part flag.Kohei Yoshida1-8/+0
2012-03-09mnDatePart in ScDPItemData not used in any meaningful way. Removed.Kohei Yoshida1-1/+1
2012-02-28Simplified it a bit.Kohei Yoshida1-16/+2
2012-02-09String to rtl::OUString.Kohei Yoshida1-8/+7
2012-02-09Moved ScDPItemData into own files.Kohei Yoshida1-0/+285