Commit Graph

3784 Commits

Author SHA1 Message Date
jailletc36
4ece397f21 cppCheck: Remove some 'redundantAssignment'
These iterators are already assigned with the same value a few lines above.

Change-Id: I4051db7599824cf407af9ec91ef8f6633467ea36
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/938
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-30 16:51:05 +00:00
David Ostrovsky
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
Noel Grandin
fb741b5e1e fdo#46808, Adapt xml::sax::XWriter UNO service to new style
Create a merged XWriter interface for the service.
The xml.sax.Writer service already existed, it just did not have
an IDL file.

Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22 17:01:11 +02:00
Kohei Yoshida
4b313fd566 Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-19 11:45:36 +02:00
Kohei Yoshida
ac7acb0ab1 Merged SvTreeListBox and SvLBox.
There is no reason to keep SvLBox separate.

Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-11 23:35:15 -04:00
Olivier Hallot
8f14c8a611 OUString cleanup in Chart2
Include C2U macro and rtl prefix

Change-Id: If930f77179dbf24d43f10a344b68edcf968f7304
2012-10-08 21:41:49 +05:30
Olivier Hallot
33bea955ca OUString cleanup in Chart2
Include C2U macro and rtl prefix

Change-Id: I01c3224bc21a7f8a03a8562191fbc161032f2a1d
2012-10-08 21:41:41 +05:30
Olivier Hallot
d812cee7cb OUString cleanup in Chart2
Include C2U macro removal and rtl prefix

Change-Id: I3de75446e53618862e50c69382a7ddaf0d482fa7
2012-10-08 21:41:25 +05:30
Olivier Hallot
1e34ec4c18 OUString cleanup in Chart2
Include C2U macro and rtl cleanup

Change-Id: I4543a3a6d6a6971d2c31b8dc36bd2ec95bd892d4
2012-10-08 21:41:03 +05:30
Peter Foley
b5bc775723 fix chart2 build with VS2012
Change-Id: Ieae76bfd0a3f9612c0bb573029912d5c6efa6add
2012-10-07 10:42:13 +02:00
Noel Grandin
c69280ab4e sal_Bool -> bool in chart2
Change-Id: Idba76b64746fb1eec0a723a9fcbac025eda3d9a1
2012-10-04 21:29:32 +02:00
Noel Grandin
9ee020af1c sal_Bool -> bool in chart2
Change-Id: I60f2ead9986afb13157ac9e6a394ff02bcf4de6f
2012-10-04 21:29:32 +02:00
Markus Mohrhard
1ca1a7aa99 limit polynomial degree in the dialog, related fdo#46100
Change-Id: If49db1a503548103dcf605cc1c2d8064cdd2d5b2
2012-10-04 20:19:13 +02:00
Markus Mohrhard
e1dee0aaac limit degree for b-spline to 15 to prevent std::bad_alloc, fdo#46100
Change-Id: Ib801c6af84b52ed093be2ba5eba902513bfa4070
2012-10-04 19:57:38 +02:00
Noel Grandin
a20f9a410f fdo#46808, Adapt xml::sax::XParser UNO service to new style
The xml.sax.Parser service already existed, it just did not have
a new-style service to create it.

Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04 16:29:53 +02:00
Noel Grandin
307ecf719f UniString->OUString in chart2
Change-Id: I8fb6593ebabb38d0656a35fd95d663547e6a9e29
2012-10-02 14:57:21 +02:00
Arnaud Versini
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Caolán McNamara
2f002e3a49 having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel

Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-28 08:48:39 +01:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Kohei Yoshida
fad417fe49 Prevent so many copying of vector instances.
Change-Id: I2d74fe70411fb1a12387458d170a4a6b603755a3
2012-09-24 21:22:18 -04:00
Kohei Yoshida
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
Kohei Yoshida
b174048ebd fdo#55297: Fix regression in chart complex category placements.
This is effectively a revert of a769fd1ec0
and a1be31fd8b which unfortunately caused
regression in complex category placements.

This unfortunately re-introduces fdo#44832. We need to re-think how to
fix that one without breaking the multi-level category feature.

Change-Id: I1ed8364a46174ac6c29aa0b027a33f84bcca51fa
2012-09-24 19:15:25 -04:00
Kohei Yoshida
f188ca44d8 std::auto_ptr is deprecated.
For this usage, boost::shared_ptr is probably an appropriate replacement.

