5970 Commits

Author SHA1 Message Date
Caolán McNamara
52235d4a74 coverity#707787 Uninitialized scalar field
Change-Id: Id23ef57395f63a7a3f5df64bd470f8053ceed35e
2014-02-06 15:11:57 +00:00
Caolán McNamara
db9f44dee3 coverity#707789 Uninitialized scalar field
Change-Id: I4eb999220ca4e0134c15214504bd7c6e6e143479
2014-02-06 15:11:54 +00:00
Caolán McNamara
48ca6aeda3 coverity#707791 Uninitialized scalar field
Change-Id: I85cbe3d93559e65291c8ff0949bb80d6f595e4b9
2014-02-06 15:11:54 +00:00
Caolán McNamara
53073c951f coverity#707792 Uninitialized scalar field
Change-Id: Ifcf2e899b7686f183b52b95f6f4ad334c17295b0
2014-02-06 15:11:54 +00:00
Caolán McNamara
fd3473d225 coverity#707803 Uninitialized scalar field
Change-Id: Icd57bd3cd80f85e17d306bed4e541ce5827d92c0
2014-02-06 15:11:53 +00:00
Caolán McNamara
1654b7f31d coverity#707804 Uninitialized scalar field
Change-Id: Ic949e85493f349d9ce36af5333a2cfbd63aad79a
2014-02-06 15:11:52 +00:00
Caolán McNamara
25a893d171 coverity#707805 Uninitialized scalar field
Change-Id: Ie08f92fbdca3048a7ac0721f058300ee364f1998
2014-02-06 15:11:52 +00:00
Caolán McNamara
7ac848c905 coverity#707806 Uninitialized scalar field
Change-Id: I20b5bd30e9bc4e881e2d9b5176f6f1cc6c1aabbd
2014-02-06 15:11:51 +00:00
Zolnai Tamás
07eb648d82 Remove some extra break
Change-Id: I55405c748d67101ecef8ef8a52037a26bc52b9f6
2014-02-05 10:48:38 +01:00
Noel Grandin
186b4ebc99 convert specialised SvStream::operator>> methods to ReadXXX methods
as preparation for converting the SvStream::operator>> methods on
primitive types

Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9
Reviewed-on: https://gerrit.libreoffice.org/7798
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-04 22:50:39 +00:00
Thomas Arnhold
326bec33e0 some more continuous corrections 2014-02-03 14:01:40 +01:00
Andras Timar
ed69dd79ff convert OOODEBUG to SAL_INFO
Change-Id: I63a990dca554c9defd4f168fa250ebc1685baafd
2014-02-03 10:48:25 +01:00
Zolnai Tamás
5c39b6b997 drawingML export: custom geometry with cubic bezier curves
When the custom shape is not a preset shape then construct a
PolyPolygon and use DrawingML::WritePolyPolygon() to export it.

Change-Id: I6598976a475bfcb92305338af9016e09df4c9456
2014-02-03 02:46:30 +01:00
Julien Nabet
ea2c7385fa cppcheck: redundantAssignment
Change-Id: Iaa022b904fbde66ef65364cb675386057619455d
2014-02-01 21:56:14 +01:00
Norbert Thiebaud
72edfcdc90 coverity#1000862 : Uninitialized scalar field
Change-Id: Ife99bf91d569e8ee8cac41980112101c0e3e6127
2014-01-29 23:36:53 -06:00
Norbert Thiebaud
75a617a72a coverity#1000863 : Uninitialized scalar field
Change-Id: I2f518a76641de0e75b75306f351caa11712b14ac
2014-01-29 23:36:53 -06:00
Matúš Kukan
79a532c1be -Werror=maybe-uninitialized
Change-Id: I696dc966bce7a19d0de898fc107aa29784011bb4
2014-01-29 19:18:08 +01:00
Caolán McNamara
a701b7dead coverity#1157789 Division or modulo by zero
Change-Id: I7c6fc34702acce21759dad00626ff4ffcd0ced95
2014-01-29 15:21:06 +00:00
Caolán McNamara
ca1c17d7e5 coverity#1157791 Division or modulo by zero
Change-Id: I6b46a037b0d5f13681ad4936ddd56fd80c8128fb
2014-01-29 15:21:05 +00:00
Caolán McNamara
fe89615fd2 coverity#1000696 Out-of-bounds access
Change-Id: I4e69c7f5e45882238c4cc27244f38b81c87780e2
2014-01-29 10:57:22 +00:00
Caolán McNamara
19aa235feb nRetValue was a reference, nRetValue->rRetValue
Change-Id: I0516bc22274a3bdba54246613c9925d3f2a67c44
2014-01-29 10:57:22 +00:00
Stephan Bergmann
20287a82c5 Needless casts sal_uInt8 -> sal_Int8 -> sal_uInt8
Change-Id: I2d55c4e088cf17183ededa0719b3bdcba5baba23
2014-01-29 10:29:46 +01:00
Bryan Quigley
aeeaccf59a Remove OOo1.0 file formats from Save As.
List discussion: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html

