summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I6546ef38c6e84193c00ea5fcac621fdec93e0ab7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121593 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I626eb1847484f7bc6af7eed45b891307718c5263 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121596 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I47934f5a6b34ef0f495098f78c53c088bf5152e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121595 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03Fixing Unicode Arabic LiteralsHossein
Some Unicode literals are now available inside the LibreOffice code, so I think we can use Arabic Unicode literals directly inside LibreOffice code. It is more intuitive, and gives better insight to those who develop to understand what a foreign language script should look like. This patch consists of two things: First, converting a Unicode literal that was consisting of \uxxxx characters into an Arabic Unicode literal; Second, fixing an Arabic literal that was converted to shaped characters instead of normal Arabic characters. Change-Id: I11003cc471b2c83098cb0ebc4f4085771a132ecc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121164 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I3a45c8141b9f824c985dcf1aaac5d1aa45c0f70d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121575 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I6cd0e9b518bf6f40e0221fd2e9f3c5fb6199e14f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121574 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I9f67d463958e3b3ce88b771dd8ca0f71f7393e32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121537 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: Ib703febb7e632ec4ae18756065a1c60ffc75569e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121590 Tested-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I3ea65a72567e934325e24ff658fc1b9c0468abcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121591 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: Ibd35c1aee4324620fb7ae17e20027057f1934c6a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121573 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ScriptForge - add AddTextsFromDialog and GetTextsFromL10N methodsJean-Pierre Ledure
The objective is to facilitate the automatic translation of all fixed texts in dialogs and dialog controls. Concerned items are: - the title of the dialog - the caption associated with next control types: Button, CheckBox, FixedLine, FixedText, GroupBox and RadioButton - the content of list- and comboboxes - the tip- or helptext displayed when the mouse is hovering the control ScriptForge.SF_L10N.AddTextsFromDialog(dialog) store all fixed texts of the dialog in the list of translatable strings of a L10N object to prepare a POT file SFDialogs.Dialog.GetTextsFromL10N(l10n) get the translated versions of all fixed texts in the dialog from a L10N object and apply them on the dialog before display Both methods are executable from Basic and Python user scripts Change-Id: I3dc9fbbce287d7af4040df713f9d11e0ff928b1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121514 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2021-09-03Update git submodulesOlivier Hallot
* Update helpcontent2 from branch 'master' to 844431301fc078c697a22b332531369caa00612b - Revert "Create guide about Calc macros to format cell borders" This reverts commit ce0d3ff57a732b1f89f88b5f0c4cbb22e0d050c3. Reason for revert: new file in wrong position Change-Id: Icebc9502ad250493c704d309eefeb388f6118c11 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121554 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-03Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to ce0d3ff57a732b1f89f88b5f0c4cbb22e0d050c3 - Create guide about Calc macros to format cell borders Change-Id: Ia7bbbf25322775e3a291fcb474079b2e2bc4e41e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121461 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-03Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to 5dd44ff1d347e6aea29315d4acd1f42ad08d2d4a - tdf#125244 Fix instructions about Trend Lines in charts In the past it was possible to add trend lines for all data series at once. However this behavior changed and documentation had not been updated. Change-Id: I8c0e93a4d8e35aadc5e2454d49adff572fdf3028 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121552 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-03Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to ff74220156e7dbf65d27d43759922c64130ee66b - tdf#121613 Add information about Adjacent Cells Change-Id: Ia16b0dd8c1cd7ae157b16c180fcd6737f58e7f4d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121415 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-09-03simplify ApplyDXArray method paramsNoel Grandin
pass only the required data to it Change-Id: I849780371b71d3620dc36681453f5dbe1527b7bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121577 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03No need to check DBGUTIL speciallyMike Kaganski
... as discussed in comments to https://gerrit.libreoffice.org/c/core/+/121470 Change-Id: I9be45e2157972156ab7c2aac820b69aa894cacfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121553 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: If1db8debe4f3b3dc6a8890b03ee8d2d70cc63a69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121572 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03clang-tidy:readability-redundant-member-initNoel Grandin
Change-Id: Iede70151af052505b780c6ce708aa74d97da5c75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121545 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I00531cdb266c4277af742cee6ce5d05f0ea3334e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121523 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03cid#1490898 Unchecked return valueCaolán McNamara
Change-Id: I49124165e0d00d84f3ebdb0414d6db58f6da1209 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121519 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: Ie4fe1a4d346d3b790349132460b9efcc448d0eb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121551 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I71d3b07c7ca2467b7bc1db5350dbdeb1f8910cb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121478 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I6a8dd39528038fbcc496e56d6fcefc4ec8db68cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121536 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03Resolves tdf#120333 - Access to color palettes via tight extensionsHeiko Tietze
Change-Id: I3311115854a29eaddf76b847642250626b7032ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121498 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
2021-09-03tdf#131548 Android: jump to cellIlhan Yesil
Added LOK_CALLBACK_SC_FOLLOW_JUMP: fire this signal to jump to cell cursor in android viewer. Payload format same as LOK_CALLBACK_INVALIDATE_TILES. Change-Id: Ic896baccf1327d6ccdf104811446e3454a42679e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116448 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-09-03clang-tidy:readability-redundant-member-initNoel Grandin
Change-Id: I47cc5416e853260d92b8b2c57b1c223d1f21df0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121544 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03indexing: add indexing xml as a format for writerTomaž Vajngerl
Needed so we can run "convert-to" service with COOL to produce indexing XML documents. Change-Id: Iabb77bd562a3307d0d20769a77f069e5250028ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121540 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2021-09-03no need to allocate SeriesMinMaxType separatelyNoel Grandin
Change-Id: I7121375a6bf731f8d30f69aa8c90b102675a8bb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121531 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: Ifbbfc5ea8d53fc81b22e9104cd6aea10aad12583 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121504 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03cid#1490899 Unchecked return valueCaolán McNamara
presumably we don't care about the ret value here Change-Id: I0600838fa4c50901b24dcb63d2a304a8894e6701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121518 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03check stream stateCaolán McNamara
Change-Id: Id096abd3dee2584a3afa01d7ce005ed74a224a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121495 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I3eaf680052ada10b6a6e8fded6e806d6045d0fac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121538 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03drop SwDocTest::randomTestCaolán McNamara
it fails sometimes, we have a bug there of some kind, no one has fixed it yet in all this time and causing failures on unrelated changes isn't getting us anywhere warn:sw:7502:7502:sw/source/core/doc/DocumentRedlineManager.cxx:109: redline table corrupted: overlapping redlines cppunittester: sw/source/core/doc/DocumentRedlineManager.cxx:112: void (anonymous namespace)::lcl_CheckRedline(IDocumentRedlineAccess &): Assertion `std::is_sorted(rTable.begin(), rTable.end(), CompareSwRedlineTable())' failed. Change-Id: I90fe4b4e323a8c00285eab6739af5a6e1ece3838 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121535 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara
Change-Id: I7cd46af148471de516860046c04f71b6ae5fea89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121522 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-03clang-tidy:readability-redundant-member-initNoel Grandin
Change-Id: I6a2a36c28fafac7002fbe093b22ad186562ea5c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121543 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03tdf#88163 Fix WMF font sizeHossein
The problems in tdf#88163 can be categorized into two parts: 1. A regression which is caused by the commit a9020e461803964a206d5551884b70717eed165c. The font size for text is wrongly calculated for wmf files WITHOUT the placeable header. 2. A long-lasting bug that has existed from LO 3.5 (tested with various LibreOffice versions from 3.5 to master). The font size for text is wrongly calculated for wmf files WITH the placeable header. This patch solves the first part. In this patch the way wmf is scaled is changed using mnUnitsPerInch as a variable that controls the scale. The previous method was dividing the left/right/top/bottom fields of aPlaceableBound which caused the bad scaling of text. The second problem still remains, and possibly can be solved by usign the old scaling method that was previously used here (dividing pos values of aPlaceableBound), but the scaling factor should be calculated, which varies in different wmf files. More study should be done to solve this part. Values used for the example "visio_import_source.wmf" used in the test WmfTest::testNonPlaceableWmf() are slightly changed, but the rendering should not noticeably change, except the fix for the text font size. A new test WmfTest::testTdf88163NonPlaceableWmf() is added which checks for both font height and text boxes' positions. Font height can depend on the exact font that is used for Roman in the platform, so it vary between Linux, Windows and macOS. Thus, a range is used for ensuring that the font height is correct. By visual inspection, it is confirmed that this fix does not affect fdo#74336 and the fix for it still works for attachment 93188. Change-Id: I55bf38ba4345a0aa48c3e522976a2a5c32f7ec8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121272 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-09-03tdf#144155: Revert "tdf#36383 sc AutoFilter: fix changing row height"Xisco Fauli
This reverts commit 3678e0efcb8bedc58dd329a430da0ac3b1572df8. Conflicts: sc/qa/uitest/autofilter/tdf36383.py Change-Id: Ie1abd0cdea013571a27b187ffcb20125a0656442 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121512 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: Jenkins
2021-09-03tdf144058 sw track changes: fix table deletion at paragraph joinLászló Németh
Tracked paragraph join by table deletion left empty table in the text after accepting the changes, caused by the non-continuous redline range over the table, related to the copying of the formatting of the first paragraph to the (wholly or partially) removed paragraphs. Fixed by skipping paragraph format copying in the case of table paragraphs. Note: this is not enough for tables with inner redlines, where tracked paragraph join with deletion of such a table still leaves an empty table at the place of the table (a problem inherited from OOo). Regression from commit 1bbbe57dfc0b43d6b5444798d77dcdf5e4e76e49 "tdf#119571 change tracking: show layout changes at paragraph join". Change-Id: Ib3ff79c766b5e6faced796b9546d332bab4e0d94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121510 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org>
2021-09-03Remove some unused includesMiklos Vajna
See tdf#42949 for motivation. Change-Id: I62354cf2ae750a91b72e91ad838a40e205e7cd61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121526 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-09-03no need to allocat PptFontEntityAtom separately hereNoel Grandin
Change-Id: Id0b8c919bc35bb427a88c229d024a118437785f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121530 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03no need to allocate BSaveStruct separatelyNoel Grandin
Change-Id: Id14f525e84c22caa8f974f2f1d9f398f8d8e2df8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121532 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-09-03Update git submodulesRafael Lima
* Update helpcontent2 from branch 'master' to 95e6fe8d728b7981e4262e71646fd212da1775aa - tdf#63175 Fix description of Calc shortcut keys This patch adjust a few shortcut key descriptions and adds two new ones. Both shortcuts were reported by the user and they do work in LO 7.3. Change-Id: Iab697f5894ceb3bb6ff62c732139f2aff2ae9ec0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121471 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-09-03Update git submodulesAndrea Gelmini
* Update helpcontent2 from branch 'master' to cc703be0b95314adcf7de4c1c4a5e6e0631c2a2e - Fix typo Change-Id: I75613efd4b08164a495c8a5110d3cea016bc05cf Reviewed-on: https://gerrit.libreoffice.org/c/help/+/121541 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-09-03related tdf#137363: no NUMBERING_LEVEL 9(no-level) in paraJustin Luth
Remove the (fake) 9 from the direct paragraph formatting. Otherwise when numbering is applied it will start at level 10 instead of the proper level (as defined by the style). Change-Id: I26fdff36e4f3d3449a259918a7c57a76bae7d486 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121503 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org>
2021-09-03vcl: Migrate OutputDevice font functions to font.cxxChris Sherlock
Add unit tests for SetFont() and GetFont() Change-Id: I5b66cd5531aa0f9fd73357dd2a168d9c5b655b35 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121016 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-09-03Make sure to use debug options for firebird in debug modeMike Kaganski
Change-Id: I358bd2013387e9fb341d92764f29767d6c0c2cb8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121470 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-09-02ofz#38011 save and restore m_pLastAnchorPos via UnoCursorCaolán McNamara
when we do some operations that may delete paragraphs Change-Id: I2165dd287771f06c6d0fd061dd7659b06db4bd72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121511 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-09-02tdf#35129 a11y: Let SPINBUTTON have role SPIN_BOX, not PUSH_BUTTONMichael Weghorn
Change-Id: I3aaac19890a356e930203ecdb003edfbfed1b52b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121516 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2021-09-02do the same check on the same code pattern as was done earlierCaolán McNamara
in this same function Change-Id: I03a112e3e57549ec776e99a460544b575476528d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121496 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>