Change-Id: I89bea80d330f362e60af4ce66a23316d0029e0d8
2012-09-20 17:39:46 -04:00
Kohei Yoshida
526c2b3c01 Unused local variable.
Change-Id: I67fea6c4749b2c69868132bacd761e90933ed84b
2012-09-20 17:30:30 -04:00
Kohei Yoshida
707bedff4f More cosmetic cleanups.
Change-Id: I78a461609bc85cff3cc44dcdf993b16c0a1e37b1
2012-09-20 17:28:42 -04:00
Kohei Yoshida
454e2b4d65 Some code cleanups...
Change-Id: I9b771bb9b57ba107e6dadb7cf85d44815f487261
2012-09-20 16:39:42 -04:00
Norbert Thiebaud
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
Julien Nabet
a579ad2c08 Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ia6a14d2365fe0a31892517387035e4ebec1f25eb
2012-09-15 13:18:35 +02:00
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
Noel Grandin
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
Stephan Bergmann
176f0de1d4 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I273139d60a9940a009d6917439fe10783db1ac0d
2012-08-31 09:04:14 +02:00
Noel Grandin
206c70eef3 fdo#46808, Adapt TempFile UNO service to new style
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
Noel Grandin
170cfbc625 fdo#46808, Adapt document::DocumentProperties UNO service to new style
Change-Id: I19015d3e3e9aa6e4b3b4bb011183c73ab00365ca
2012-08-27 15:40:07 +02:00
Noel Grandin
f789715a41 fdo#46808, Use factory methods for frame::DispatchHelper instances
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
2012-08-27 15:40:06 +02:00
Rafael Dominguez
a581d31b22 Highlight X errorbars data range when a chart is selected.
Change-Id: I90b4f71fb74da59c6c578ccd0e9b62f14620d4e6
2012-08-24 12:48:40 -04:30
Artur Dorda
0e38825ddf Working version of XShapeDumper
Change-Id: I4f4d37abdb1865d0bc05f01518d854872235121f
2012-08-15 13:42:10 +02:00
Joseph Brown
84a219020c fdo#51695 Check for Textformat
Numbers shouldn't be in NUMBERFORMAT_TEXT, but it can happen.  When it does, IsNumberFormat call fails even when a number is entered.
Also reordered other check logic and removed unused code.
1st2be@gmail.com -- Joseph Brown

Change-Id: Icabd8b33b634c324302a970e137f8d74a2c20caf
2012-08-14 16:36:55 +02:00
Julien Nabet
88840a796e Remove unused local vars
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-11 10:25:54 +02:00
Michael Stahl
515ceca515 chart2: merge component files for new chartcore library
Change-Id: Id7cc969d854a98e9bd32fd396eb82ae92a06ba80
2012-08-06 13:10:58 +02:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
Michael Meeks
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
Stephan Bergmann
4dd7c0369d Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
2012-07-18 08:23:28 +02:00
Christophe JAILLET
df645a2bd8 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: I01ca30c68228f81b3d313dfca5b975448f3c4fc7
2012-07-16 11:33:05 +01:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Markus Mohrhard
5b6123e977 also remove the libxml2 include from chart2
all xml related dumper code is now in drawinglayer/source/dumper and no
longer in chart2

Change-Id: I4197774c0ef62606e8f32e47e3fbda0a0de32ae0
2012-07-13 23:33:38 +02:00
Markus Mohrhard
f1139806e5 Merge branch 'feature/gsoc_test_improvements2' 2012-07-13 21:16:54 +02:00
Artur Dorda
4024d14610 Restructurization of XShape- and EnhancedShape- dumpers, builds fine now
Change-Id: I57e230f5b2aff8cd6818b38776ae0b0b0d614d61
2012-07-12 03:10:14 +02:00
Artur Dorda
ea18a422cd Working version of XShapeDumper
Change-Id: I4f4d37abdb1865d0bc05f01518d854872235121f
2012-07-12 03:10:00 +02:00
Artur Dorda
16b57ee7cc Unfinished dumper code
Change-Id: I353c93498c2e0cc8fd4450f0348dfceedb763b51
2012-07-12 03:09:59 +02:00