summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8
AgeCommit message (Collapse)Author
2015-02-21Typo: paragaph(s)->paragraph(s)Julien Nabet
Change-Id: I3d82703a59ec749b723d62b15a36937b61156874
2015-02-18boost->stdCaolán McNamara
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-17asan: failure to load tdf#55620 attachment under asanCaolán McNamara
still loops in layout though how am I *still* finding bugs in this thing Change-Id: I048595956516b9acfc60e90c64180b904d6cc1d7
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-15RTF filter: handle mirrored marginsMiklos Vajna
Change-Id: I122f5f23e510ae42664d2b69504f4722aa05597e
2015-02-14tdf#87574 - Outline numbering "None" is not retained in docxMark Hung
Partially revert commit d30a8ec448bcd08c6a52a37d6ae41a4b71c235da (Correct number format mapping for CJK numbered lists in rtf/doc/docx filters., 2014-11-04). Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/14211 Change-Id: I0876ecd982cfd8d97887495b23af0e0370821101
2015-02-08sw: make sure that these headers are self-containedMiklos Vajna
Change-Id: Ifdfe85abe57b5873ab4641d3a592c4cf8d2e4e01
2015-02-07ww8 export: indentation fixesMiklos Vajna
Change-Id: I0416b782ff04e060a03b4e0494513f16bda14d6b
2015-02-07Unused 'using namespace ::comphelper'Miklos Vajna
Change-Id: I5605c26fe0abd4c064b20562bf52b5e400bc7f33
2015-02-07Unused includeMiklos Vajna
Change-Id: If893c726310ba445ba6ecb3f453022a2ad8b18a8
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ia2b137e0167966a3d0b60f3c642a106834da8f1c
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage
Deprecated comphelper/sequenceasvector.hxx. Rewritten code using it. Using instead the functions containerToSequence and sequenceToContainer, found in include/comphelper/sequence.hxx. One class that inherits from it (in framework/inc/stdtypes.h), and the code using that has been left. Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/WrapPolygonHandler.hxx Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-05convert all remaining BOOST_STATIC_ASSERT to static_assertCaolán McNamara
and we can include a few less headers Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05sw: fix ASAN detected error in RtfSdrExport::Commit()Michael Stahl
EscherPropertyContainer may allocate a 1-byte buffer if there are no vertices / segments. (happens in sw_filters_test) in EscherPropertyContainer::CreateCustomShapeProperties(MSO_SPT, com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&) filter/source/msfilter/escherex.cxx:3853:25 Change-Id: I56dedbd57d38cd017183060e924cb1340ea58ebf
2015-02-03Update for CJK numbered list enhancement.Mark Hung
1. Revert koreanDigital2 back to NUMBER_HANGUL_KO (import). 2. Map NUMBER_LOWER_ZH in Simplified Chinese document to chineseCountingThousand (export). Change-Id: I62ec255626c250802288bf7fbec7371076e727d3 Reviewed-on: https://gerrit.libreoffice.org/14155 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-02-02unwind the casts to initial entry pointsCaolán McNamara
Change-Id: Id8d90569c079a753314ba88b419de9a08b0b6a8b
2015-02-02coverity#1242653 Untrusted loop boundCaolán McNamara
Change-Id: Ic5f9837531bc95526bb29b4e248e413754f630be
2015-02-02RTF export: need to take care of fill attributes when building the color tableMiklos Vajna
Change-Id: Iab7b4941e9b41249f2a30fa6139313239a98c501 Reviewed-on: https://gerrit.libreoffice.org/14276 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-01-31tdf#88583 MSWordExportBase: fix handling of paragraph background colorMiklos Vajna
Regression from 7d9bb549d498d6beed2c4050c402d09643febdfa (Related: i#124638 Second step of DrawingLayer FillAttributes..., 2014-06-02), the problem was that exporters still expect an SvxBrushItem for the para background color, while doc model was changed to have an XFillStyleItem / XFillColorItem pair instead. Change-Id: Ib94fda103ec35a6f087307aafdd890183d9d935f
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-26coverity#1266488 Untrusted loop boundCaolán McNamara
Change-Id: I41592965590d53fbaa632cf01abed430427a9698
2015-01-26coverity#1266486 Untrusted loop boundCaolán McNamara
Change-Id: I3c2ad66dd181c33073f8393dc81d1f56a80d5a87
2015-01-26coverity#1266447 Explicit null dereferencedCaolán McNamara
Change-Id: I4fc92ef828d549d968692a5a33f8dbcded27f7bb
2015-01-26coverity#1266444 Explicit null dereferencedCaolán McNamara
Change-Id: I7b7beddf7769d92152c483eacd957348717b4a22
2015-01-26coverity#1266441 Unchecked return valueCaolán McNamara
Change-Id: Ifa0ebd05ed22a5c32b75b7c86e1910eab291fa55
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-22::rtl::OUString->OUStringCaolán McNamara
Change-Id: I68654a5fa4cbb7403c00b103e2be5929ccb516a2
2015-01-22fdo#68963 recognize __RefHeading__ bookmarks as TOC in .doc filesJustin Luth
LibreOffice recognizes MS Office Table Of Contents, but LO files saved as .doc didn't show the Cross-Refence heading - it was blank. Now bookmarks using the LO naming convention are also imported as TOC bookmarks from .doc files. Testcase included. Change-Id: Icae5c0de31856ccc75ede9a97c0ea046dd97325f Reviewed-on: https://gerrit.libreoffice.org/14018 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-01-22Some more loplugin:cstylecast: swStephan Bergmann
note the two TODOs about suspicious casts Change-Id: I324fa05b30a5c8aa1d9e9a6d488a1e295226e788
2015-01-19fdo#39440 sw: reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I7cbc1908d0e3c84f5864db34984d0740db891aef Reviewed-on: https://gerrit.libreoffice.org/13962 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-17Use std::unique_ptrMiklos Vajna
Change-Id: I4c72576d36621d863de55b0ab9f0b5a22753446a
2015-01-16remove unnecessary parenthesesNoel Grandin
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-15remove unnecessary castsNoel Grandin
leftovers from conversion of SvStream operator>> to Write methods Change-Id: Id1d1e60ae42afb689910845a3c6ec75e3388fb56
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-12sw: fdo#88005: fix check in SwWW8ImplReader::StopApo()Michael Stahl
404f16e97f1c2fcd8f9a1297bdfa46cba970467e is embarrassing crap; the real problem there is that the paragraph that should be removed is _inside_ the frame, but in sf_68e4f217c107f6eada21adfe6e3c9c57-82055-minimized.doc the MoveInsideFly() is not called so a non-empty body paragraph was removed. Change-Id: I5d4443804c52a5fa30ddb51609ccbbee07abc5aa
2015-01-12sw: translate some german commentsMichael Stahl
Change-Id: If189a60ae48a64cde109e52903c9a4b8b9fde85a
2015-01-10RTF filter: change uses of cppu::WeakImplHelper* to use variadic variantsMiklos Vajna
Change-Id: Iea8552570146bd516ca2ee241caa4fcc3047b9f7
2015-01-09asan: heap-buffer-overflow on ooo8726-1.docCaolán McNamara
Change-Id: I9fd7b873b6e64a6450c1bd946cd9bb08c293290a
2015-01-09asan: global-buffer-overflow on ooo12093-1.docCaolán McNamara
Change-Id: I5e29626fe2803d2751bdec9c6919662ea37cf64c
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07Use more proper integer types and avoid unneeded downcastsMatteo Casalin
Change-Id: Idcb8f5fd47ae4a7952f313a4402a980359c90a83
2015-01-07Remove misleading comment and simplify boundary checkMatteo Casalin
Change-Id: I115bb1cd1be9c7c544508d1328248ebf3ad0d225
2015-01-07sal_uInt16/sal_uInt32 to more proper integer typesMatteo Casalin
Change-Id: I07f9ae7f926d40a4a438e850832b6e9f09a1d1e3
2015-01-07coverity#1261760 Resource leak in objectCaolán McNamara
Change-Id: Iacf93952af01dd1325743150f1a959337092528c
2015-01-07WW8 filter: export zoom typeJustin Luth
Change-Id: I6a667585cc590ed2fe73581acb1249da62e65d31 Reviewed-on: https://gerrit.libreoffice.org/13717 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-06Update email addressMiklos Vajna
Change-Id: Ie6a137d2aa9b2f27d8d2f04e7744e39d21e3c146
2015-01-05asan: cast is totally wrong hereCaolán McNamara
Change-Id: I7341813b706faad60888e374fa50542abeb6842d