Change-Id: Iea7e5d9ed8f0e48ffce4504bfaaf0d41067c7a5d
Reviewed-on: https://gerrit.libreoffice.org/7489
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2014-01-29 03:37:58 +00:00
Stephan Bergmann
f0dc6cda75 bool improvements
Change-Id: Ib0f16e57ce84a40412fd95bffd4f41a113810a96
2014-01-28 20:24:40 +01:00
Caolán McNamara
677a42301e coverity#705167 Missing break in switch
Change-Id: Ia87d4dce6780ce1f69b031599c1a211436f4f819
2014-01-28 16:55:18 +00:00
Thomas Arnhold
61cb4a8e95 some more CMYK -> CYMK 2014-01-25 09:54:45 +01:00
Jacobo Aragunde Pérez
4f3012fc05 ooxml: Fix incorrectly named shape type in translation table
Change-Id: Iad49c54e29afb4a5fa0198d5300ca63dcb360874
2014-01-24 18:17:41 +01:00
Rohit Deshmukh
f1ec5dcfca fdo#69616: Fix for VML part missing for group.
Cause:
 - In altenrate content, Fallback contains only group tag.
Implementation:
 - Added export logic in Vml export.
 - Added unit test case for vml group.

Change-Id: Ia1c9834950528dc892caea1cb675a7f42165d9ba
Reviewed-on: https://gerrit.libreoffice.org/7276
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-01-24 08:43:08 +00:00
Caolán McNamara
2c31a03f7c coverity#1158490 Uninitialized scalar field
Change-Id: I03fd7aeea00a1998f4e281a7561f5d43672e9ccf
2014-01-23 16:02:12 +00:00
Tor Lillqvist
976ccb9374 Typo
Change-Id: Id95e261bdd5b34e1c412f2a7be39f8cc4a89ead7
2014-01-23 17:48:54 +02:00
Maxim Monastirsky
cc2893834d related: fdo#73682 Introduce HTML detection service
Change-Id: I66bb579019ce8411b821c623955a454fd81cf811
Reviewed-on: https://gerrit.libreoffice.org/7600
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-01-23 14:49:22 +00:00
Noel Grandin
d803483f6a convert more SvStream::operator<< calls
.. to more explicit SvStream::Write* calls
This was done using another run of the clang rewriter, and then
a lot of hand tweaking to fix all the places where the rewriter
did not play nice with various macros.

Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18
Reviewed-on: https://gerrit.libreoffice.org/7494
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-22 22:00:39 +00:00
Stephan Bergmann
89cd19fdcb bool improvements
Change-Id: I65ad52e4dee12a94d48ff0f5858e29df7f8d9721
2014-01-22 11:39:20 +01:00
Stephan Bergmann
a3f32769fc Fix bogus mass-conversion equalsAsciiL -> startsWith
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to
startsWith calls" should rather have converted to oprator ==.

Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-21 15:54:52 +01:00
Alexandre Vicenzi
8bb8187016 Removed unused solar.h reference in filter
Change-Id: Ieffee3f06a12836b8a01dcebe2a6dc097b35dde9
Reviewed-on: https://gerrit.libreoffice.org/7520
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-20 21:33:34 +00:00
Markus Mohrhard
40cc36a2e7 fix the build 2014-01-19 18:20:50 +01:00
Markus Mohrhard
d8239d0b03 CID#705650: fix memory leak 2014-01-19 18:15:49 +01:00
Stephan Bergmann
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
Bryan Quigley
17f39da974 Make Flat XML document name consistant with ODF
List discussion: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html

