summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-09drawinglayer: externalize PolygonWavePrimitive2D classTomaž Vajngerl
Change-Id: Ib611d55864310d1fade1bee9618f7e1a11587d5e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93828 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09drawinglayer: fix comment indent in polygonprimitive2d.hxxTomaž Vajngerl
Change-Id: I88c68140686623ef9ea41f0c3de6533c7ca16a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93827 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09vcl: move XmpMetadata in vcl/Library_vcl.mk to the correct placeTomaž Vajngerl
Change-Id: I17d4be68f8655f291a53ac5dc33cdd53e10f8e57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93826 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09remove vclmetafileprocessor2d.{cxx,hxx} from clang-format blacklistTomaž Vajngerl
Change-Id: I53f7660a22ed66ab7d50370d871f9d10d1bedc10 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93825 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09simplify namespaces vclmetafileprocessor2d.hxxTomaž Vajngerl
Change-Id: I3fd36b3d58aa35d68b3582baf87bf020ec894a63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93824 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09use pragma once in vclmetafileprocessor2d.hxxTomaž Vajngerl
Change-Id: I4112e33c92d189a2dab15e4a17b9cb06afd99048 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93823 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09drawinglayer: organize imports in vclmetafileprocessor2d.cxxTomaž Vajngerl
Change-Id: Ic6be2a42a7b1ed294cc86e3aee967ffec7b1e514 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93822 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09dl: move {Eps,FillHatch,PointArray}Primitive2D to global includeTomaž Vajngerl
Change-Id: I85c10cb957f5065d964863360ca03355c87b7980 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93821 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09remove "using std::vector" in SdrEditViewTomaž Vajngerl
Change-Id: Ide7e72effd4568a988b9c8c942daf2ec3a3b0479 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93820 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09sw: some rename of variables and reduce const castingTomaž Vajngerl
Change-Id: I8e7faf1649dba3228fe52f56269cd769241d07b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93819 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-05-09mysql-sdbc: do not lie about supporting XBatchExecutionLionel Elie Mamane
Change-Id: I414c5b43fe942203207b57bd23bfae79f1c3cbf4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93849 Tested-by: Jenkins Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-05-09mysql-sdbc: fill SQLSTATE field of SQLException when throwing itLionel Elie Mamane
Change-Id: I0970fcfeb0ca92e6401b6f71ca4f54202fc27598 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93848 Tested-by: Jenkins Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-05-09Resolves: tdf#132732 boxNEW_START set as insensitiveCaolán McNamara
Change-Id: Ic80a48dcb4ef7388240fa7700bab338bf754f025 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93816 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-09GDK_KEY_Return or GDK_KEY_KP_EnterCaolán McNamara
Change-Id: I9bfe6ecd3490d9c6d12c21f8c8a7074e611f0eb7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93784 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-09CppUnittest: ooxmlexport12: assert pages where possibleXisco Fauli
Change-Id: I6820c6d3a688d55922cce8430c0ae5127c9d8600 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93714 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-09compact namespace in swNoel Grandin
Change-Id: Ie2c3e3f95a687b12b89bcfc5cad44fb7a1d4568f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93862 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09compact namespace in sdNoel Grandin
Change-Id: Ifa8b9cb2a6c06e0365245790cfd1c4775bd87d15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93861 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09compact namespace in scNoel Grandin
Change-Id: I05ffad6b92883d3eb6d337fe75f5fc7864485861 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93860 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09compact namespace in reportdesignNoel Grandin
Change-Id: I30d6f8436cc85097a4d8e64db266fc31773e5351 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93859 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09compact namespace in packageNoel Grandin
Change-Id: I9956f715e00a0c2814b79617f37dd0c09f049ad0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93858 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09compact namespace in i18npool..ooxNoel Grandin
Change-Id: I1de87468b56b86a1eeee09a612551ab119a1be8b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93857 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09remove dead codeNoel Grandin
Change-Id: I095e9a6137ea835f6182819b55e911079925f740 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93814 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09this should be Indet to indicate neither radio or check buttonCaolán McNamara
Change-Id: I360bf6b6d8fd491fc01c7f413df92d1fd916c67d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93773 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-09CppUnittest: ooxmlexport5: assert pages where possibleXisco Fauli
Change-Id: I72e222b7fb64b3262afd5b733a300bb94280ee03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93738 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-09CppUnittest: ooxmlexport8: assert pages where possibleXisco Fauli
Change-Id: I7057226d46c78fb134f2eb9d439ae4e240325fa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93740 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-09lok: MSForms: test & fix two corner cases of drop-down field.Tamás Zolnai
Change-Id: I2c54e2e2a94d15d42b23e04a896211936e9e1852 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93845 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-09Avoid ODBC warning when testing connectionJulien Nabet
When clicking test connection for ODBC, there's this warning on console warn:legacy.osl:11208:1336:connectivity/source/drivers/odbc/OConnection.cxx:68: Failure from SQLDisconnect Some debug by adding a call to OTools::ThrowException indicates that SQLGetDiagRec returns 08003 08003 Connection not open (DM) The connection specified in the argument ConnectionHandle was not open. (see https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqldisconnect-function?view=sql-server-ver15) It's due to the fact that "N3SQLDisconnect( m_aConnectionHandle )" has already been called during void OConnection::disposing() Avoid the warning by testing m_bClosed Change-Id: Ie992da3582ab4d61cde35ada3f10f6a3d51d8be5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93234 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09Wrong copypaste for SCHEMA in DatabaseObjectContainer.idlJulien Nabet
Change-Id: I9ce3531e240351e39fb97a390d1dc95b62955554 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93840 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2020-05-09lok: replace locale name "en_US" -> "en-US"Henry Castro
Change-Id: Ic4792e35d14e2865f8bd9998b61c9024f822d454 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93584 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-05-09lok: fix the window type of the metric field controlHenry Castro
Change-Id: I286be638a562e3042c1c91e40cb60a9c98938360 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92796 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93071 Tested-by: Jenkins
2020-05-09Fix mapping CompositionType->EComposeRule (dbaccess/tablename)Julien Nabet
Digging in git history, I got this: commit bf7690bc1b444278bef1e355c7463d27381a8700 Author: Noel Grandin <noel@peralex.com> Date: Thu Feb 25 09:38:09 2016 +0200 convert EComposeRule to scoped enum Change-Id: I5a2e4f6f6f0f353c75dff85e865608b12c2104f9 but the bug was there from the beginning: commit ce7d8915eadfa24c27e7ae261fa222344a3f2e22 Author: Oliver Bolte <obo@openoffice.org> Date: Mon Jul 10 14:20:25 2006 +0000 INTEGRATION: CWS qiq (1.1.2); FILE ADDED 2006/05/24 06:54:32 fs 1.1.2.1: XTableName implementation Change-Id: I3f253f0fc6659d8853798ade3ad2bf2e72a8be82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93841 Tested-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-05-09lok: fix wrong metric conversion of the metric input controlHenry Castro
The client side does not work well if the browser has different locale, and the input element conversion fails or change to a different value, so the value is converted to a neutral locale. Change-Id: I89f96844603a8552609d486590c7de752cb5a95c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92395 Reviewed-by: Henry Castro <hcastro@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93069 Tested-by: Jenkins
2020-05-09CppUnittest: ooxmlexport14: Assert pages where possibleXisco Fauli
Change-Id: Ia8c9484420401dc3607c84ada375dfe063bc15cb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93736 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-09fix leak in svl unit testNoel Grandin
Change-Id: I8dc11da4e1de5c2e2831ac85dff0daeac0e0ce95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93744 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-05-09CppUnittest: ooxmlexport6: assert pages where possibleXisco Fauli
Change-Id: I18d1379fc340ba16616a47501e2d6936621babe8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93739 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-09tdf#132783: sc: Add UItestXisco Fauli
Change-Id: I51745010d2be39ca0510213cda54031f8a0c6a05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93815 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2020-05-09Re-indent sanelyTor Lillqvist
Change-Id: I68e2ae23bdba5c47a9156d1fa8d2078b364c1061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93750 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-05-09xmloff: ODF export: adapt all checks of ODFSVER_012 etc.Michael Stahl
Most of these actually want to check ODFSVER_EXTENDED because the extension didn't get into ODF 1.3. Change-Id: I1b625a329f7a3d146c616c62c15b56e2c314c2c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92872 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
2020-05-09sc,xmloff: ODF 1.3: adapt XMLPropertyMapEntryMichael Stahl
Map the following property attributes to ODFSVER_013: * OFFICE-2173 table:tab-color * OFFICE-3767 text:contextual-spacing * OFFICE-3857 table:scale-to-X/table:scale-to-Y Change-Id: I3585560a3654c71353bbcaf66da20eacba8ebd1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92861 Reviewed-by: Michael Stahl <michael.stahl@cib.de> Tested-by: Jenkins
2020-05-09lok: MSForms: add a test case about editing drop down form field.Tamás Zolnai
Change-Id: I926b322d3af3047fc72c6ee9b923bc4435111328 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93661 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-09Just use initializer list for Sequence<OUString>Michael Weghorn
Change-Id: I4732e238053b8c9e6813f1bbecd6f613922cb521 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93748 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2020-05-09toolkit: Use lambda instead of FindControlModel functorMichael Weghorn
Change-Id: I04cbd84196b5bf31caa4da3140dc65b1dfa20127 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93746 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2020-05-09tdf#118418 implement scrollSubstringTo() for Qt & windowsSamuel Thibault
Use new accessibility scroll type compatible with IAccessible2. Change-Id: I0967d1c56425e1e860db34f4b9c17427e531fe02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93636 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-05-09tdf#94628: sw: allow setting for bullet for outline paragraphsVasily Melenchuk
Paragraphs in outline (having style "Header XXX") can also be a part of list and have custom bullets. Simplified code of SwXNumberingRules::SetPropertiesToNumFormat(): do not check for properties special for outline/chapters and removed redundant data shuffle with local maps. Change-Id: I1fa7f8f5359acee1d5aa62d9700641490bb91b6c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93672 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-05-08lok: MSForms: send button message also when paint area is not changing.Tamás Zolnai
We can filter out duplicated messages with storing the last message. Ignoring messages with the same paint area is a problem, if we change the drop down field content to a new item with the same size. Change-Id: Ie2e0bab445eb0e6e5b9b25846adbd79af55e7816 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93732 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-08lok: MSForms: fix field activation for multiple fields.Tamás Zolnai
First hide hide the button of the previously active field and show the new button afterwards. Change-Id: I6de668f25a18f8c1d3dbf66beb357f089b51ae0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93664 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-08lok: MSForms: fix editing of drop-down field.Tamás Zolnai
When cursor is on the left side of the form field. Change-Id: I8587c477b6177e9309349afbbfc70979b4338275 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93663 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-08lok: MSForms: disable form field messages on mobile.Tamás Zolnai
Change-Id: I466c457fb0a2cbca3e7480fe8fde9833d9c35b63 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93662 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-08lok: MSForms: dont send form field button data with empty text area.Tamás Zolnai
Change-Id: I88d793765b58a3c483aad51d1a0e2e9f0159d5f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93660 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-08lok: MSForms: Handle event about item selection of a drop-down field.Tamás Zolnai
Change-Id: I095013097348c98361b6614e4ddf1e9029923c7f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93659 Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>