summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-31Resolves: tdf#146722 Force row label for single text with numeric to the rightEike Rathke
Note this *might* break other uses of the non-deterministic automatic labels where exactly this constellation previously lead to a column label. For which expecting a column label though makes less sense.. Change-Id: Id85df7485f9b71620d8cbc404a981852d1567a54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129187 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-01-30Update git submodulesStanislav Horacek
* Update helpcontent2 from branch 'master' to 05845e7cdac8b52eef41070a2f05445396058b92 - fix format of UnoProperties method syntax Change-Id: I50ee4de218b1236283e3aaf76137edb8b79fb062 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129123 Tested-by: Jenkins Reviewed-by: Rafael Lima <rafael.palma.lima@gmail.com>
2022-01-30tdf#108910, tdf#125496 - read/write index entries using utf8Andreas Heinisch
Always write an index concordance file using the utf8 encoding and read the index entries using the appropriate character set which is either utf8 or the os thread encoding. Change-Id: I5b30f4749f635bd51d8f0933ce5029d5303aef3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128745 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
2022-01-30use more concrete types in chart2, DataSeriesNoel Grandin
Change-Id: Ida984d1701e2426958127845418365f6645a9043 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129161 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30cid#1497923 Logically dead codeCaolán McNamara
and cid#1497924 Logically dead code Change-Id: I548c09b2394e263d88a48fe97490f5b63d7d693a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129171 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-30ofz#44207 Integer-overflowCaolán McNamara
Change-Id: Ia3cace5df71ec9dbf17d06f3c21b65a87025bfd5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129172 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-30Mysql/MariaDB: remove useless include+using + unused vars in mysqlc_connectionJulien Nabet
+ replace one time used define MYSQLC_URI_PREFIX Change-Id: Ia2ad5b2883f5f417bdbdcc7b39055bd5454c10f9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129174 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-30ScriptForge - (SF_Session, SF_Document) add arguments to RunCommand()Jean-Pierre Ledure
Next wiki page https://wiki.documentfoundation.org/Development/DispatchCommands facilitates the use of commands with the DispatchHelper service, including with arguments This commit - adds the RunCommand() method in the Session service - extends the scope of existing RunCommand() methods for the Document, Base, Calc and Writer services with the addition of command arguments Syntax by examples: (Basic) session.RunCommand("BasicIDEAppear", _ "Document", "LibreOffice Macros & Dialogs", _ "LibName", "ScriptForge", _ "Name", "SF_Session", _ "Line", 100) (Python) (1) session.RunCommand("BasicIDEAppear", "Document", "LibreOffice Macros & Dialogs", "LibName", "ScriptForge", "Name", "SF_Session", "Line", 100) (Python) (2) session.RunCommand("BasicIDEAppear", Document = "LibreOffice Macros & Dialogs", LibName = "ScriptForge", Name = "SF_Session", Line = 100) Change-Id: I60cd5eb1ed0a057420215ce7aebe92b2aafabd53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129175 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-01-30Recheck modules [o-r]* with IWYUGabor Kelemen
See tdf#42949 for motivation Change-Id: I6b4b05a5e59b256653c4caf5297fffd601b45083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128845 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-01-30use more concrete types in chart2, RegressionCurveModelNoel Grandin
Change-Id: Ib4a5198f425577307ba437c73c61408b88d83dc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129160 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30Resolves: tdf#147013 transform the control point positions tooCaolán McNamara
Change-Id: Ia73317a79de66778d4b2d0face07ee4c41e328d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129157 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-30tdf#132388: reimplement fix for tdf#142487Mike Kaganski
Each call to css::i18n::XTextSearch::SearchForward transliterates input string, making performance of repeated calls unacceptable. So prepare the transliterated strings once, and use the offset sequence to map search results to indices into original string. Change-Id: Ie08dd5a408aca9a950067db285a480b41a3f9a16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129162 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-01-30use more concrete types in chart2, DiagramNoel Grandin
Change-Id: Ieaee7c8381c19e3bfd3560d2f674bebf49afac56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129156 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30animations : use cppuhelper::BaseMutexArnaud VERSINI
Change-Id: Ife2b5480ad26c01388f5803f1cc5ae1e9e44a123 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128842 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30use more concrete types in chart2, LegendNoel Grandin
Change-Id: Ib6bff730c50fdda095482f2ebf2c4e7b63b0e26b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129155 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30use more getChartModel in ChartControllerNoel Grandin
avoids some unnecessary dynamic_cast Change-Id: I7389fd793c295d52cb6eb1b946199a2887544512 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129154 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30Resolves: tdf#146994 InitOwnBlockMode() with current mark range or cursor posEike Rathke
This sets specifically the end position to the correct value. The start position and dependent logic if meBlockMode==Own is re-initialized in MarkCursor() via InitBlockMode(). Unfortunately that (calling MarkCursor()) happens after the end position was incremented in ExpandBlock(), previous with the wrong values. This new own block mode init now also makes it possible to expand/shrink the marked range after a paste or undo/redo, as it would be expected for any existing selection. Change-Id: Id26e4aa32896ec0c714e33b99dbf6702df144995 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129158 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
2022-01-29SwNavigator: fix HasContentChanged always returns trueJim Raykowski
when there are outline nodes in the frames, headers, footer section of the document model When outline nodes are in the frames, headers, footers section of the document model the outline content array, used to fill Writer Navigator content tree outline content type members and determine outline content change, will likely differ in order to that of the document model outline nodes array. Outline nodes in frames, headers, and footers section of the document model are placed at the beginning of the document model outline nodes array. Writer outline content array members are placed in document appearance order. This patch is done to correct comparison of old outline content array members to current outline content array members to determine outline level change. Change-Id: I5047aa0491a9d0f170fe61f381bf0982f97ff906 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129063 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-01-29tdf#147041 Always show navigated heading at top of visible view areaJim Raykowski
Revert to pre commit 1df2581cfffc87386c6de7614793b2d664244e5a behavior Change-Id: I06fe630bf0c0e611351e0e9a56361a3028f207d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129129 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2022-01-29cid#1497868 Logically dead codeCaolán McNamara
given the surrounding bIsTiledRendering conditional Change-Id: Ic4853f0f840ca2b50937c29f5399b981c5f9bde2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129131 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: remove stray xalignCaolán McNamara
Change-Id: I6a54b1547dbf78ec285dee59893ed3a899285997 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129152 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: dlsym hack for gdk_wayland_window_set_application_id not neededCaolán McNamara
Change-Id: I66b6c0157759caf20df9af1642e0f5488d47dc22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129151 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: remove stray label_yalignCaolán McNamara
Change-Id: Ia1eb3fe4fac9511c4d0b531bdbc722e420a96f1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129150 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: remove stray xalignCaolán McNamara
Change-Id: Ie4dbcdd97f815760370babb225c0cb287fecf1bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129149 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29tdf#146876: sd_layout_tests: Add unittestXisco Fauli
Change-Id: I4df3b153750be8d650f2c3b0ea5bd840b4397c27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129134 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-01-29CppunitTest_sd_layout_tests: use CPPUNIT_TEST_FIXTUREXisco Fauli
This file is relatively new, convert it to use CPPUNIT_TEST_FIXTURE before it grows more. it's clearer and faster when writting new tests Change-Id: I15485642d64e5e3ed628155ffac4cfc70e8c3451 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129132 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-01-29used TypedWhichId in the constructor of various svx *Item classesNoel Grandin
to act as an extra check that we have the association of Item and TypedWhichId annotations correct. (*) requires that I add an upcasting constructor to TypedWhichId (*) Make the field dialog stuff in writer use a new item id FN_FIELD_DIALOG_DOC_PROPS instead of abusing the existing SID_DOCINFO Change-Id: Ica4aea930c80124609a063768c9af5a189df1c27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29gtk4: remove unwanted caps-lock-warning from GtkSpinButtonCaolán McNamara
Change-Id: I723b13a5b012a89379cf6984a2b0fdd44ae932f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129148 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: stray accidental GtkActionCaolán McNamara
Change-Id: I9b0bd6608e0ead79aba8957a8e19ddd5e9094c66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129147 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: remove stray xalignCaolán McNamara
Change-Id: If1b09a8697a813e5b5bca55f84d1c816a2081e68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129146 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: GtkStatusbar no longer has spacingCaolán McNamara
so move the contents into a GtkBox which does Change-Id: I1ecbe91731fbd6c967e02cfc663a3855030c6796 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129145 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29resave with latest gladeCaolán McNamara
Change-Id: I49bd7743b9c17fcc84866eba52103fb35ba907d8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129144 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: drop unnecessary stray 0.5 yalignCaolán McNamara
Change-Id: I931332b95f96091b82944f5ef02420ea336c22b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129142 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29resave with latest gladeCaolán McNamara
Change-Id: Icfa6ebf920491c811fee969c3a4620804a0ca48c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129141 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29unwanted 'end' vertical alignCaolán McNamara
Change-Id: Ia1c6f0182f5006b68c6d963f41f53f7c0a8ae128 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129140 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29resave with latest gladeCaolán McNamara
Change-Id: I7b8c189e5949c2266ea079eefa3239e4b801bb1a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129139 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: remove stray 'gravity' propertyCaolán McNamara
Change-Id: Ia68e3d96a7fbc381fc4215800b33dd21d2a38119 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129138 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29gtk4: implement create_screenshot_windowCaolán McNamara
Change-Id: I7c99ead4a7a3107039d5ec096ad4a96463a8a432 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129137 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29use more concrete types in chart2, LegendNoel Grandin
Change-Id: Ifbf8ddd92eacd4caaf6fdaa061821222e543a1a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129133 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29avoid dangling tmp files in hwp importCaolán McNamara
if there is embedded data use office-binary-data to transport it instead of a temp file https: //issues.oasis-open.org/browse/OFFICE-3933 Change-Id: Ia1cebf0770c99210df09f03dbb507451d9cf7764 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129114 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29no need to call GetWhich on these SID_ valuesNoel Grandin
none of them are remapped (via the SfxItemfo stuff in the pool) Change-Id: Iefd38f1aac55e6059e2c57d102efb508bd1572b0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129090 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29use more concrete types in chart2, ChartTypeNoel Grandin
Change-Id: I78fe27e14993b7a6e5d27662282241b3007ac03e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129113 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29CppunitTest_sw_rtfexport*: remove unused includesXisco Fauli
Change-Id: I38a439709b9a0c6a1298f21bdb9bf19c5121b827 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129127 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-01-29Fix typosAndrea Gelmini
Change-Id: Id74af6775a04fee013df6a02b0261155908dc22f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129122 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2022-01-29crashtesting: failure on import of ooo64618-1.odsCaolán McNamara
since: commit 98f360b261d7b36fa63b10fadb86cf6f381cbd36 Date: Fri Jan 21 18:43:59 2022 +0200 use more concrete types in chart2, BaseCoordinateSystem where the old situation was that the empty xDiagram caused Reference<XCoordinateSystemContainer> xCooSysCnt(xDiagram, uno::UNO_QUERY_THROW); to throw and get caught in the catch block of this try Change-Id: Id38793c28ccaf03bb84a7e8939ab76400092f002 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129125 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29use mktemp for FAKEDBRPMCaolán McNamara
Change-Id: I53d0f027b60d681e16298531e3d890fafc43aea6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129062 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2022-01-29use more concrete types in chart2, ChartModelNoel Grandin
Change-Id: I3c8ec5e24cae9b44164b0ad32623cfe3c42d553e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129112 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29svx textcharacterspacingcontrol: allow smaller kerningJustin Luth
On of the options in the kerning list is "very tight" which sets a -3 pt kerning. However, the custom spin button only allows down to -2 pt. Certainly we need to allow the user to adjust as much as the other options allow, and it only makes sense to allow as much negative kerning as positive kerning. Additionally, this field is supposed to show the REAL current value - which it can't do if the range of values is too limited. Finally, we can't pre-focus "very tight" very easily if that spin button cannot match the "very tight" value. [Based on testing, a too-small kerning gets treated as the smallest-possible-kerning and doesn't cause real problems.] In terms of positive kerning, the real maximum pt value seems to be 1638 before the denormalized version of it hits the sal_Int16 maximum and then starts wrapping over into minimum values. Change-Id: I465fcd0bbf3ca310b203004b46632a9a1ee01a6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128984 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
2022-01-29fix loading file with very large number of stylesNoel Grandin
where nCurrentPosition was wrapping around Change-Id: I839215f3138d58884f03509b6341147ef28edb4c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129108 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29CppunitTest_sc_subsequent_filters_test*: remove unused includesXisco Fauli
Change-Id: Ibd0e6e903622bba468dfffd019b19840caea97bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129128 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>