Change-Id: I4ddaa7adcffefbedab895f5e94eb6bd92201386e
Reviewed-on: https://gerrit.libreoffice.org/7488
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:33:13 +00:00
Bryan Quigley
7a14419439 Make text choose encoding
See thread here: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html

Change-Id: I1de7c24f8be8a7d1142275311f94b6e4e7800229
Reviewed-on: https://gerrit.libreoffice.org/7487
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:31:59 +00:00
Fridrich Štrba
450f432855 Make all UIName localizable for filters
Change-Id: Ie5c597f950c344a25c97aa990536ef66b001f41e
Reviewed-on: https://gerrit.libreoffice.org/7492
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-17 08:31:29 +00:00
Fridrich Štrba
4469a9c3e1 Make UIName of filters from writerperfect module localizable
Change-Id: I63974d71c8aa8b4b3ede8272fd0467fa0026b1ff
Reviewed-on: https://gerrit.libreoffice.org/7491
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-17 07:01:21 +00:00
Stephan Bergmann
62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
Marcos Paulo de Souza
eeeefd6fd8 fdo#54938: Convert filter to cppu::supportsService
final part

Change-Id: If9387b4f7aa8ca694092f51eabeac096c71347eb
2014-01-16 10:26:04 +01:00
Fridrich Štrba
838c888949 Uploading libabw-0.0.1 (support of zabw files too)
Change-Id: Ie04cae9b9a362cb43b671fe8986545865822a953
2014-01-15 15:25:06 +01:00
Miklos Vajna
6e216adedd filter: audit customshape type -> drawingML preset shape table
It turns out that this table contained entries which are not valid
drawingML preset shape names.

Invalid entries are now either have a valid name instead (based on the
oox/source/export/preset-definitions-to-shape-types.pl mapping, which
already tries to map VML shape ID's to drawingML preset strings), or in
case I found no mapping there, the entry is now simply commented out.

It's still better to fall back to export a shape as a rectangle than
corrupting the whole document.

Change-Id: Ic2d8926e5819f3312aaca55d50a1492332e52a9d
2014-01-15 15:04:36 +01:00
Stephan Bergmann
058324532e bool improvements
Change-Id: I4733554d3329525516511bbd60b9ad3fabc12be0
2014-01-14 21:28:06 +01:00
Stephan Bergmann
2dbed8bc8b Be explicit when using bool as integral value
Change-Id: Ia55702e1ce7ca153de6e82abfce731bb8fc21977
2014-01-14 21:28:06 +01:00
Caolán McNamara
eded6f1960 longparas: expand STRING_LEN to text length locally
Change-Id: I9ffdabdc44677033d8c8ac1b025ccb7c600db664
2014-01-14 10:53:28 +00:00
Stephan Bergmann
8c000c1f38 Fix conversion from MS-ODRAW gtextSpacing to SvxCharScaleWidthItem
... i.e., from 16.16 FixedPoint with default value 0x00010000 to percentage.  At
least that is what I assume the odd code that looked like that since its
inception in f90ea7408ebbe2a2d53e94f1dc16d0e3623f59d8 "INTEGRATION: CWS sj09"
was acutally supposed to do.

Change-Id: I482fb3c1d00757b2f18c587bbb6b4a6755392d2f
2014-01-14 11:44:10 +01:00