summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimpit.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01tdf#77111 odt import: treat PAGEDESC_PAGENUMOFFSET==0 as autoJustin Luth1-1/+1
Ever since 2010 commit 7edaf190 zeroes have been saved as XML_AUTO. Ever since 2014 commit c2ccd20c, a numoffset of zero is no longer considered to be auto (for MS compatibility) but is still treated as auto during xml export. Thus, any older documents that had been saved with a zero should still xml import as auto instead of as 0. Change-Id: I1a0df32a8e2f1b30b2bedbf4c9bb07ebec239637 Reviewed-on: https://gerrit.libreoffice.org/33267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit e36f0860f00af139a8fa94d36302f7b0c56383fe) Reviewed-on: https://gerrit.libreoffice.org/34694 (cherry picked from commit ae225329435cb49e61e3c9fc76129aa4e334598a) Reviewed-on: https://gerrit.libreoffice.org/34698 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-10-03Fix typosAndrea Gelmini1-1/+1
Change-Id: Ie75beb4e282a4d1b784a5847262e39cf9c851527 Reviewed-on: https://gerrit.libreoffice.org/29440 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-07loplugin:constantparam in swNoel Grandin1-3/+2
Change-Id: I16badc615e98202668b1b201035b5137cb94c10c
2016-09-01use SfxItemPool::IsWhich instead of custom implementationJochen Nitschke1-1/+1
Change-Id: I56cbdc1ede491486643f73a98117c5cd4ce77c1d Reviewed-on: https://gerrit.libreoffice.org/28564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-23Remaining clang-tidy misc-move-constructor-initStephan Bergmann1-1/+1
...by turning the relevant ctor parameters into "const &" (following 8f30da6386fa414b9fe4c704b294a978df77347b "Some clang-tidy misc-move-constructor-init"). Change-Id: I6686dabe2f05156d6ecd49aa76a3a1166ccac045
2016-08-17convert SvxBreak to scoped enumNoel Grandin1-7/+7
Change-Id: If8b79ed617e5662550bd73bd1506d047217f2313
2016-07-07loplugin:passstuffbyref also for {css::uno,rtl}::ReferenceStephan Bergmann1-1/+1
Change-Id: I7e7cdfa5efaf18bb47d40947d4e1d91a2c9b5a57
2016-05-04use Any constructor instead of temporariesNoel Grandin1-3/+1
Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
2016-04-07sw: replace boost::noncopyable with C++11 deleteMichael Stahl1-2/+4
Change-Id: I5c97c500096dee70bf9208daae38c3f042ac57d3
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon1-8/+8
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-12/+12
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-10-14coverity#7359793 Unchecked dynamic_castCaolán McNamara1-12/+11
Change-Id: Ie3564a98078464b98ab4ef6f1aa87544dbcebe6c
2015-10-14coverity#7359796 Unchecked dynamic_castCaolán McNamara1-3/+2
Change-Id: Ic8ce96e0e1bcec279b15fd6bc81426bcb25b8c96
2015-10-14coverity#7359797 Unchecked dynamic_castCaolán McNamara1-4/+3
Change-Id: Ib91d29da570f81879c8afc1e0fc035f2cfe52c9b
2015-10-14coverity#7359798 Unchecked dynamic_castCaolán McNamara1-6/+5
Change-Id: I6851ec09bb8ed6134fd1cfe3aa830f5557efdc8d
2015-10-14coverity#735979 Unchecked dynamic_castCaolán McNamara1-4/+3
Change-Id: Id1739bdb702b9ae7002f8ddcd06e47babad8b8c3
2015-10-14coverity#735980 Unchecked dynamic_castCaolán McNamara1-8/+7
Change-Id: I7aa14ff4c89676b41c5d96a75dfd1bcd60eccf80
2015-10-14coverity#735968 Unchecked dynamic_castCaolán McNamara1-20/+19
Change-Id: Idf9b26180f824321bd5e07e9a9360bb9e59472dd
2015-10-14coverity#735969 Unchecked dynamic_castCaolán McNamara1-10/+9
Change-Id: I929352a6c743effee70a2a233fb366edddac2147
2015-10-14coverity#735970 Unchecked dynamic_castCaolán McNamara1-4/+3
Change-Id: I05a9fdd43ba821a9071728ef2be72d3a485a8a09
2015-10-14coverity#735971 Unchecked dynamic_castCaolán McNamara1-3/+2
Change-Id: Iefd64baa09c3f6bfaf1cc43483ae1451e5b2c6ad
2015-10-14coverity#735972 Unchecked dynamic_castCaolán McNamara1-4/+3
Change-Id: I4839b4598216eda9ac2db2ebe2aff3f5baaae9e8
2015-10-13coverity#1326250 Unchecked dynamic_castCaolán McNamara1-6/+4
Change-Id: I0c2cf72d7e4f736e2e2c3b8b5def920ee79747fe
2015-10-13coverity#1326251 Unchecked dynamic_castCaolán McNamara1-4/+3
Change-Id: Iabdc2f4e0b7af49650e07a9035a425f96cd035c7
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht1-14/+14
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-08-29o3tl/cow_wrapper: remove boost dependencyDaniel Robertson1-0/+1
Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin1-1/+1
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
2015-05-26cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I955b04396d27e88ce228f180275955071da83ec6
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier1-15/+15
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-04-01convert BOX_LINE and BOXINFO_LINE to enum classNoel Grandin1-8/+8
since their usage is intertwined. Also introduce new o3tl utilities enumrange and enumarray to make working with scoped enums a little simpler. Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann1-3/+3
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-07-25pImplize XMLPropertyHandlerFactory.Kohei Yoshida1-0/+1
Change-Id: Iff524c9065e9374b39db998e3860704555130995
2014-06-13loplugin:staticcallStephan Bergmann1-6/+6
Change-Id: I26e1e0f66dad5ed4e8351fc7509449b312559166
2014-03-12Spelling fix: suportedTor Lillqvist1-2/+2
Change-Id: I3b67edd5ba4541a65cb0916abea6db1362c32afd
2014-02-27Remove visual noise from swAlexander Wilms1-2/+0
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: https://gerrit.libreoffice.org/8322 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21Translate German comments and remove superfluous ones as well as visual noiseAlexander Wilms1-5/+2
Conflicts: sc/source/ui/view/select.cxx sc/source/ui/view/viewdata.cxx sw/source/core/text/redlnitr.cxx sw/source/core/text/txtfrm.cxx sw/source/core/text/txtftn.cxx sw/source/ui/table/tabledlg.cxx Change-Id: I23371b913514d656552bc6f7fb4ba554ee6a3694
2014-02-20svl: sal_Bool -> boolStephan Bergmann1-2/+2
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-12cid#705311 missing break in switchNoel Grandin1-0/+2
Change-Id: Ib7533b0af88c2bf8b7fbeccc92525721b376bb71
2014-01-28bool improvementsStephan Bergmann1-6/+6
Change-Id: Ibeb658e73b588f90242c95d23149f2ef45a7a815
2013-11-14remove unnecessary sal_Unicode casts in SW moduleNoel Grandin1-5/+5
Change-Id: I9e67d4f5e680a29718c4e7be7292913602cd9311
2013-10-03CID#705757 leaks on early returnCaolán McNamara1-25/+41
also CID#705756, CID#705755 and CID#705754 Change-Id: Ie02bb10049dc680199dfa6c218b6b1f92927e4a4
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-2/+1
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold1-1/+1
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida1-2/+2
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-01-04sal_Bool to boolTakeshi Abe1-64/+64
Change-Id: I6c04aea3a0bba0308206bb3c9d8435606b7a4d81
2012-11-30re-base on ALv2 code. Includes:Michael Meeks1-23/+14
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák1-14/+14
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
2012-06-13reduce use of UniString ctor from null-terminated unicodearrayCaolán McNamara1-1/+1
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe1-1/+0
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-12Fix memory leak when using XMLPropertyHandler in sw xml filters.Arnaud Versini1-0/+2
Change-Id: I I I5ddab734595d97486f507f2a6b752b4f0a28087e