summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-07-10Postpone filter detection until link update is allowedMike Kaganski
Change-Id: I85b2185e550f2a133ceb485241ef513b40593e34 Reviewed-on: https://gerrit.libreoffice.org/75301 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-10fix HRESULT_FROM_WIN32 can not be placed inside switch for SDK8.1nd101
For Windows SDK 8.1 HRESULT_FROM_WIN32 is defined as an inline function without the constexpr, which is required for case statement inside a switch. Change-Id: Ibb195ef900926d87ff04f82a6d73112b8858f633 Reviewed-on: https://gerrit.libreoffice.org/75111 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
2019-07-10tdf#126255 compare the URL of the exported fileJan-Marek Glogowski
xDocSh contains the original loaded file. Change-Id: Idfe15ebd637b55590ba25c521904fbb7406a6a9a Reviewed-on: https://gerrit.libreoffice.org/75328 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-10Fix CppunitTest_sw_ooxmlexport3 on systems with DPI scalingMike Kaganski
... after commit 3f7e8ddea89f6340cd18b5b34f5a7c5f503962be The tests are DPI-dependent, and failed on systems with DPI other than 96, so take that into account. Change-Id: I0297aab7988c3b78cbd3132f21e5a101bc32c1f6 Reviewed-on: https://gerrit.libreoffice.org/75302 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09NB writer tabbed_single: fix wrong alignment of commandsandreas kainz
Change-Id: Ic5001f86cfb0b403fd05aa2609ebb395a9e514b1 Reviewed-on: https://gerrit.libreoffice.org/75250 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-07-09tdf#126255 handle _WIN32 with different drive lettersJan-Marek Glogowski
Copying the source comment: if the exported document is not on the same drive then the linked document, there is no way to get a relative URL for the link, because ../X:/ is undefined. Change-Id: Ic83be54d878f968daa027918ce0f588774044a94 Reviewed-on: https://gerrit.libreoffice.org/75306 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-09sw comments on frames: fix comment handling when changing at-char anchorMiklos Vajna
If the user drags the at-char image and the anchor changes, then need to update the comment anchor (and its annotation range) as well. Use the same API that's used by SwTransferable::PrivateDrop(), except work with doc model positions, not with screen coordinates, like drag&drop does. Change-Id: Ib9610b3eddc77f9973b68a1c5c8cdbe1f7079ab9 Reviewed-on: https://gerrit.libreoffice.org/75312 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
2019-07-09Simplify Sequence iterations in svxArkadiy Illarionov
Use range-based loops, STL and comphelper functions Change-Id: If6d190cf72b8653c1c3fbe9a6a6e47f10f1a6765 Reviewed-on: https://gerrit.libreoffice.org/75255 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
2019-07-09SmartArt: improve organization chart layoutGrzegorz Araminowicz
layout shapes in two steps: * first calculate vertical child shapes count for every shape (taking into accout hierBranch alg variable) * then actual layout using that count to calculate size for subtrees Change-Id: I2e5ca34ed3383aa9502c52511cc1fb2bee215572 Reviewed-on: https://gerrit.libreoffice.org/75195 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-07-09tdf#126243 DOCX: export/reject tracked paragraph style changeLászló Németh
Fix loss of rejection data (w:pStyle in w:pPrChange) during DOCX export, also fix missing rejection of tracked paragraph style changes during editing. Change-Id: I8e6dc4e6d14e3237ff82d370f55031dcc12418c0 Reviewed-on: https://gerrit.libreoffice.org/75303 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2019-07-09Require cmis-client 0.5.2 and newerTomáš Chvátal
With older releases the C++ 17 will not work and the configure would error out with weird message. Change-Id: Ife83669f0b55d3b013ca33f0b2a2709884309d5d Reviewed-on: https://gerrit.libreoffice.org/75217 Tested-by: Jenkins Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-07-09mxShape.is() is always true hereMike Kaganski
Change-Id: I30b11b0291ef4cbf793352b0b23b04857892a714 Reviewed-on: https://gerrit.libreoffice.org/75297 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09make tools::Rectangle::shrink respect empty stateNoel Grandin
and make non-inline so it is easy to disable this for debugging, if need be Change-Id: Id529037e82b2fdd8c2120877a44fc7e069fc8406 Reviewed-on: https://gerrit.libreoffice.org/75298 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-09Qt5 / KDE5 don't require qt_version_tag symbolJan-Marek Glogowski
Thanks to the extensive debugging information by the reporter of tdf#126272, I found the embedded Qt5 version tag: $ objdump -T libvclplug_qt5lo.so | grep qt_version_tag 000000.. DO *UND* 000000.. Qt_5.9 qt_version_tag So even if we try to stay Qt 5.6 compatible, this adds a dependeny to the build Qt version. But fortunatly this symbol dependency can be prevented by using -DQT_NO_VERSION_TAGGING, which this patch does. We still can't be sure we don't use newer symbols, but this way we won't prevent running with older Qt versions at all. Change-Id: Ia85c14f888d9743645909f59867b7ad568dc6f42 Reviewed-on: https://gerrit.libreoffice.org/75280 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-09Revert "Fix typo"Julien Nabet
This reverts commit af61870279db31da2a278c953feab9162794b543. Change-Id: I86a37a3d521c35cae818104029bcfc341721baed Reviewed-on: https://gerrit.libreoffice.org/75293 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I2a50d07366a95aa9049fd2dea5010f2d6c8e969c Reviewed-on: https://gerrit.libreoffice.org/75262 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I6b9a8792f6144f93abadec7460aa329e7e742054 Reviewed-on: https://gerrit.libreoffice.org/75261 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I4efa5bb95340108b6793740b081c8f432d385906 Reviewed-on: https://gerrit.libreoffice.org/75268 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I8d5cc10c7b405a56456ad58a854e5dcdc7ee7bd6 Reviewed-on: https://gerrit.libreoffice.org/75259 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09Fix typoAndrea Gelmini
Change-Id: Ie99ce43033c5109ce5090c6f9228219899ced421 Reviewed-on: https://gerrit.libreoffice.org/75267 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09tdf#126030 Translate automatic chart title in OOXML chartsGabor Kelemen
Add l10n support to oox module to achieve this Change-Id: I7bece62bdf5ef0f0d1ef424074f16cef94649d77 Reviewed-on: https://gerrit.libreoffice.org/74819 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-07-09tdf#121793 use cairo_path_extentsNoel Grandin
instead of cairo_fill_extents, which is fairly expensive for drawPolyPolygon fill operations. Shaves about 10% off the CPU time for this bug Change-Id: I04d04eed1bb204f51537f0856844b337c5a4d54c Reviewed-on: https://gerrit.libreoffice.org/75287 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I588cf3dbcfc9ed0ac03b710379d6277298d65cd6 Reviewed-on: https://gerrit.libreoffice.org/75270 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-09tdf#111707 Move duplicated code into shared methodSamuel Mehrbrodt
Change-Id: I4b61ed876410662b5f85be0032b2fc8def456dd9 Reviewed-on: https://gerrit.libreoffice.org/75286 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-07-09tdf#125355 Beanshell Editor: Corrected indentation when Enter is pressedAndreas Heinisch
Change-Id: Ife96256da02c4b21e2649040c53b7d16f236e3a0 Reviewed-on: https://gerrit.libreoffice.org/73371 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-09tdf#111707 Only remove the selected hyperlinkSamuel Mehrbrodt
Not all hyperlinks in current text box Change-Id: Ia4ceeaeec776244e81b2c8fc401f7582a17d372f Reviewed-on: https://gerrit.libreoffice.org/75229 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-07-09tdf#42949 Fix IWYU warnings in sc/incGabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. New IWYU and recent developments in f-u-i helped to identify some non self contained files, those were fixed too. Change-Id: I3b33b0dee7d7c9afc136510898039cab53990ddf Reviewed-on: https://gerrit.libreoffice.org/74980 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-07-09tdf#126173 RTF import: fix lost SHAPE fieldsMiklos Vajna
Commit 5a5d55a8a0f82406a8001015a723596f21d3562c (fdo#82860 RTF import: fix handling of SHAPE fields, 2014-10-15) already tried to handle this, but aCode is the shape command + its parameters (SHAPE \* MERGEFORMAT) for the bugdoc, while what we want is just the shape command. The field variable already contains a tokenized version, which was used previously only to decide if a field is unhandled or not. Reuse that for the shape comparison, so bugdoc's shape with parameters also appears. Change-Id: I7e044b94bcfab490c956b33c11dd6c69443939f5 Reviewed-on: https://gerrit.libreoffice.org/75243 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-07-09use the specific header file for the SSE/AVX in intrin. detectionTomaž Vajngerl
x86intrin.h is only available for gcc/clang, specific headers are available in all compilers (if they support that specific intrin. at all) Change-Id: Ic6dec052c150032f67ae76e0ca362c4bc77b55b0
2019-07-09Fix typoAndrea Gelmini
Change-Id: I1395f7ee7f766504d0d1d58f01f32cac9b47d6cc Reviewed-on: https://gerrit.libreoffice.org/75223 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I03ab598b2d1e0b5c5969e8bb9e2700c6ada8864a Reviewed-on: https://gerrit.libreoffice.org/75269 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I176857689f0594ba2814b419a0ec1f8ce3423c2a Reviewed-on: https://gerrit.libreoffice.org/75260 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I8319d3350fd5c9f6738ad6329dbd8a2252809515 Reviewed-on: https://gerrit.libreoffice.org/75266 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I20328956a55aa717b898ff5f77d4353de4182de5 Reviewed-on: https://gerrit.libreoffice.org/75265 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: Ia580a674e6204fe81b919db67def8b7834f4c0db Reviewed-on: https://gerrit.libreoffice.org/75263 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: If4e37c0d4b93ba42e95dd1977e2ae53cd7452ce2 Reviewed-on: https://gerrit.libreoffice.org/75264 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix typoAndrea Gelmini
Change-Id: I5fee961beeb7cc18f767a61a3b7d65bb4e07f47c Reviewed-on: https://gerrit.libreoffice.org/75257 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-07-09Fix Android build after commit fc0850d2784eaa79257cf1ea8c5d078c5241b5bfMike Kaganski
The second parameter is unused Change-Id: Iaf82ea24737a162c6aa8ce6b9e237f656a10020a Reviewed-on: https://gerrit.libreoffice.org/75283 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09Fix Windows x64 build after commit f43f9b99603736a4d54f550052509eb5f4d04b45Mike Kaganski
... and Windows x32, if it's built with sse2 baseline (will be the default when we drop support for Windows 7). Change-Id: I2e125b49906d7e81b3e8d825b11e28e9b096e1d5 Reviewed-on: https://gerrit.libreoffice.org/75282 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09fix android build - fallback getCpuId only had one parameterTomaž Vajngerl
Change-Id: I91c679506aad727c7f536e79e79a720db860b5ae
2019-07-09CPU intrinsics detection (SSE, AVX)Tomaž Vajngerl
Adds CPU intrinsics detection in configure pass for compile time detection and "cpuid" runtime detection of which CPU instruction sets are available on the user device. Change-Id: I0ee4d0b22a7c51f72796d43e7383a31d03b437ad Reviewed-on: https://gerrit.libreoffice.org/75175 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2019-07-09Optimize osl_getSystemTime on WindowsMike Kaganski
Make OffTime static const; don't cast from FILETIME to __int64 (see https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime for explanation: "it can cause alignment faults on 64-bit Windows"). Instead, cast in opposite direction: from 8-byte-aligned 64-bit integer to FILETIME. Change-Id: Iba61cc0198f8f25ef471d87e661c8801724b913d Reviewed-on: https://gerrit.libreoffice.org/75256 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09Use constexpr ctor to simplify TimeValue initializationMike Kaganski
Change-Id: Ie2588659c3eb34faf8311c25644b59e363cee66b Reviewed-on: https://gerrit.libreoffice.org/75254 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09NB tabbed_compact sd apps fix wrong DrawText commandandreas kainz
Change-Id: Icdad248e46172ba161de86bfb3f4edae4ef43139 Reviewed-on: https://gerrit.libreoffice.org/75251 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-07-09Replace array with initializer list in QuickHelpData::FillStrArrArkadiy Illarionov
1e4fa857873c0bc728143087ec692c4b75aaf820 follow-up Change-Id: I788d3516d363820d6d49d7443ad99640bd3248bd Reviewed-on: https://gerrit.libreoffice.org/75244 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-09NB add contextual single support for impressandreas kainz
Change-Id: Ie51bfcc81843ef21d83042dbaf409e6dab99b3c2 Reviewed-on: https://gerrit.libreoffice.org/75247 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2019-07-08tdf#126279 related: remove locks from NeonLockStore after NE_AUTH errorMike Kaganski
Change-Id: Idbbb9bb215e3a56e72a29f798c5a5f84afaf2213 Reviewed-on: https://gerrit.libreoffice.org/75224 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-07-08tdf#126266 adjust calculations for invisble tabsJan-Marek Glogowski
This skips invisible tabs in many more places and at least fixes the osx bug of the missing tabs of the NBB. It also fixes the multiple highlighted tabs assertion for multiple rows from TabControl::ImplGetItem. I'm quite sure the tab rect calculation for multiple rows still has the wrong height, so there might be minor overlapping. Change-Id: I3a0a06ee73204b98e367563700fce4a49c066c1a Reviewed-on: https://gerrit.libreoffice.org/75230 Tested-by: Xisco Faulí <xiscofauli@libreoffice.org> Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-07-08tdf#39593 Reduce copy-paste in XRow_impl::get* some moreArkadiy Illarionov
Add value initialization to template Change-Id: I89ff656bfd5df56ead7e976ff3b532ddb662c374 Reviewed-on: https://gerrit.libreoffice.org/75169 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>
2019-07-08tdf#39593 Replace copy-pasted functions with templateArkadiy Illarionov
Change-Id: If61852ec6294a7b411fe506b46c6bea3c000b055 Reviewed-on: https://gerrit.libreoffice.org/75168 Tested-by: Jenkins Reviewed-by: Arkadiy Illarionov <qarkai@gmail.com>