Commit graph

844 commits

Author SHA1 Message Date
Julien Nabet
c447d9ba8c Some cppcheck cleaning 2012-01-14 12:33:46 +01:00
Kohei Yoshida
de9a19ab6b fdo#44546: Hopefully correct automatic calculation of y-axis scale. 2012-01-09 17:10:31 -05:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
c1c3ef64bc callcatcher: remove some unused code 2011-12-21 09:30:20 +00:00
Markus Mohrhard
514af8a31f missing include limits 2011-12-14 03:37:55 +01:00
Markus Mohrhard
ab125155cf don't try to use Inf for axes calculation fdo#43703 2011-12-14 03:27:21 +01:00
Kohei Yoshida
70afe78023 fdo#43681: Set correct auto scaling for stacked data series.
With this change, the automatic y-axis scaling should be more accurate
for stacked charts (i.e. stacked line, area, bar charts) with dates on
the x-axis.  The previous algorithm only calculated the max and min
y-values of the individual data, without taking into account the stacking
type when the x-axis type was date.
2011-12-13 19:52:26 -05:00
Kohei Yoshida
a9d1d2f35c Prefer reference over pointer (when it makes sense). 2011-12-13 16:20:24 -05:00
Kohei Yoshida
ccc59bc76f fdo#43681: Always sort category axis when it's a date type.
Or else we'd end up drawing a pretty interesting diagram...
2011-12-13 16:20:24 -05:00
Kohei Yoshida
2977e3e988 Prefer pre-increments, especially with iterators. 2011-12-13 16:20:23 -05:00
Olivier Hallot
0eac98aa74 Fix for fdo43460 Part V getLength to isEmpty
Part V
Module
chart2
2011-12-13 00:36:43 +04:00
Stefan Knorr (astron)
ad2eb6c4ba Less succes, more success 2011-12-08 09:06:09 +01:00
Eike Rathke
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
August Sodora
443a7229f9 Remove uses of charAt 2011-12-01 11:10:28 +01:00
Eike Rathke
07a7b2937a fixed fdo#40363 freeze chart wizard with non-gregorian date
Use the newly introduced Date::Normalize() instead of a never ending
while(!date.IsValid())
2011-11-30 02:05:24 +01:00
Eike Rathke
dca69d5bb2 renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptions
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-30 02:05:22 +01:00
Takeshi Abe
1aae826501 catch by const reference 2011-11-29 10:07:04 +09:00
Norbert Thiebaud
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Michael Meeks
c8dc737208 re-factor XPropertyList derivatives to use a rtl::Reference
This cleans up a lot of lifecycle nasties and cleans up some serious
cut/paste code duplication issues at the same time. Cleanup the
naming of ColorTable -> ColorList to match the impl. too
2011-09-24 08:33:46 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Stephan Bergmann
122b729a5a Removed unused fMaxSize introduced by previous changeset 3e5edf6c. 2011-09-20 20:06:39 +02:00
Regina Henschel
3e5edf6ca9 Add missing chart data point ODF1.2 standard symbols 2011-09-20 12:14:13 -04:00
Julien Nabet
581a04f2ce Some cppcheck cleaning 2011-09-10 08:11:19 +02:00
Joseph Powers
bbbc20bd5f Rename class XColorTable to XColorList
The class is now based on XPropertyList instead of XPropertyTable and all
of the other classed based on XPropertyList are named X..List.
2011-08-29 06:29:36 -07:00
Matúš Kukan
45fb35c7ac add prefixes for component_getFactory 2011-07-28 14:35:37 +02:00
Maciej Rumianowski
a945fbf59c Get rid of SvULongs in calc
Instead of SvULongs use ::std::vector < sal_Int32 >
2011-07-20 17:01:05 -04:00
Matus Kukan
bc925cc2ad Remove component_getImplementationEnvironment 2011-07-12 17:58:44 +02:00
Caolán McNamara
74d2411555 WaE: removed unused fZDerivation 2011-06-07 11:28:49 +01:00
Regina Henschel
6a8f23ec27 Adapt smoothing with splines to ODF1.2 2011-06-06 19:31:56 +02:00
Caolán McNamara
e8ec8ac463 use standard template for this 2011-06-03 13:42:38 +01:00
Jacek Wolszczak
a64076a069 Replace DBG_* with OSL_* in calc/chart2 2011-05-27 06:03:36 +02:00
Christian Lohmaier
dca0391318 WaE - add explicit casting (decimal-types → integer types) 2011-05-16 22:09:46 +02:00
Julien Nabet
69211a3aa5 Some cppcheck cleaning 2011-05-05 23:33:14 +02:00
Kayo Hamid
ee0110327a cppcheck inefficient checking for emptiness
From cppcheck: Using xxxx.empty() instead of xxxx.size() can be faster.
 xxxx.size() can take linear time but xxxx.empty() is guaranteed to take
 constant time
