summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-27Better fix for CppunitTest_servicesStephan Bergmann
...than 25313923b08018bd837cfe3fc99a5e141602cafc "Fix CppunitTest_services for constructor-based implementations..." (which this commit reverts again). My claim that "the 'factory' would be the object itself" is nonsense, it would rather be an ImplementationWrapper (but one that was freshly created for each ServiceManager::createContentEnumeration). Change-Id: I85c683cff6f9ba78d0f8567a53f8fcbc56fe55cf
2017-10-27loplugin:constantparam was not always using canonical location for functionNoel Grandin
Change-Id: I8a15da534ba2cf9968cba0ee1f1bb74d7e3a0d54
2017-10-27no need to build the parent tree twiceNoel Grandin
lets just use the built in parents stuff Change-Id: I7bb705acfcd6c8c18168676b0cdb13c26ba5b95a
2017-10-27rename loplugin::Plugin::parentStmtNoel Grandin
to getParentStmt and rename parentFunctionDecl to getParentFunctionDecl, so I don't keep using accidentally naming my variables the same as the functions. Change-Id: I66f9452458c8b439e5132191ac5219fb6d420708
2017-10-27Updated coreCaolán McNamara
Project: help 4df523054a84cbade8cf2aff4f72400baca9ca55 Related: tdf#113455 update help to 'disable' the spinbuttons for special case now that there's a checkbox for the special 'clear' state rather than special empty spin button hackery to store this state Change-Id: I72756336a6c7fe68aec7efcf53e7b8dfb4c3d8d1
2017-10-27hwp fuzzing timeoutCaolán McNamara
Change-Id: I88656c558dfe1ef6e701ba54633bfe251bc4e279 Reviewed-on: https://gerrit.libreoffice.org/43884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27coverity#1420315 Unchecked dynamic_castCaolán McNamara
Change-Id: Ie522a0691ce269a4cc090057ddb54d8d0b1fa5e6 Reviewed-on: https://gerrit.libreoffice.org/43918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27support stock text in checkboxes and radiobuttonsCaolán McNamara
Change-Id: I03b2e125736b7f8a7127174a7a837760f76f8249 Reviewed-on: https://gerrit.libreoffice.org/43893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27Resolves: tdf#113455 Impossible to clear width/height in pagesCaolán McNamara
Change-Id: I88f80d417108822ceeb73c07cb49892925a2e57f Reviewed-on: https://gerrit.libreoffice.org/43891 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27coverity#1420317 Unchecked dynamic_castCaolán McNamara
Change-Id: I33d065780ece2aab5f5a07d0dfd5493005a22b33 Reviewed-on: https://gerrit.libreoffice.org/43917 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27ofz#3813 Integer-overflowCaolán McNamara
Change-Id: Ibc14583137aae0d46e501927e602a510339abe38 Reviewed-on: https://gerrit.libreoffice.org/43872 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27ofz#3812 Divide-by-zeroCaolán McNamara
Change-Id: I1a278302b995137d3e73620c003534498a59ba14 Reviewed-on: https://gerrit.libreoffice.org/43870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27ofz#3811 Integer-overflowCaolán McNamara
Change-Id: Ia08ac1ae46d4af6df7b0a590752e17a6d9a6836e Reviewed-on: https://gerrit.libreoffice.org/43869 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-27tdf#113422 Crash in: ScPreview::MouseMove(MouseEvent const &)Noel Grandin
regression from commit 0ad8447d3199e1c1d1f7d6ddabc9b4cded99c2d6 dyncolcontainer: convert nRight to std::vector Change-Id: I9cdf80115a2be73ec2b30fd875a904de3333fddf Reviewed-on: https://gerrit.libreoffice.org/43905 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27sw: clean up temporary debug code in frmpaintMiklos Vajna
Change-Id: I1bdb332e40a2cf612b249dafa7620f700af19833 Reviewed-on: https://gerrit.libreoffice.org/43927 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-27loplugin:finalclasses in scNoel Grandin
Change-Id: I83438eaf2c1045a9212a63ed9fd8b3371e9b06aa Reviewed-on: https://gerrit.libreoffice.org/43896 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27Revert "use rtl::Reference in SwChartDataSequence"Noel Grandin
This reverts commit cdd4b528a4d200aa322891373c80e2bc8e6cd16c. The manual acquire()/release() is necessary to prevent a double-delete if the exception is thrown Change-Id: I5acc0840befba3981e13b084b8d347f8a2766e70 Reviewed-on: https://gerrit.libreoffice.org/43889 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27VisualStudioIntegrationGenerator: honor defines' valuesMike Kaganski
Before this, -D_WIN32_WINNT=0x0601 used to land to VS project simply as _WIN32_WINNT (without value). Change-Id: I68ebdc24c3181c5d9e046280756e4cefee3de46c Reviewed-on: https://gerrit.libreoffice.org/43928 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-10-27Replace lists by vectors in filtask (ucb)Julien Nabet
Change-Id: I5b4359727ebf58bc121325d490e63f2c919dd7ab Reviewed-on: https://gerrit.libreoffice.org/43921 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-27Fix typosAndrea Gelmini
Change-Id: I96f64b7c259f04a67684bb699ea3cc43b68e40fa Reviewed-on: https://gerrit.libreoffice.org/43913 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-27Replace list by vector in ucbstore (ucb)Julien Nabet
Change-Id: I1ff394ecd1fe805d671d666d8bc2522c33c40b50 Reviewed-on: https://gerrit.libreoffice.org/43922 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-27Implement LocaleData2, XLocaleData5, LocaleDataItem2, tdf#81671Eike Rathke
Change-Id: Idba5a30bc44c7b2bd951f954ea3bfd048b022660 Reviewed-on: https://gerrit.libreoffice.org/43920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2017-10-26fix windows packagingThorsten Behrens
Change-Id: Id9e306877125b66f908d24048d236c55483330d0 Reviewed-on: https://gerrit.libreoffice.org/43916 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-10-26gbuild-to-ide: handle -U undefs correctlyMike Kaganski
Previously, defines string like this: -DDBG_UTIL -DNOMINMAX -D_DLL -UNOMINMAX would produce this defines list: DBG_UTIL;NOMINMAX;_DLL -UNOMINMAX where last "define" is incorrect; proper list should be DBG_UTIL;_DLL so that the undef'ed element would be properly eliminated from the result. This patch takes care of this. Change-Id: Ia66a1d6d0a6e0bbfd0022b22285b005609871336 Reviewed-on: https://gerrit.libreoffice.org/43923 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-10-26RepositoryExternal.mk: fix inverted gpg conditionMichael Stahl
(regression from 16598d526e9cc79698152daa5acc1e2718da933c) Change-Id: Ic621979926a9629aa8d8fb95a80957850ae0661b
2017-10-26Avoid undefined left shift of signed integerStephan Bergmann
...after 022b1b2a40fcaf8d201081dead44c1d3346d1972 "tdf#96505 Get rid of cargo cult long integer literals" Change-Id: I9e5cc9d63c2eddd1ad766c2f6b01a9ff49a09bfd
2017-10-26vcl: make MapMode constructor explicitMichael Stahl
Insert constructor everywhere, except a couple places that apparently want to compare GetMapUnit(). Change-Id: I1910deb60562e5e949203435e827057f70a3f988
2017-10-26vcl: print MapModeMichael Stahl
Change-Id: I3d4f15cd4929b553673f1a1d8950b6c9082a0cdc
2017-10-26tools: print some FractionsMichael Stahl
Change-Id: Idc4668cba7412d0b4a3e486a8629c7f95a701091
2017-10-26configure: JDK 1.3 won't workMichael Stahl
Change-Id: Ibd26816cb00b3b8b2514aca536906b689c8cbd5e
2017-10-26Add a comment in CreateTableStyle() related to the AOO fix for #i120723#Tor Lillqvist
Change-Id: Ic2eadf1942927efb6a6b209db591e869b61362f4
2017-10-26Don't abbreviate "First" as "Fst"Tor Lillqvist
Change-Id: I16726fbc8bf4f67fe1018d54437d59b715738bfe
2017-10-26blind attempt to fix build on big endianDavid Tardon
Change-Id: I4dc2d5a5fbbded5f4c7a1417c150fe6b1a73a69d
2017-10-26New decimalSeparatorAlternative, LocaleDataItem2, XLocaleData5, tdf#81671Eike Rathke
... and LocaleData2 service, which is necessary with new-style services because optional interface at published service is not possible. Change-Id: I77703243a961b5385eaea146e4c9c42d5f30e1ad
2017-10-26Add test for o3tl::saturating_addStephan Bergmann
Change-Id: I19bb1d566bd80f859810b4023d965c8fd80b98f2
2017-10-26Make loplugin:implicitboolconversion find the same in C++17 and pre-C++17Stephan Bergmann
...see a2d814ac1d7beb6fbe4b9cb7b75814f4b08b8e59 "loplugin:implicitboolconversion" and 24eeb4d286471e4a2103c15efc624a565112ca32 "loplugin:implicitboolconversion" for things previously only found in C++17. As expected, no further occurrences were found. Change-Id: Id0ab621b82dc3c40c8b5801413fceb73ade1408a
2017-10-26Use compat::getSubExprAsWritten; clean upStephan Bergmann
Change-Id: I8f984c3b3833437f6b4d65ab99da608a6868ff74
2017-10-26ofz#3816 Integer-overflowCaolán McNamara
Change-Id: I899df8d0609d6a3c55d130cffc5b1b23eebece13
2017-10-26rename createOnShotInstance->createOneShotInstanceNoel Grandin
Change-Id: I8848784cd867714019f90bb7fc57ca7289e51f81 Reviewed-on: https://gerrit.libreoffice.org/43873 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-26tdf#31814 EMF/EMF+ implement dual modePatrick Jaap
There can be a dual mode flag set in the EMF+ data. If set, we should process either EMF or EMF+ data, because the contained information should be equal (says the documentation). The more advanced EMF+ renderer is chosen here. The flag is read in the EMFPlusReader and blocks the reading of other EMF records than HEADER, EOF and COMMENT. Thanks to Chris, for pointing out the dual mode! Change-Id: I8522930cebbb9e9ecc732397cbb3deea9e8c9127 Reviewed-on: https://gerrit.libreoffice.org/43122 Reviewed-by: Patrick Jaap <patrick.jaap@tu-dresden.de> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
2017-10-26ofz#3820 Integer-overflowCaolán McNamara
Change-Id: I620b0278273e285100fe44d252389e6393a2022c Reviewed-on: https://gerrit.libreoffice.org/43877 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-26ofz#3793 Divide-by-zeroCaolán McNamara
Change-Id: Ica00209bc6679edaa0c83fc7d31bd5d4653b5e96 Reviewed-on: https://gerrit.libreoffice.org/43879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-26cid#1420316: Try silence CONSTANT_EXPRESSION_RESULTStephan Bergmann
(or does the comment need to go exactly at the line before the one containing the "return" token?) Change-Id: I5f92e59ee05d0b5ba3d6bda775e6ca02f185dbe8
2017-10-26iOS added menu entriesjan Iversen
Added Copy/Move/Delete since this is the only way to access the local storage. Change-Id: I9b054a4f23d32d5220ae500a37b52cb7e7a8587c
2017-10-26iOS added select local/iCloud storagejan Iversen
Added button in Document window, to signal if working local or in iCloud Change-Id: Ib33b67c95dfad466664e2289390ea577ba5e3391
2017-10-26Fix CppunitTest_services for constructor-based implementations...Stephan Bergmann
(i.e., using constructor="..." in the .component file) that implement multiple services, but are not implemented as single-instance objects (i.e., always return different objects from that constructor function). In that case, the "factory" would be the object itself, and would thus be different for different instantiations of that implementation. erAck ran into such a case with new code he's writing. Change-Id: Ib134a4c6d1400b43a7df3cf6a115f8206fb80c93
2017-10-26tdf#77961 regard layout-grid-print as off when missing.Mark Hung
Change-Id: I8404ebed8ba84ee83528310ee63f796356674553 Reviewed-on: https://gerrit.libreoffice.org/43830 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Hung <marklh9@gmail.com>
2017-10-26tdf#111846 Find & Replace: Rename diacritics and kashida optionsJim Raykowski
Change-Id: I1657b84d613b28d5762057954069d2a2fe2e3ab2 Reviewed-on: https://gerrit.libreoffice.org/43103 Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Heiko Tietze <tietze.heiko@googlemail.com>
2017-10-26array_view std::hash override should be constNoel Grandin
Change-Id: I8ffdf86e98e261b337cfa81b1be0cb64539c9a9c Reviewed-on: https://gerrit.libreoffice.org/43871 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-26Fix o3tl::saturating_add for negative bStephan Bergmann
Change-Id: I665f6c2f94b6c03d6fb5136fff3054ad6f0ca962