summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2014-03-11svx: sal_Bool->boolNoel Grandin
Change-Id: Ifd9279e7ccc671395caa1e6f3723e86062d2fb08
2014-03-11svx: sal_Bool->boolNoel Grandin
and optimise some methods in bmpmask.hxx - they were unconditionally returning true, so convert them to void return type. Change-Id: If8b092a857ab80ead93112b0d627e41d5ccb3cf9
2014-03-11svx: sal_Bool->boolNoel Grandin
Change-Id: I360b459102e61562b7cd1987545288d5ce8aed6b
2014-03-11editeng: sal_Bool->boolNoel Grandin
Change-Id: I7a7b5e9ae1762cace1f87b379b32398b231745fd
2014-03-10Fix compilation issueJacobo Aragunde Pérez
Change-Id: Iaba5159992463ff075b60092e6540b01604796eb
2014-03-11WaE: add explicit braces to avoid dangling elseTor Lillqvist
Change-Id: I8def1c7859359b76a1258db82776177d65346c05
2014-03-10ooxml: export combo box controlsJacobo Aragunde Pérez
Export combo box controls as <sdt> elements. Added unit test. Change-Id: I9eda25101240ec61f78ede0f0462d3ab8e77b09b
2014-03-10ooxml: preserve locale attribute in date controlsJacobo Aragunde Pérez
It is stored in the shape grab bag on import and saved back on export. Defaults to "en-US" if not present in the bag. Added a check for this attribute in the unit test. Change-Id: Ib9c74f120628dbfc5e035500424cbad8caed53fe
2014-03-10ooxml: preserve dateFormat for unchanged date controlsJacobo Aragunde Pérez
When saving a date control in a docx document, we were overwriting its date format with "dd/MM/yyyy" because it's tricky to support all the possible combinations. Nonetheless, there is no need to overwrite it if the date in the control remains unchanged during edition. We preserve the original date of the control, its date format and the formatted date string on import, and we compare the date in the control with the original one on export to check if we can write the old values or we have to re-generate them. Only in case the date has changed the format will be reset to "dd/MM/yyyy". We had to add an InteropGrabBag field to the XControlShape because it didn't have one, unlike other shapes. Unit tests were modified to check that the dateFormat field is preserved unchanged. Change-Id: I01e5c990e90ff190b5a6d7ea3853e049ff24ef0a
2014-03-10Bin a dead ifdefTor Lillqvist
Change-Id: Iaebfff208767ce5032f94676f180999720b20fae
2014-03-10sw: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann
Change-Id: I2cdc80489a1325a9c956dea4689fac1e9184df1b
2014-03-10coverity#708528 Uninitialized scalar fieldCaolán McNamara
Change-Id: I7b8f4a9802419a8fdee3f1b8ceca383f5ec4bf5d
2014-03-10coverity#708527 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ie1b3083d1efe3cc1101c499c09601eeaba1b28c5
2014-03-10coverity#708524 Uninitialized pointer fieldCaolán McNamara
Change-Id: I35c3e88d6dedabb58cc3e3831e2dbe53eba27959
2014-03-10coverity#708506 Uninitialized pointer fieldCaolán McNamara
Change-Id: I44d9a278bb2f08a8c71f28a9e175d0771cfd87ea
2014-03-10coverity#708500 Uninitialized pointer fieldCaolán McNamara
Change-Id: I736198caa19019e8fae5ce92e571c35084a233bd
2014-03-10coverity#708487 Uninitialized pointer fieldCaolán McNamara
Change-Id: I0e64ccc22b8f08c75a32e1a855e4b5f88494cdfe
2014-03-10coverity#708467 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ibff2bdae74f5403b55d93d944fd518a063adf72a
2014-03-10coverity#708871 Unused pointer valueCaolán McNamara
Change-Id: I10aa4e053f5f709144ef516c6c4a00df8d3a1f08
2014-03-10coverity#1130356 Unchecked dynamic_castCaolán McNamara
Change-Id: I1481729063c20b75841372363ab936154c989b3f
2014-03-10coverity#1130351 Unchecked dynamic_castCaolán McNamara
Change-Id: Ib0ae5dcd616c4a579f73fbd26675f8b2f60f0666
2014-03-10coverity#1103733 Uncaught exceptionCaolán McNamara
Change-Id: Ia6070a4a6d87929ba97df758e4e8972934bee128
2014-03-10coverity#1103682 Missing break in switchCaolán McNamara
Change-Id: I8006c1dbbc195dd68b7f537468418f69742f43a4
2014-03-10coverity#1103650 Unchecked return valueCaolán McNamara
Change-Id: I8c674269174a9e17d2195d1014f67aa7a81ba138
2014-03-10DOCX strict import: handle mathMiklos Vajna
Change-Id: I8b1419cb71ef67f91bfa532faa283204dae0e25c
2014-03-10DOCX strict import: handle lockedCanvasMiklos Vajna
Change-Id: I44c936a8972e1ae101aeab62ace61f4470d92b34
2014-03-10DOCX strict import: handle SmartArtMiklos Vajna
Change-Id: I8c45f3153eafe882f3d9ee3be533c3c0e673527e
2014-03-10DOCX strict import: handle chartsMiklos Vajna
Change-Id: I1933b3272ff735ae1ecb500fcd693e3ca99bf264
2014-03-10Fix error: file not found with <angled> include; use "quotes" insteadTor Lillqvist
Change-Id: I289291262f8b12a136beec084a51ca42cf0db105
2014-03-09sw: remove no longer existing include pathMiklos Vajna
Change-Id: I6884befcd6cef0f6bb24ae8e85fdb93dbed8df0f
2014-03-09this dir doesn't exist anymoreCaolán McNamara
Change-Id: Ie861b7db8a507177b330ade23e94771a0811c2f9
2014-03-09coverity#708474 Uninitialized scalar fieldCaolán McNamara
Change-Id: I0b9fe26b0a2de590042cd9f6e33e06f752d97f1d
2014-03-09coverity#708475 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ic5b4531bb9472b6e6b40f9080f1d748badc6f926
2014-03-09coverity#708456 Uninitialized scalar fieldCaolán McNamara
Change-Id: I040d49408581a128025d3b96b313f2c88981c250
2014-03-09coverity#708405 Uninitialized scalar fieldCaolán McNamara
Change-Id: I32e2b75ed0ee7c507e149eed97dd178c7b196c4e
2014-03-09fdo#70422 Moved the linked files from sw/source/ui to a new core/uibase dirroopak12345
Moved the files linked in sw/Library_sw.mk from sw/source/ui to sw/source/core/uibase and modified the make files as per the new directory location. Reviewed on: https://gerrit.libreoffice.org/8447 Change-Id: I05f6ccdeee5e76fb0ae477d16721d9ddc6eaff32
2014-03-08coverity#708413 Uninitialized scalar fieldCaolán McNamara
Change-Id: Id4ffee405f4047845223a53595f08c5bcd86b52a
2014-03-08add disabled support for export validation in writer testsMarkus Mohrhard
Still too many validation errors to enable it. Change-Id: I45830f6cff8ef52bc63fdda61a99985f4f7d242a
2014-03-08Fix types in a testJacobo Aragunde Pérez
Change-Id: I2f857f564e100cc4cf6b885c5a8f96e506b4046f
2014-03-08ooxml: export date controls properlyJacobo Aragunde Pérez
Export date controls as ooxml Standard Document Tags (SDT) instead of replacing them with plain text. SDT date controls contain the date in ISO format as an attribute of <date> tag, a custom date format that can be specified by the user in the <dateFormat> tag and the date formatted in that custom format in the <w:sdtContent> tag. The unit test testFormControl from ooxmlexport suite was removed, it only checked if the date control was exported as text and it obviously fails now. A new test that checks the values of the exported control was written instead. A pair of date format functions were added to datetimeutils.hxx. TODO: to avoid supporting all the posible custom formats that can be specified in the <dateFormat> tag, it is forced to dd/mm/yyyy on export. Change-Id: I9d1b6f840ee9e133831fdb04ad399fe31bcb2063
2014-03-08fix OOXML validation errorMarkus Mohrhard
Change-Id: Ib87eadad99285e19d73f4de58690de501084293c
2014-03-08fix OOXML validaition errorMarkus Mohrhard
Change-Id: I26e063cd1971d980583e884ca2f4e0ba9d9391ad
2014-03-08'explicit' makes no sense for a default constructorMatteo Casalin
Change-Id: Ib70c75e43ecf020fcb39696bddea414b0de9bbf7
2014-03-08Remove '#define INLINE', inline in method definition is enoughMatteo Casalin
Change-Id: I9c7ae289492e3ec8ada111a8dddfb5426ef22d30
2014-03-08Remove unused headers and forward declarationsMatteo Casalin
Change-Id: I8e8406dab1bca2a3349043eecaca168ff9ac00fb
2014-03-08OSL_ASSERT to SAL_WARN_IFMatteo Casalin
Change-Id: Ib6102579f8b7c8899322992919cc922393fe70d8
2014-03-08coverity#704853 Unchecked dynamic_castNorbert Thiebaud
Change-Id: I94e03ce14fdcd7fde99992e57d9f30c75c6e8fa1
2014-03-07Typo: exsiting->existingJulien Nabet
Change-Id: I8432ef55ef1ab54aca9bda1d5cb5dd5fbda296da
2014-03-07got to love the sal_Int32 as long/intCaolán McNamara
Change-Id: Ia843288d6a1739c8f75dbb512d9f3571ac2c8027
2014-03-07coverity#1078550 Dereference after null checkCaolán McNamara
Change-Id: I51852cba8b061f3b1dee4875f8daf0e0205e2211