Commit Graph

641 Commits

Author SHA1 Message Date
d30df91b1e fdo#43460 chart2: use isEmpty()
Change-Id: Ia74923ed8f00adfa3f7758edb4e5755fedb0ec8a
Reviewed-on: https://gerrit.libreoffice.org/4315
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2013-06-17 15:03:35 +00:00
8a8b1ae3e9 Some more toInt32 clean up
Change-Id: I4f7911cb283d67e7c7b883d629b39588e96f32c2
2013-06-14 18:33:07 +02:00
417021ead1 Fix variable value reassigned before old value used
Change-Id: Iac028806fd306253fe0e4b407302ff66f853b49c
2013-06-03 22:59:28 +02:00
f30399c540 Revert "fdo#46808, Convert chart2::Title service to new style"
This reverts commit d256dbede60533369d1aac64cca34721183f6a8a:

For one, the new css.chart2.XTitle2 looked unfinished, in that it transfered the
direct properties of the old-style css.chart2.Title service into attributes, but
left out all the properties inherited by the old-style service from
css.style.ParagraphProperties, css.drawing.FillProperties,
css.drawing.LineProperties (and that missing FIXME css.layout.LayoutElement,
whatever that is supposed to be).  This needs more thought, to either make
available all propertiers as attributes, or none.

For another, this broke JunitTest_chart2_unoapi (sch.ChXChartDocument,
sch.ChartTitle), for hard-to-debug reasons.

Conflicts:
	chart2/source/model/main/Title.cxx
	chart2/source/model/main/Title.hxx
	offapi/com/sun/star/chart2/XTitle2.idl
	sc/source/filter/inc/xlchart.hxx

Change-Id: I4747208a13984904d0e409ea49a73b0f667c86c7
2013-05-23 10:39:21 +02:00
d256dbede6 fdo#46808, Convert chart2::Title service to new style
API CHANGE: The chart2::XTitled interface now takes and returns
   a XTitle2 instead of an XTitle.

Change-Id: I96c35909d3a13f1abb544296a782a0b6a7a58ec6
2013-05-21 08:24:01 +02:00
5d1ad16729 fdo#46808 Convert chart2::FormattedString service to new style
API CHANGE: dropped the following services from the new unified
interface because the current service does not implement them.
    service ::com::sun::style::CharacterProperties;
    [optional] service ::com::sun::style::CharacterPropertiesAsian;
    [optional] service ::com::sun::style::CharacterPropertiesComplex;

Change-Id: I7cb6a5d4e998975b1272f4f4da03feea30cd30b6
2013-05-13 09:38:03 +02:00
2ce25faffd fix typos (wich instead of which) 2013-05-06 20:07:23 +02:00
3ba4b5a907 remove this property temporarily until I understand the exception
Change-Id: I74a4dfcebd61ca1b6befa9f49214e4155ce0bd34
2013-04-29 00:15:00 +02:00
b3bf16a5c4 fix a problem with error bar weight
Change-Id: I812bbcdc346bffd2f0c968077a3fe86a241cf231
2013-04-24 12:17:48 +02:00
4b520d2ee8 protect the properties with a mutex
Change-Id: Iaf9752cc3abd7ac1b3b569928368dcb0a4d6a197
2013-04-24 12:17:48 +02:00
97c6d4b050 fix type mismatch
Change-Id: I5f8ae075c01cd78c38e6ab17a3f2c0b999c65012
2013-04-22 13:57:32 +02:00
4475e4f3d9 more work on getting the error bar export produce valid docs
Change-Id: I19189e6be83dde58b4b3b7b55f40b701818eceed
2013-04-22 13:57:31 +02:00
4a4bdc142a fix the remaining issues with the changed handling of ErrorBar props
Change-Id: I75c839cbfccbe84e7aa98aef6959bcd0c5390ab6
2013-04-22 13:57:31 +02:00
cabb933bc2 make the properties in the error bar case explicit
Change-Id: I967de121418832e3a12b1b1641fb4203c3df05e2
2013-04-22 13:57:31 +02:00
0f200cc30e fdo#63154: Change Min/Max/Abs for std::min/max/abs
Now all these usages were removed from LO.

Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 11:09:54 +00:00
3f3980ff24 Some cppcheck cleaning
Change-Id: I425ed98a721ded162c2ae08d145aaa9dbf548632
2013-04-07 22:18:57 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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-04-07 14:23:11 +02:00
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
afa1e9952e some little code clean-up
#