2011-04-22 11:31:04 +02:00
David Tardon
ebc678510b check for the value being outside the numeric limit of 32-bit int
Apply the original commit a05213c822ed62256af12690abea62b12aa5dedd to
the right file.
2011-04-15 12:46:04 +02:00
David Tardon
c3565154c1 fdo#34350 make sure these values are positive
Apply the original commit 1e3b1a7a8c939a0ae08a14d5efdd65b17355dae9 to
the right file.
2011-04-15 12:46:04 +02:00
David Tardon
1d358f105d remove unused files 2011-04-15 12:46:03 +02:00
David Tardon
c849643c98 gbuildize chart2 2011-04-15 12:46:03 +02:00
Francisco Saito
3efa3777aa drop bogus executable flag from [ch]xx/bas/asm files 2011-03-29 21:39:42 +01:00
Jan Holesovsky
acfdc69e78 Merge commit 'ooo/DEV300_m103'
Conflicts:
	sc/source/filter/starcalc/scflt.cxx
	sc/source/ui/unoobj/chart2uno.cxx
2011-03-23 16:58:51 +01:00
Caolán McNamara
d5d663c24d WaE: nColumnCount unused 2011-03-21 10:02:29 +00:00
Michael Meeks
d8420530bc fix array bounds problem that crept in from OO.o 2011-03-18 17:35:05 +01:00
Jan Holesovsky
e6064484fa Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
	chart2/source/controller/main/UndoManager.cxx
	chart2/source/tools/RegressionCurveHelper.cxx
	sc/inc/address.hxx
	sc/inc/attrib.hxx
	sc/inc/bigrange.hxx
	sc/inc/callform.hxx
	sc/inc/cell.hxx
	sc/inc/chartarr.hxx
	sc/inc/chartlis.hxx
	sc/inc/chgtrack.hxx
	sc/inc/collect.hxx
	sc/inc/compiler.hxx
	sc/inc/detdata.hxx
	sc/inc/document.hxx
	sc/inc/fillinfo.hxx
	sc/inc/olinetab.hxx
	sc/inc/prnsave.hxx
	sc/inc/queryparam.hxx
	sc/inc/sc.hrc
	sc/inc/scabstdlg.hxx
	sc/inc/table.hxx
	sc/inc/validat.hxx
	sc/inc/zforauto.hxx
	sc/source/core/data/documen2.cxx
	sc/source/core/data/document.cxx
	sc/source/core/data/table1.cxx
	sc/source/core/tool/address.cxx
	sc/source/core/tool/token.cxx
	sc/source/filter/excel/frmbase.cxx
	sc/source/filter/excel/impop.cxx
	sc/source/filter/excel/xename.cxx
	sc/source/filter/inc/formel.hxx
	sc/source/filter/inc/xename.hxx
	sc/source/filter/xml/xmlexprt.cxx
	sc/source/filter/xml/xmlnexpi.cxx
	sc/source/filter/xml/xmlnexpi.hxx
	sc/source/ui/dbgui/filtdlg.cxx
	sc/source/ui/inc/docfunc.hxx
	sc/source/ui/inc/namedlg.hxx
	sc/source/ui/namedlg/namedlg.cxx
	sc/source/ui/src/namedlg.src
2011-03-18 15:33:40 +01:00
obo
d3bd824556 CWS-TOOLING: integrate CWS chart55 2011-03-16 09:56:18 +01:00
Norbert Thiebaud
c08b8e3144 mis-merge: a declaration was moved due to cppcheck, and also changed value
the result is the 2 decalration were in the merge result, the
one with the 'bad' value shadowing the 'good' value
2011-03-14 17:37:24 -05:00
Kohei Yoshida
8b49dc02d9 Various, mostly mutex-related build breakage fixes & warning removals. 2011-03-14 14:12:13 -04:00
Thomas Arnhold
fd3ae880bc Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-13 16:44:11 +01:00
Kohei Yoshida
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00