summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2018-02-21forcepoint #3Caolán McNamara
Thanks to Antti Levomäki and Christian Jalio from Forcepoint. Change-Id: I5681f9123a21fee100a2eda1e8284e559ede51b4 Reviewed-on: https://gerrit.libreoffice.org/50064 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-21loplugin:changetoolsgen in swNoel Grandin
Change-Id: If07efe4c15cfc28df38a9327856d39313ca78d50 Reviewed-on: https://gerrit.libreoffice.org/50078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-21Fix some IWYU warningsMiklos Vajna
Change-Id: If1e6727e4b5bb225495e20d5dfb78fa5da770f75 Reviewed-on: https://gerrit.libreoffice.org/50060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-02-21RGB_Color method is unnecessaryNoel Grandin
it has exactly the same effect as just letting the constant be converted to Color via the Color(ColorData) constructor. This commit is part of the process of removing ColorData. Change-Id: Ie12ad451ba3f43a627ebdbb132a5369f5760ba52 Reviewed-on: https://gerrit.libreoffice.org/50038 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-21New loplugin:nestedunnamedStephan Bergmann
Change-Id: Ifb434589ef08428ce609bc7a40b015d4df13224c Reviewed-on: https://gerrit.libreoffice.org/50048 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-21ColorData->Color in swNoel Grandin
Change-Id: I6b5b6b15f86d452b73fe02df5dec5490b29daed8 Reviewed-on: https://gerrit.libreoffice.org/50050 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-21ColorData->Color in sd..svxNoel Grandin
Change-Id: I70de56b6bfb1ea4655ec03510fad92bf6645f64e Reviewed-on: https://gerrit.libreoffice.org/50046 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-20tdf#115875: treat Western/Asian/CTL font groups consistentlyMike Kaganski
... for both Paragraph and Character Styles. Change-Id: Iab2cf6ef0fc29ba7e7afe2b52adf8cc9836ea608 Reviewed-on: https://gerrit.libreoffice.org/50036 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-02-20sw: DELETEZ to unique_ptr in DocumentLinksAdministrationManagerMichael Stahl
Change-Id: I428848c48c2d265e82db9d3666492d50b01a221d
2018-02-20sw: DELETEZ to unique_ptr in SwTextFootnoteMichael Stahl
Change-Id: Ibd0a566dffca40da37727421c54b50e1d834ef3d
2018-02-20Use existing variable for thatMike Kaganski
Change-Id: I583bec8ea5dc7c2462cedee116048db12492e128 Reviewed-on: https://gerrit.libreoffice.org/50026 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-02-20sw: convert DELETEZ to unique_ptr in SwViewShellImpMichael Stahl
Change-Id: If5c26f1a7892368c244f4d46aab7d36a22c83504 Reviewed-on: https://gerrit.libreoffice.org/49991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-20sw: convert DELETEZ to unique_ptr in SwTextNodeMichael Stahl
Change-Id: I0df469be660c20513f82b465412ffcf31b0a0f63 Reviewed-on: https://gerrit.libreoffice.org/49990 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-20sw: convert DELETEZ to unique_ptr in authfld.cxxMichael Stahl
Change-Id: Ic37556a95b31308a7f88a1074c2c1cba30d47cd0 Reviewed-on: https://gerrit.libreoffice.org/49988 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-20tdf#112694 DOCX import: handle <w:titlePg> when turning on follow style headerMiklos Vajna
Commit 17e51f427b3f0cec74ac8e0a1b3f51189006ae6f (DOCX import: first page header should always set default headers as well, 2014-11-21) turned on header/footer of follow page styles of first page styles when the first page style had the header/footer turned on, but failed to consider if <w:titlePg> is present or not. When it's not present, the first page header/footer should be ignored. An additional problem is that by the time DomainMapper_Impl::PushPageHeaderFooter() is called, <w:titlePg> is not parsed yet, so we can't act accordingly. Fix the problem by moving the check to SectionPropertyMap::PrepareHeaderFooterProperties(), which runs at the end of the section properties, where all required info is available, there we can just check for m_bTitlePage. This allows reverting the two changes to existing testcases in CppunitTest_sw_ooxmlexport6 from the original commit as a side-effect. Change-Id: Ic628adab99a4b148fcfd66ca39d0cf81eb7dd9f1 Reviewed-on: https://gerrit.libreoffice.org/50014 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-20drop Color::SetColor(ColorData) in favour of operator=Noel Grandin
first stage of getting rid of ColorData Change-Id: I5e4e95eb958722814c43c8d1ebfef17ad18c29ec Reviewed-on: https://gerrit.libreoffice.org/49997 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-20make it possible to set parent window for printer error messagesCaolán McNamara
Change-Id: I0effa3645454ef9d03393ae8b256cd624ca04f03 Reviewed-on: https://gerrit.libreoffice.org/50008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-19ofz#6459 leakCaolán McNamara
Change-Id: Ie5501d20176f13a50a6d57c13ce1053343924a91 Reviewed-on: https://gerrit.libreoffice.org/50003 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-19clean up word count .uiCaolán McNamara
Change-Id: Ibfd30de0ec7cdd262db56c6ddcfad8fd77261c33 Reviewed-on: https://gerrit.libreoffice.org/50002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-19weld: convert delete autotable entry message dialogCaolán McNamara
Change-Id: I58d70958872725ebbe27799b8e5158c5111e117b Reviewed-on: https://gerrit.libreoffice.org/50005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-19tdf#115569 don't sign or validate text in tablesAshod Nakashian
Both undoing signatures and updating the metafield are causing seg-faults. Clearly more work is needed to support paragraph signing within tables, so disabled for now. Change-Id: Ia20c8b07069689b0e8b7d11a634a2a48ef1f0fa3 Reviewed-on: https://gerrit.libreoffice.org/49722 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-02-19sw: prefix members of SwPostItField, SwRefPageGetField and SwRefPageSetFieldMiklos Vajna
Change-Id: I37f72fd65ff7d9e6c992f92e770f0897f80aaf7b Reviewed-on: https://gerrit.libreoffice.org/49961 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-19ofz#6450 use the rule name, not the rule itselfCaolán McNamara
Change-Id: I62541dc48b7e9d5a906f32791437a86a8283a7bf Reviewed-on: https://gerrit.libreoffice.org/49952 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-18uitest: call base class Activate in modeless dialogsMarkus Mohrhard
Change-Id: I342e925a5dbc178962f720f1efc9ee001d235718 Reviewed-on: https://gerrit.libreoffice.org/49941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-18sw lok: assign a parent window to property dialogHenry Castro
Change-Id: Ief98b93502c3c69f84e7de47393718370a839208 Reviewed-on: https://gerrit.libreoffice.org/49926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2018-02-18Translate German variable namesJohnny_M
m_xAktItemSet -> m_xCurrentItemSet m_bAktAND_fNumberAcross -> m_bCurrentAND_fNumberAcross in ww8par Change-Id: I1f78120008530b17d2eab508c8649798fc7bedea Note: Other occurrences of "Akt" will be done separately Reviewed-on: https://gerrit.libreoffice.org/49905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-18Fix typosAndrea Gelmini
Change-Id: I3225398aa3d56f76a5e8a60aecb671665d94a717 Reviewed-on: https://gerrit.libreoffice.org/49920 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-02-18Fix bug numbers in these commentsAdolfo Jayme Barrientos
Follow-up to 0e687595295e210e6275eda57a253ca66e8249ce. Props to Regina and Heiko. Change-Id: I4a5b71230639edf8c22d9e21c29fa31b4a561e75
2018-02-18rename non-unique id for better UI testingZdeněk Crhonek
Change-Id: Id271001411ae34269451008ca54ab5855aae7da5 Reviewed-on: https://gerrit.libreoffice.org/49305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17Translate German variable namesJohnny_M
m_pAktColl -> m_pCurrentColl in ww8par Change-Id: I11299bab3c294345cd32d829003b2351192f9bf9 Note: Other occurrences of "Akt" will be done separately Reviewed-on: https://gerrit.libreoffice.org/49904 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17Translate German variable namesJohnny_M
Akt -> Current in ww8par2 Change-Id: I9ef8c2def230287abe405df894f85240a338c73d Note: Other occurrences of "Akt" in the affected files will be done separately Reviewed-on: https://gerrit.libreoffice.org/49906 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17Translate German variable namesJohnny_M
Akt -> Current in ww8 (leftovers in function names) Change-Id: I7ce1df76be01108d0e1f23522b09e20f75ae4ed3 Reviewed-on: https://gerrit.libreoffice.org/49903 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17Translate German variable namesJohnny_M
Akt -> Current in ascii filter Change-Id: I05637a65632b15b1ec0e0860bff15651dc25a8c4 Reviewed-on: https://gerrit.libreoffice.org/49899 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17Translate German variable namesJohnny_M
Akt -> Current in txtnode Change-Id: I5f8c615c0caf96d51077aba5b27ee68bbe6f3b72 Reviewed-on: https://gerrit.libreoffice.org/49902 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17uitest - writer Format-Bullets and numberingZdeněk Crhonek
Change-Id: I5efeb41c13dbbaf8c5fffbb00a7503a89434c082 Reviewed-on: https://gerrit.libreoffice.org/49691 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17uitest - writer Format CharacterZdeněk Crhonek
Change-Id: Ib4e78a19251ece9a24e3b87e5932b25c1002cd83 Reviewed-on: https://gerrit.libreoffice.org/48354 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17uitest - writer; test form Bookmark dialogZdeněk Crhonek
Change-Id: I4c82c188b16604b808b25ec6710b59fa7310abf4 Reviewed-on: https://gerrit.libreoffice.org/47622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17add uitest for bug tdf#115088Zdeněk Crhonek
Change-Id: Ic13f399cd489755ce97e026a9259c96c8aceb45e Reviewed-on: https://gerrit.libreoffice.org/48220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17uitest - writer insert Page Footer; insert EnvelopeZdeněk Crhonek
Change-Id: Ifd931998607edbb526ec756f80b2bad13f541d63 Reviewed-on: https://gerrit.libreoffice.org/48086 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17uitest - writer Insert Horizontal LineZdeněk Crhonek
Change-Id: Ia44e18650b72ffe8d8d263f62dc6d5a31d1b0dc3 Reviewed-on: https://gerrit.libreoffice.org/47215 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-17uitest - writer/ Special character dialogZdeněk Crhonek
Change-Id: I6de8570e5a2c1404cbf9c0a11f68373857a8836d Reviewed-on: https://gerrit.libreoffice.org/47035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-02-16ofz#6360 Direct-leakCaolán McNamara
Change-Id: Ie38a0fce48f1c3bedda08b866b4b5d838b496c77 Reviewed-on: https://gerrit.libreoffice.org/49846 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-16ofz#6414 Integer-overflowCaolán McNamara
Change-Id: I1090711877707b9e66aef36910eca2df81c7c3b6 Reviewed-on: https://gerrit.libreoffice.org/49858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-16tdf#115519: Handle rotation for WriterFlyFrames correctlyArmin Le Grand
Change-Id: I5f29b3640eaf24d63c64edfecd6732f336582640 Reviewed-on: https://gerrit.libreoffice.org/49826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-02-16connectitivty: can use o3tl::make_unique<> hereMiklos Vajna
Change-Id: Ia01bf2866e3f688dfab64c5fd72e787e4409fb75 Reviewed-on: https://gerrit.libreoffice.org/49830 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-02-16native dialog initial basisCaolán McNamara
Change-Id: I392be563e38257390f748c70bb71c67a66778ddd Reviewed-on: https://gerrit.libreoffice.org/49677 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-16ofz#6311 still problems with SdrEdgeObj listening to same obj at start as endCaolán McNamara
Change-Id: Ibd80b484788779b73943b28a5f36e51ebcacec30 Reviewed-on: https://gerrit.libreoffice.org/49821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-02-15sw: replace DELETEZ with unique_ptr in SwUndoSplitNodeMichael Stahl
Change-Id: Iaac10057c7be6f49bc5930725dffa7884c35d814
2018-02-15sw: replace DELETEZ with unique_ptr in SwXFrameMichael Stahl
Change-Id: I93043bd17a685a82f9365c3eeb27d4288291e2f3 Reviewed-on: https://gerrit.libreoffice.org/49731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-02-15ofz#6366 Integer-overflowCaolán McNamara
Change-Id: Ic941d48c33211b6b3f225d8a8314f94840f13fb4 Reviewed-on: https://gerrit.libreoffice.org/49798 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>