Change-Id: Ifbb754ce7ebe34b69a803f88b02a1e31bd21248f
2013-04-01 20:48:52 +02:00
aa46348777 remove C2U in chart2
Change-Id: Id7ebf66319f0891d276a3da95a95658aed59cbc7
2013-03-25 16:14:02 +01:00
6dddefc6e7 fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09 21:47:31 +01:00
3eff5baefc Remove empty namespace
Change-Id: Ie3bfc58d56201117a55468d505a25ac95ad86f06
2013-03-04 13:01:51 +01:00
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
ecf0040337 loplugin: improve indentation
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
2013-03-03 17:14:15 +01:00
405caad685 loplugin: unused variables
Change-Id: I46a748bf2c54d15c0f5718901197f3b4c34b82bf
2013-02-25 03:14:00 +01:00
d05287a9f1 RTL_CONSTASCII_USTRINGPARAM removals
Removed all occurences of RTL_CONSTASCII_USTRINGPARAM in chart2.

Change-Id: I0ab188e2d67a5fc17a3653e5213031f6e2c2581d
Reviewed-on: https://gerrit.libreoffice.org/2244
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-20 22:58:20 +00:00
d1ba2cd612 do not access vector elements beyond size, rhbz#847519 related
The actual bug (crash) is not triggered anymore because the categories
are assembled differently, nevertheless the code in question could
expose the same behavior under different preconditions.

Change-Id: Ic37f6b34effaf4e5252e80aab46b021547b36efb
2013-02-19 22:42:02 +01:00
b0cc48440d chart2: try to make MSVC happy with OUString
Change-Id: I4c5a9572e897aa12aad3a8eb5797e4bca2f036cf
2013-01-30 19:48:28 +01:00
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
f6c759a6e5 fdo#46808, Adapt chart2::data::LabeledDataSequence UNO service to new style
Change-Id: I98bfbc8e143b9ad9d486f97380186fde9b4423ec
2013-01-15 09:56:01 +02:00
aea18e985e fdo#57950: Remove some chained appends in chart2 and more
Removed a not needed variable;
Removed some rt:: prefixes

Change-Id: I24a7a0c5adcee17eab4c9d6442b472a5992f261e
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1549
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-07 13:59:02 +00:00
4b9740b4ec Remove duplicate defines and put it into a common place.
Change-Id: I55415985f37970e4d1ba8605e6d22c45198fe19f
2012-12-08 00:04:38 -05:00
82949bd170 Class MediaDescriptorHelper doesn't need virtual destructor.
Change-Id: I6711ef712a8a04d6fc8991f7056d1440964832ef
Reviewed-on: https://gerrit.libreoffice.org/1220
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2012-12-01 21:36:05 +00:00
90227b15f0 chart2: replace use of deprecated UserDefinedAttributeSupplier
... with UserDefinedAttributesSupplier

Change-Id: Ib289aaae114d89238a665d0a58eda6fa8d0c482b
2012-11-29 21:24:20 +01:00
af60316514 some i18n wrappers with LanguageTag
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00
feec7a873f use LanguageTag
Change-Id: I3057ceee83c8ac3e88d0358f3de44d36fb1cde6f
2012-11-17 02:28:14 +01:00
9e716494a8 fix some VS 2010 specific issues
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82
Reviewed-on: https://gerrit.libreoffice.org/914
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-28 18:09:02 +00:00
fad417fe49 Prevent so many copying of vector instances.
Change-Id: I2d74fe70411fb1a12387458d170a4a6b603755a3
2012-09-24 21:22:18 -04:00
8baaff5c79 fdo#55298: We should only treat empty values as continuation of previous ones.
For better Excel compatibility.

Change-Id: I3bc44f65127d3f020894dc29e5c6549bb257f218
2012-09-24 19:26:41 -04:00
3a36408b73 fdo#46808, Adapt util::NumberFormatter UNO service to new style
Create a merged XNumberFormatter2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03 15:55:06 +02:00
a581d31b22 Highlight X errorbars data range when a chart is selected.
Change-Id: I90b4f71fb74da59c6c578ccd0e9b62f14620d4e6
2012-08-24 12:48:40 -04:30
515ceca515 chart2: merge component files for new chartcore library
Change-Id: Id7cc969d854a98e9bd32fd396eb82ae92a06ba80
2012-08-06 13:10:58 +02:00
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
7b6b71ce14 remove bunch of obsolete looking .flt files
Change-Id: Ic3d45afca14d0bebfb6168b6cf6fc6c618754183
2012-06-22 22:39:33 +02:00
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
f7ebee38a3 removed dead code
Change-Id: I02e535f0a0e55446e5a29297c2d05b1503805e71
2012-06-06 00:59:23 +09:00
24c260a271 Unify ODF extended vs. ODF1.2 handling
Make "export extended ODF" consistently mean "version > ODF1.2".
Future ODF versions need manual review anyway, of the various
changes/additions we ship.

Change-Id: I0f6c1646b306e18f0abcdd1a1802fece821b2e93
2012-06-05 05:10:57 +02:00
4139e6a208 target cppcheck index incrementing revert
Change-Id: I890dfe9fbd7b5a850daaa0d2b4d5040a5ddbefd7
2012-05-31 14:58:05 +01:00