Commit graph

354804 commits

Author SHA1 Message Date
David Delma
b2713a4023 add French Mali [fr-ML] locale data, fdo#79349
Change-Id: I66194c0604d842f5fcce3da9cdf23f56932ede41
2014-06-02 20:33:38 +02:00
Eike Rathke
aa52f96089 add French (Côte d'Ivoire) [fr-CI] to language list, fdo#79348
Change-Id: I4041fe39c1a1186e381526ae5f806efb7e56dce0
2014-06-02 20:33:36 +02:00
Eike Rathke
f840848181 derive all [fr-CI] locale data from [fr-BF], fdo#79348 related
Using ref=... spares all the data duplication.

Change-Id: Ibb8339f766e27350d7f0466842590ada63f784c2
2014-06-02 20:33:35 +02:00
Eike Rathke
61b3df6b4c add [fr-CI] to libs, fdo#79348
Change-Id: I694057f4f9d62b5274da2cd82d52db9e1fade5e5
2014-06-02 20:33:33 +02:00
Eike Rathke
529c323456 use uppercase LCID, fdo#79348 related
Change-Id: I5e9846c50783cf4944675bd568fa5b837cb200f0
2014-06-02 20:33:32 +02:00
David Delma
03ee242870 add French Ivory Coast [fr-CI] locale data, fdo#79348
Change-Id: I5ff8279051d822a2c6932a81b5179a88ed5453cc
Edited: added license header and indentation.
2014-06-02 20:33:30 +02:00
David Delma
dd17adc592 update French Burkina Faso [fr-BF] locale data, fdo#79347
This is a prerequisite to use ref='fr_BF' later on other yet to be added
fr_*.xml locale data files from fdo#[79348-79353]

Doubts lined out in
https://bugs.freedesktop.org/show_bug.cgi?id=79347#c3
can be addressed later.

Change-Id: I5cd5a199d0fc2e833227997d5c353e17a7fbbbff
2014-06-02 20:33:29 +02:00
Miklos Vajna
6092e2eba3 fdo#79384 RTF import: allow { without } in style names
This is not valid, but LO 3.4 supported it, so add a workaround...

Change-Id: Ib8eefdf41fe9801db6f7e5873eaa1436518912fb
2014-06-02 20:29:00 +02:00
Miklos Vajna
c7c14abfd8 xmloff: fix import of tables inside textboxes inside shapes
We already had the concept of having a XML_TEXT_TYPE_SHAPE type (for
editeng-based text) and a XML_TEXT_TYPE_TEXTBOX (for Writer-based text),
but in case of draw:custom-shape, the previous was always assumed,
implicitly.

Check if the shape is marked as having a textbox, and if so, use the
XML_TEXT_TYPE_TEXTBOX handler, which makes e.g. the table import work.

Change-Id: I45f28b36df1836eeba89e9eef44c7abd87fcbd56
2014-06-02 18:21:32 +02:00
Caolán McNamara
eea173edaa coverity#704885 Unchecked dynamic_cast
Change-Id: I748a73523b6b1908d89663e90f7cab378920110d
2014-06-02 17:00:00 +01:00
Caolán McNamara
09188ebfc4 coverity#706959 Uncaught exception
Change-Id: I6b18bd2df7ef190b39ceacd625bf2b62a53892fa
2014-06-02 17:00:00 +01:00
Caolán McNamara
12402d2503 coverity#707427 Uncaught exception
Change-Id: Ic381e74ffd862ab4d94f9d3ada02af05b30e6484
2014-06-02 16:59:59 +01:00
Caolán McNamara
778b8ea885 coverity#707428 Uncaught exception
Change-Id: I7e30f163743fc6bd05b5e795b299a76e0c51d8c0
2014-06-02 16:59:59 +01:00
Caolán McNamara
ade1049186 coverity#707430 Uncaught exception
Change-Id: I56269273b20ac48fca5a2abeb2ba2cbf7d1da0c8
2014-06-02 16:59:59 +01:00
Caolán McNamara
630d481210 coverity#1213461 Uncaught exception
Change-Id: I4c0a28ea11e0d38837a3b338928073d32d2b6abe
2014-06-02 16:59:59 +01:00
Caolán McNamara
074079b909 coverity#1219786 Dereference after null check
Change-Id: I95608ce08b9fffada10bc1a1f6903b50aa78fe9a
2014-06-02 16:59:58 +01:00
Caolán McNamara
6fa618722e coverity#1219793 Uncaught exception
and hopefully a gadzillion others

Change-Id: I853e997aa6510ed99c1af39eecfd80dba2d5c2a9
2014-06-02 16:59:58 +01:00
Caolán McNamara
a4e5020f89 coverity#1219792 Uncaught exception
Change-Id: Ibbcfb5cda4ce4f23f80ef4ba610e4fda6f8df41f
2014-06-02 16:59:58 +01:00
Caolán McNamara
a921f41a26 coverity#1219795 Uncaught exception
Change-Id: I24f5abd0e0b28c11c22c7871e10f42abb9908775
2014-06-02 16:59:57 +01:00
Caolán McNamara
d9e7a359ef coverity#1219797 Uncaught exception
Change-Id: I597fb90d677e7cade71bf6cbf7f7bce9d3bd05f6
2014-06-02 16:59:57 +01:00
Caolán McNamara
4957262473 coverity#1219799 Uncaught exception
Change-Id: Id1903def4869bccef18f8a1132521d4f24fed551
2014-06-02 16:59:57 +01:00
Caolán McNamara
f630705f09 callcatcher: update unusedcode
Change-Id: I73ff045699113778892db6a534433a70e0e9c8e1
2014-06-02 16:59:56 +01:00
Caolán McNamara
cec90913e8 coverity#1219805 Uninitialized scalar field
Change-Id: I1b4343f06118b352df8ceac0404b9ffff39e8b67
2014-06-02 16:59:56 +01:00
Caolán McNamara
e2cb56e852 fix debug=2 build
Change-Id: I46b7bdfe4c467d52c9304ee880d74c7d88779b43
2014-06-02 16:59:56 +01:00
Stephan Bergmann
226e242bb7 Revert needless modification of published UNO API
This reverts the part of 4452ac2322 "Fix hungarian
prefix for calendars" that needlessly changed a method parameter name in
published UNO API, which is, strictly speaking, incompatible.

Change-Id: Icd1ee34d200ebab01010d5dd35a1b19c47bfc05a
2014-06-02 16:15:49 +02:00
Takeshi Abe
67577e8f6e Avoid possible memory leaks in case of exceptions
Change-Id: If1057871aa7c9e7079ed051e6854c77c81f12292
2014-06-02 22:59:09 +09:00
Stephan Bergmann
f87859b88f Fix memory leaks in test code
Change-Id: Ifa756a5da636e0b37654ad83900115872bc40f0e
2014-06-02 15:45:28 +02:00
Stephan Bergmann
7e4a51ee50 Use boost::hash_value to avoid undef conv of neg/large floating -> size_t
Change-Id: I85853ffc6083d46c02c08f14d5d3321803c31301
2014-06-02 14:46:04 +02:00
Thomas Arnhold
3038794d2e basic: typo
Change-Id: I10c9e480a94a966dac4f6c17fc69fa8892c56955
2014-06-02 12:04:31 +02:00
Christian Lohmaier
3d67e273cf don't limit the 0 → 1 replacement in release to deb
since there are rpm-frontends that do their own version comparison that
is different from rpm itself.

Change-Id: Iddf38c14e7f48eec5d043de57e3404fcd9da24f7
2014-06-02 11:50:17 +02:00
Miklos Vajna
8007579865 SwTextBoxHelper: take care of position after a CustomShapeGeometry change
This is required by the ODF import, as that sets the CustomShapeGeometry
after setting other properties (like Transformation, which includes the
position/size).

Change-Id: I299a1b302d55b3753a0a6b2142ea173f5f134b39
2014-06-02 11:40:03 +02:00
Stephan Bergmann
6b4c596b01 Fix memory leak for BASIC sub (as well as void function)
d88593af59 "INTEGRATION: CWS ab34: #i73457#
Prevent sub from beeing set as param 0 for return type void" to fix i#73457
"Memory Leak in all Basic type void Method calls" had made the PutDirect call
dependent on != SbxVOID only (which would cover void functions) but not also on
!= SbxEMPTY (which would apparently be required to also cover subs, as seen with
CppunitTest_basic_vba run under lsan).  Either this was an oversight with the
original fix, or subs have meanwhile changed from GetType() == SbxVOID to
SbxEMPTY?

Change-Id: I3e5dbf79bfd5eea3cfec8ed3fa984d13167aa501
2014-06-02 11:12:11 +02:00
Jens Carl
8e115c6008 fdo#68849: Add header guards to all include files
added header guards for directories basebmp/, chart2/, cppuhelper/,
include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/

Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6
Reviewed-on: https://gerrit.libreoffice.org/9615
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-02 08:46:30 +00:00
Miklos Vajna
9d310ecfce sw textboxes: implement ODF import/export
Map Writer shapes' new TextBox property to an loext:text-box boolean
attribute.

Change-Id: Ie47e15130adc1c480666c689c55a6c9e8460e385
2014-06-02 10:30:35 +02:00
Pallavi Jadhav
ef8293485a fdo#76934 : DOCX: Preservation: AutoSpacing property not getting preserved.
Issue :
	- In styles.xml, beforeAutospacing property was set to true.
	- In code LO grab bags AustoSpacing property using "ParaInteropGrabBag".
	- But ParaInteropGrabBag had only an entry for direct paragraph properties,
	  not paragraph styles.
	- Hence while importing AustoSpacing property from styles.xml, LO was throwing exception
          as "Some style properties could not be set: Unknown property: ParaInteropGrabBag".

	Implementation :
	- Added "ParaInteropGarbBag" entry for Paragraph styles in
          sw/source/core/unocore/unomap.cxx
	- Removed code from StyleSheetTable::ApplyStyleSheets() as it was previously added to
          "Ignore" the AutoSpacing property.
	  The code was previously added beacuse due to AutpSpacing in styles.xml,
          LO was throwing an exception and this was causing unhandling of properties after AutoSpacing.
	  So to prevent unhandling of other properties due to AutoSpacing property, a check was added to
          "Ignore" AutoSpacing, thus enabling handling of properties after AutoSpacing.
	  Please refer to : https://gerrit.libreoffice.org/#/c/8902/
	  But as now we have to "Preserve AutoSpacing" this check needs to be removed in order to set
          it in StyelSheetTable.cxx.
	- Added Export Unit test case

Change-Id: I6748f97befcdf40643e75388766e05740290306b
Reviewed-on: https://gerrit.libreoffice.org/9561
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-06-02 07:53:11 +00:00
Andras Timar
c0190efe9e restore 2 deleted lines in CREDITS
Change-Id: I9ffd868d72f38f2d15373ce19ed0023644f19ac4
2014-06-02 09:51:17 +02:00
Julien Nabet
acdff9f976 Resolves: fdo#79506 Some numbers are marked as translatable
Exception:
http://opengrok.libreoffice.org/xref/core/sd/source/ui/view/DocumentRenderer.src#55

Change-Id: Iecfe49b51ed68de00f1b5adfb5bca9fa793fb1f9
2014-06-01 22:34:03 +02:00
Matteo Casalin
dded2e2549 sal_uInt16 to size_t
Change-Id: Ia8795223224a6d2772f12ad41d7691517db80714
2014-06-01 20:20:00 +02:00
Matteo Casalin
63b902175b Avoid temporary OUStrings
Change-Id: I02f26228f0f9068ce7f497913fb36ac8945e785b
2014-06-01 20:20:00 +02:00
Matteo Casalin
2932e45b68 sal_uInt16 to size_t, constify
Change-Id: Ie864814c71a31aaf2b139641bac9bb720143abfe
2014-06-01 20:20:00 +02:00
Matteo Casalin
672ef15cd4 OUString: avoid temporaries and simplify
Change-Id: I1e131913991f0b28e55e54e8cc64ce37135be946
2014-06-01 20:15:44 +02:00
Matteo Casalin
2b81f3c28e sal_uInt16 to more proper types + minor optimizations
Change-Id: I8873a1ec910024b6fc25490891dc2e2c8d20d5d1
2014-06-01 20:15:43 +02:00
Matteo Casalin
b101ebff8e Group common code
Change-Id: I857366ca2fb6e0e0cb43ff12b161310eab5015f6
2014-06-01 20:15:43 +02:00
Matteo Casalin
9af0c596cc OUString: simplify, constify, remove temporaries
Change-Id: I7dbba6bfe9f44b28cdf62b1eb4da05eda696d0dd
2014-06-01 20:15:43 +02:00
Matteo Casalin
12324ca824 sal_uInt16 to more proper types, constify
Change-Id: Ic7d9f18e04429c5ccb7b0fad28f3e83aa199897c
2014-06-01 20:11:51 +02:00
Matteo Casalin
6e3b2014ee Don't re-iterate over string to get consecutive tokens
Change-Id: I502cc43c7419301ba0937e495172bc21b609f71a
2014-06-01 20:11:51 +02:00
Matteo Casalin
56ee353b89 OUString: avoid temporaries, plus minor optimizations
Change-Id: I5f55430ecca381aea87d6d12fc99d05cc97334da
2014-06-01 20:11:51 +02:00
Matteo Casalin
51a65d821d sal_uInt16 to more proper types, constify, minor optimizations
Change-Id: I37ccea7d87e6e2e818717ecd06c8738dea7bcf30
2014-06-01 20:11:51 +02:00
Matteo Casalin
6f29205b9d OUString: constify, avoid temporaries and concatenated appends
Change-Id: Ib1f6415dee8c3ffabf345f3e265d6beda652e159
2014-06-01 20:11:50 +02:00
Matteo Casalin
04b3c70d60 Use more proper integer types and constify
Change-Id: I7e51c1bc713f43bcd89bb6e5a098b2ced670681f
2014-06-01 20:11:49 +02:00