summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2018-01-08Resolves: tdf#114728 wrong entries in bibliographic entry dialogCaolán McNamara
Change-Id: I15f889c108805075c716d21af84c13f98f4e7226 Reviewed-on: https://gerrit.libreoffice.org/47593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-08sw: prefix members of SwAccessibleNoTextHyperlink, SwAccessiblePage and ...Miklos Vajna
... SwAccAllTableSelHander_Impl Change-Id: I8cc53ff4be6dcc5e9903d9d61c631898db0b5466 Reviewed-on: https://gerrit.libreoffice.org/47567 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-01-08ofz#5015 Integer-overflowCaolán McNamara
Change-Id: Id5b8e3b66b5b7b0f762c72a3e66e6c425011301c Reviewed-on: https://gerrit.libreoffice.org/47534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-08tdf#114882: don't try to close SDT when processing inner objectsMike Kaganski
Change-Id: Ib7e59e1a6c82d2d35a8466312a2571f76f2338b7 Reviewed-on: https://gerrit.libreoffice.org/47546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-01-07ofz#5007 Null-dereference READCaolán McNamara
Change-Id: I830483071ce481fd14b0d1227c90e492e125f35e Reviewed-on: https://gerrit.libreoffice.org/47537 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-07coverity#1427250 Dereference null return valueCaolán McNamara
Change-Id: I2925ed9d7b74f931b4adba08b069b9ef99d16589 Reviewed-on: https://gerrit.libreoffice.org/47532 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-07tdf#114872: Broken selection from other userTamás Zolnai
For desktop LO cursor update is restricted to the active view, but for LO online the users's selection is shown also from other views. Change-Id: Ia9bc8854ee570a9a22c183bf27f941ecf0b8e4d9 Reviewed-on: https://gerrit.libreoffice.org/47520 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2018-01-07sw, obey HAVE_FEATURE_AVMEDIAjan Iversen
added check for HAVE_FEATURE_AVMEDIA Change-Id: Ida2987564536c6d9f2b85b2599253b9252fb3881
2018-01-05ofz#4971 Bad-castCaolán McNamara
Change-Id: Icf66aa82e72a2b9f24f590b84bb0441ebf09463f Reviewed-on: https://gerrit.libreoffice.org/47466 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-05tdf#114724 fix headings outline tracking highlight in NavigatorJim Raykowski
Change-Id: I7fac3c4a0f2d81c4decf59f707d1cb4d764e3e41 Reviewed-on: https://gerrit.libreoffice.org/47152 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-01-05Fix typosAndrea Gelmini
Change-Id: If114b42912a98b85f1b64f87bdb1f64afd15c85e Reviewed-on: https://gerrit.libreoffice.org/47457 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-01-05sw: fix null-pointer crash in ClearFEShellTabCols()Michael Stahl
(regression from 334601603aa04ea968e8a850f4e7f6cf52f7735b) Change-Id: I6e257f07a44740f77450ca6278aa2c0fa8ce2551
2018-01-05sw: clean up some no longer building leftover debug codeMiklos Vajna
Change-Id: I1e895382fc858ecd9be3d974b2be155d7e9de52d Reviewed-on: https://gerrit.libreoffice.org/47452 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-01-05lokdialog: Allow language switching in SfxModule(s).Jan Holesovsky
Change-Id: Icef0b3610c3bfa858cdd61de6ef3f5edc1e3c96b Reviewed-on: https://gerrit.libreoffice.org/47385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2018-01-05tdf#104707 ooxmlexport: support RawTextJustin Luth
fix TODO: docxattributeoutput::RawText The only time RawText is called is in OutEEField, an EE_FEATURE_FIELD, which always seems to be a hyperlink. So, even though it is a very generic sounding function, it is barely used. There are no other "make check" examples using this RawText function, so "proof" documents are limited to the two bug reports that this fixes. Confirmed in Word 2003 that the URL is active after RT. In LibreOffice, the url is not active on import... Change-Id: I6c385057be18ca253ebb2f20454694850a6da41f Reviewed-on: https://gerrit.libreoffice.org/47380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-01-04Fix typosAndrea Gelmini
Change-Id: Ia3248d07e5d711682af4211be7786ded9d545cd4 Reviewed-on: https://gerrit.libreoffice.org/47315 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2018-01-04sw: replace local DELETEZ with unique_ptrMichael Stahl
Change-Id: I8c650a1dce327c5f4651e166ea998db0fd2292cd
2018-01-04sw: convert SwPageFrame::m_pSortedObjs to unique_ptrMichael Stahl
Change-Id: Id0cac6143c4c9278fc450048cc0b276d72d0c1a1
2018-01-04sw: convert SwFrame::mpDrawObjs to unique_ptrMichael Stahl
Change-Id: I0713e6fb2b3f2cfc3115daafe37ae5380f3e7938
2018-01-04tdf#42949 Fix some more Include What You Use warningsMiklos Vajna
Change-Id: I2040315707674dc99a37aedb96ac61dca274c13a Reviewed-on: https://gerrit.libreoffice.org/47348 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-01-04ofz#4947 Integer-overflowCaolán McNamara
Change-Id: I7573f2d211bf9d676c436fcc2e7b312177fa377f Reviewed-on: https://gerrit.libreoffice.org/47375 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-04sw: move some globals in fetab.cxx into SwFEShellMichael Stahl
It looks like the main point of these being globals is so that they can be cleared from various places when tables or table frames are destroyed. Add a SwDoc parameter to ClearFEShellTabCols() and just iterate over all shells. Change-Id: I75ad6b695ee1bfa76b9a05c606b07a3574c70ac4
2018-01-04ofz#4914 Undefined-shiftCaolán McNamara
Change-Id: Ie1accb0de3af652877c37ec15fe319378567431c Reviewed-on: https://gerrit.libreoffice.org/47337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-04drop some unused typedefs in UnoFrameWrap_traitsNoel Grandin
Change-Id: I80e4916de36f65b28db054367f1a307498456b18 Reviewed-on: https://gerrit.libreoffice.org/47343 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-04remove SfxUsrAnyItem typedefNoel Grandin
and rename SfxUsrAnyItem class to SfxUnoAnyItem, the choice being made by leaving the most popular one behind Change-Id: If3818ee0966a50e3036d7e2db951910b6282c91f Reviewed-on: https://gerrit.libreoffice.org/47313 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-04loplugin:unusedfieldsNoel Grandin
fix the ReturnStmt check Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8 Reviewed-on: https://gerrit.libreoffice.org/47309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-03Turn on clang-format for these filesMiklos Vajna
I (tried to) keep these files consistent locally with astyle in the past, switching to clang-format makes sure that the recent problem with introducing inconsistencies with automatic loplugin rewrites doesn't happen again. Change-Id: If49c96b6e9e6ed50beb69c70e37125dff5607f76 Reviewed-on: https://gerrit.libreoffice.org/47332 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2018-01-03ofz#4921 limit column check to max legal column indexCaolán McNamara
Change-Id: I8ddc08aa951dfe9d5c5dd36c47a63c86a834588c Reviewed-on: https://gerrit.libreoffice.org/47328 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-03Translate German comments and debug stringsJohnny_M
Additionally, improve an equal earlier translation made on commit ee536e482b5ad01ea4a8cae79a1fcd9e12db444f ( https://gerrit.libreoffice.org/#/c/7303/2/svtools/source/svrtf/parrtf.cxx@199 ) Change-Id: Idf1a95361a1bc54473a24c152902568574e21e69 Reviewed-on: https://gerrit.libreoffice.org/47099 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-01-03ofz#4872 Null-dereference READCaolán McNamara
we're going to need a bigger boat Change-Id: Ie4ee3ae1ac9f906ca3faec412bbafc0c6a911aaf Reviewed-on: https://gerrit.libreoffice.org/47269 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-03sw: prefix members of SwFormatContent, SwAccessibleHyperlink and SwFormatURLMiklos Vajna
Change-Id: Iae0a540355b6f8c9306d630a417f64cbaef4b07c Reviewed-on: https://gerrit.libreoffice.org/47297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-01-03loplugin:singlevalfields improve copy constructor checkNoel Grandin
Change-Id: Id1e7fbecd9e9f816553d2e678c3f1b7890fc4db8 Reviewed-on: https://gerrit.libreoffice.org/47293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-03loplugin:passstuffbyref more return improvementsNoel Grandin
slightly less restrictive check when calling functions Change-Id: I35e268ac611797b1daa83777cda02288a635aa32 Reviewed-on: https://gerrit.libreoffice.org/47259 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-02ofz: assert on trying to insert footer when already inserting the footerCaolán McNamara
Change-Id: I1fd91cca4aec91700f7db233b420fe27752d659b Reviewed-on: https://gerrit.libreoffice.org/47272 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-02always going to be a textnodeCaolán McNamara
Change-Id: I10167618b66ad7662b001333244bc8188b71c783 Reviewed-on: https://gerrit.libreoffice.org/47270 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-02loplugin:passstuffbyref improved return in swNoel Grandin
Change-Id: I4484ac461761e4c46364b4f473c7e62f8ec72103 Reviewed-on: https://gerrit.libreoffice.org/47243 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-02RID_* can be extern global variablesNoel Grandin
no need to access them via methods Change-Id: If0d1a65d6f56ce2fc585749d974ba13c9f2749b2 Reviewed-on: https://gerrit.libreoffice.org/47245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-01-02tdf#40457 - Place captions above tables by defaultvikasmahato
Change-Id: I2b367a451c03b42120c7599158cc05b8c99e1697 Reviewed-on: https://gerrit.libreoffice.org/47216 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-01-02tdf#112474 change behavior of left click on writer statusbar page numberJim Raykowski
in document to open Go to Page dialog Change-Id: I9782fa9a2d9c3d541e09bad4f721c9b2417f29d5 Reviewed-on: https://gerrit.libreoffice.org/47247 Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com> Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
2018-01-01ofz#4817 Bad-castCaolán McNamara
Change-Id: I5dc9c66ce17f6401fbc9683cf8b10bf62755a166 Reviewed-on: https://gerrit.libreoffice.org/47236 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-01ofz#4767 Bad-castCaolán McNamara
Change-Id: Ibf8285efae7c570452954feb41a1a36bf44504a4 Reviewed-on: https://gerrit.libreoffice.org/47235 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-31ofz#4848 Null-dereference READCaolán McNamara
Change-Id: I632aca7e3f59b7edf48c8c35eff4abf1946af652
2017-12-31ofz#4852 Integer-overflowCaolán McNamara
Change-Id: Ifb6a56783ce02a12f5fa5dfae4c815e963dcfe3c
2017-12-31CurrentTableInPaM->PendingTableInPaMCaolán McNamara
Change-Id: Ic8b48d3b3e3f87e9ac3e8a6bb832f8e8dfe8ab7d
2017-12-30ofz#4753 Bad-cast, check all open tablesCaolán McNamara
Change-Id: Ie6e2fb9f2e16e021a4719c418f52ce074c359904 Reviewed-on: https://gerrit.libreoffice.org/47199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-30Enable test for exporting text color of activeX checkbox controlTamás Zolnai
It's fixed in: 05f72a2a39fccb58f59b99ebfd3e7d0d8ff354e9 Change-Id: I5f82b1bd5dc0b2155398e4fc74da21f1a96e1d56 Reviewed-on: https://gerrit.libreoffice.org/47193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-12-30ofz#4837 Null-dereference READCaolán McNamara
Change-Id: I7e4cb934aeac32fa1170beb116e4600b5eb9389a Reviewed-on: https://gerrit.libreoffice.org/47197 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-30coverity#1427008 Result is not floating-pointCaolán McNamara
Change-Id: I3066bf4d7161a2606d0f2f7dd33deefe2ed2f421
2017-12-29ofz#4825 Bad-castCaolán McNamara
Change-Id: I57f180c9e28d5f2439efcc1f2726d8fabc108bc9 Reviewed-on: https://gerrit.libreoffice.org/47176 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-12-29ofz#4829 Floating-point-exceptionCaolán McNamara
Change-Id: Ifadeff08fe0c7d88498c8c657ce3955f0a518ef9