summaryrefslogtreecommitdiffstats
path: root/cui
Commit message (Collapse)AuthorAgeFilesLines
* Resolves: tdf#140254 don't expand the column with buttons if dialog expandsCaolán McNamara2021-12-031-4/+0
| | | | | | | Change-Id: Ic7ca17bb2df6de2107ddb7a2a935bf8b81d58607 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126327 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* some translations are searched for in the wrong .moCaolán McNamara2021-12-031-6/+6
| | | | | | | | | | | | | | | | | | | since... commit c895a6d8298a349784cd0aafff4bf518ac8d0a7d Date: Fri May 15 10:51:10 2020 +0200 Resolves tdf#132799 - Deleting of colors unclear Tooltips added for disabled states those ones are in cui.mo (CuiResId) not svx (SvxResId) which is more obvious now we only SVXSTR for strings in svx Change-Id: I595bd5aadd8ead18291ff818405bec594c8d32db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126318 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* don't use SVXSTR for translation ids that are in cui.moCaolán McNamara2021-12-0352-667/+666
| | | | | | | | | | | use that just for the ones in svx.mo. This just changes the programmer-level #define and keeps the translator-level message context the same to avoid triggering any retranslations. Change-Id: I3ca90618e27c4d7abbc77de1096e67bafe49e7ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125832 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* gbuild: introduce plugin + loader conceptsJan-Marek Glogowski2021-12-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces two concepts: a plugin and its loader (library) LO currrently has dependency cycles for some libraries. There is scui, which depends on sc, while sc dlopen's scui. There are the various vclplug_*, i18npool plugins, filters/gie, acc, etc. Usually these plugins link to their loader library, because they use its symbols. But as a result there is no sensible way to express the runtime dependency of loaders on the plugins. In GNU libtool plugins are called modules and they are implemented in an IMHO more sensible way by allowing missing symbols at link time. This way you can have a dependency from the loader library to its plugins, as the plugins don't depend on the loader, but you lose the link time detection of missing symbols. While this is in theory possible in LO too, LO currently has plugins, like acc (accessibility), loaded by tk (toolkit), which depends on svt (svtools), which itself depends on tk, so dropping the tk dependency for acc on its own doesn't help :-( And while the dependency of the plugins on their loader is fine for the shared / DYNLOADING build, for the "static" builds you must (somehow) link the plugins into the executables. I also codeified a few rules into the build system along with it: * just plugins are allowed to depend / link other plugins * plugins aren't allowed to be linked into the merge lib * plugin loaders are "limited" to libraries At the high level, this is implemented via new gbuild calls: * gb_Library_set_plugin_for,lib,loader: declare a library to be a plugin of a loader library and add a dependeny from the plugin library to the loader library * gb_Library_set_plugin_for_nodep,lib,loader: ^^^^ without adding the library dependeny * gb_Helper_register_plugins_for_install: "plugin" replacement for gb_Helper_register_libraries_for_install to implement some additional checks in the build system In the end this patch just adds a bit syntactic sugar and nothing changes for any build. Change-Id: I7b01d9c384cbc5838bd2cc93aff18e4868939d6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126163 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* fix indentCaolán McNamara2021-12-011-3/+3
| | | | | | | Change-Id: Ie51ad19b3d1f0c184c0bffeddd0204fad3a15070 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126178 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* color column missing in chart color options treeviewCaolán McNamara2021-11-301-0/+3
| | | | | | | | | | | | | | since... commit c1eb680261107877bf2cea9339e89e23a0a29371 Date: Thu Jul 30 21:53:18 2020 -0300 tdf#118148 All extended tips for shared/optionen Change-Id: I20d1c97a76eda924de95c3aa66e5027dfc1d02d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126125 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#145728 Update UI Strings about QR and BarcodeMing Hua2021-11-281-6/+6
| | | | | | | | | | | | | | | | | | In commit d37a44a9ebdafec1435f98194417a1d8cc8208b5 (tdf#141193 Added support for bar codes in qrcode dialog box[API Change], 2021-10-29) which added support for one-dimensional "CODE_128" barcode in addition to the previously supported 2D QR code, the various labels and tooltips in UI were not fully updated accordingly. This commit should update all QR and barcode related UI strings to match the new status, mentioning both "QR and barcode" where emphasis or detail is desired, and just "code(s)" where brevity is desired. Also use one-word "barcode" instead of "bar code" everywhere for consistency. Change-Id: I4530e4ffee5155b12551d7b819031c3869d7ab2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125925 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
* set png filter for import dialog in a more robust wayCaolán McNamara2021-11-271-2/+4
| | | | | | | Change-Id: Iec25e214b19e5a2ab8a7305aad307c3f03e67401 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125913 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#145831: fix typo in PNGAndrea Gelmini2021-11-261-1/+1
| | | | | | | Change-Id: I206ac72d56409b3516f49798fb7f10b3a4c3d721 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125680 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#145539 const OUString -> constexpr OUStringLiteralJeff Huang2021-11-251-2/+2
| | | | | | | | | | Convert string literals defined as const char[] in header files to constexpr OUStringLiteral Change-Id: I69fdc34cfb663ff87fabc8efc72d6563aa23465b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124724 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
* remove unused defines and convert some to OUStringLiteralNoel Grandin2021-11-252-83/+78
| | | | | | | | | Also remove the associated links.txt entries Change-Id: I5028fab2feb828875a0b772418fc29cbdfe4ce72 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125773 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:stringliteraldefine in cuiNoel Grandin2021-11-253-38/+45
| | | | | | | Change-Id: I3b0c8811b583d6edf48ccd7e368e50228e70c362 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125480 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Border tab page: Use 'thin' widthSamuel Mehrbrodt2021-11-241-2/+2
| | | | | | | | | instead of random number Change-Id: I89f3be2d6bba02f1fbe52065fab81caded2656f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125699 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
* border tab page: Explain how thick lines areSamuel Mehrbrodt2021-11-241-6/+6
| | | | | | | Change-Id: I802c0736dde6d87c8548968cfa9ce0481aba4f76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125700 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
* O[U]String::replaceAt overloads that take string_viewNoel Grandin2021-11-235-14/+14
| | | | | | | | | | which results in lots of nice string_view improvements picked up by the plugins Change-Id: Ib0ec3887816b3d4436d003b739d9814f83e244b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125657 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* cui, editeng, sw: WrdStt -> WordStartMiklos Vajna2021-11-231-7/+7
| | | | | | | | | Because I'm unable to remember if Stt is Start or Stat. Change-Id: Ie853c6e94e45c3e14e002a0218d11c61905a3180 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125672 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
* Change About LO dialog to run asyncJan-Marek Glogowski2021-11-191-2/+2
| | | | | | | Change-Id: I7255a8510e4cf983ebab477cbdb7cdcf00dabc98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125512 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* Reuse macros for AbstractDialogFactory_ImplJan-Marek Glogowski2021-11-192-731/+169
| | | | | | | | | | Now that all the abstract dialogs are welded, update and rename the existing boilerplate macros, to cut down the C'n'P code size. Change-Id: Iff8f452ca3dfce9a63c4fb73ab3a5025566810e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125511 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* loplugin:stringliteraldefine in toolsNoel Grandin2021-11-192-9/+8
| | | | | | | Change-Id: I348b9a844c009f9c19301baa76d31b12f67c6130 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125535 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Related tdf#139031: add missing colonsIlmari Lauhakangas2021-11-161-1/+1
| | | | | | | | | Reporter mentioned a bunch of missing colons across the UI. Change-Id: I278d0ad7073fb399c979f0fc52adc306f51ae49d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125147 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
* add a rule to enforce always-show-image of True if an image is usedCaolán McNamara2021-11-1513-0/+22
| | | | | | | | | | | If not set, then gtk3 will show the image if there is no text, but only the text if there's an image. For simplicity sake just enforce it as true if an image is referenced. Change-Id: Id4bb9140ba83e7e07e0d8ec5e3c29aece49b9087 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125200 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Resolves: tdf#140250 don't share adjustments between differerent spinbuttonsCaolán McNamara2021-11-152-4/+28
| | | | | | | Change-Id: Ib684c746ff3176cf45ea9364efc12f2d6dde1f70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125199 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* call GetGetSpecialCharsFunction just onceCaolán McNamara2021-11-121-2/+2
| | | | | | | Change-Id: Ia2ea7b234216408f3209139fa57be8d6a0794ed9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125091 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Fix (mis-)uses of temporary O[U]StringLiteralStephan Bergmann2021-11-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ...as sub-expressions of ternary operators, which happened to keep compiling after 4b9e440c51be3e40326bc90c33ae69885bfb51e4 "Turn OStringLiteral into a consteval'ed, static-refcound rtl_String" and e6dfaf9f44f9939abc338c83b3024108431d0f69 "Turn OUStringLiteral into a consteval'ed, static-refcound rtl_uString" because both branches are of the same type O[U]StringLiteral<N>, and which didn't cause any issues because no dangling pointers to those temporary objects escaped the surrounding full expressions. This was found with an experimental build with VS 2022 with --enable-latest-c++, which would support HAVE_CPP_CONSTEVAL after some linking fix in the configure.ac detection code (which is forthcoming in a later commit) and flagged all these uses in ternary operators as error C7595 "call to immediate function is not a constant expression". That error looks bogus (and it also caused a false > sd/source/ui/unoidl/unoobj.cxx(742): error C7595: 'Color::Color': call to immediate function is not a constant expression so HAVE_CPP_CONSTEVAL will need to remain undefined for VS 2022 until that compiler bug is fixed), but it nicely found all these cases that should arguably be cleaned up. Change-Id: I81de94e8af5a6c50e5fe7dfa1a4b253e0c2a68f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125082 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* add placeholder labels for gtkCaolán McNamara2021-11-101-0/+3
| | | | | | | Change-Id: I108816d264affff973d12428cad135edbf8fd7c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124957 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#48622 Fix layout issue when "Custom" was selectedSamuel Mehrbrodt2021-11-093-33/+34
| | | | | | | Change-Id: Ie32a763b88cfc26b61d942214b16e008179d410c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124898 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
* Save with Glade 3.38.2Samuel Mehrbrodt2021-11-091-236/+232
| | | | | | | Change-Id: I238f8a5adee999fcaad09e8813742fba37a30396 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124897 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
* tdf#145128 "Perform file extension check" should be disabled if finalizedGabor Kelemen2021-11-081-0/+1
| | | | | | | Change-Id: I7181ab8dde28fd5580a90fb267b31eaffd6a9878 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124567 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
* use more DECL_DLLPRIVATE_STATIC_LINKNoel Grandin2021-11-051-1/+1
| | | | | | | | | to avoid unnecessarily exporting symbols Change-Id: I224848cea217977088fe0643511660a7c99b7277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124733 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* use more DECL_DLLPRIVATE_LINKNoel Grandin2021-11-051-1/+1
| | | | | | | | | to avoid unnecessarily exporting symbols Change-Id: I6855894d0166c300ced169e36861f38811baa48d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124730 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#48622 Add new border line width defaultsSamuel Mehrbrodt2021-11-042-1/+20
| | | | | | | | | | | | | | | | | | | | * Hairline (0.05pt) * Very thin (0.5pt) * Thin (0.75pt) * Medium (1.5pt) * Thick (2.25pt) * Extra thick (4.5pt) This unifies the default border line widths throughout the program. Users can still set any line width they want by chosing "Custom" in the "Border" tabpage. Also, existing documents won't be changed. The new defaults are just for newly added borders. Change-Id: I7af85dc189a688a749812824508c33c7814b50f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122683 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
* Upgrade mdds and liborcus to 2.0.0 and 0.17.0, respectively.Kohei Yoshida2021-11-031-44/+18
| | | | | | | | Change-Id: I9e856fc2d61f1789a6f1702514837860539a0f49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124573 Tested-by: Jenkins Tested-by: René Engelhard <rene@debian.org> Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
* extract a ReorderingDropTarget for reuseCaolán McNamara2021-11-022-31/+6
| | | | | | | Change-Id: I0ae69bbf644e220e1bf3352d98eb4fd735167416 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124596 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Removed duplicated includesAndrea Gelmini2021-11-011-1/+0
| | | | | | | Change-Id: I5414710ceee7a572173eae43c906e91e86b7a01f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124433 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#138698 remove/ignore 'distributed' if feature is unknownCaolán McNamara2021-11-011-15/+44
| | | | | | | | | | | | | | | | which it is in dbaccess. Its is a calc feature added at... commit 755ad6834625488c5d31d4bacc9370eae7ffd8f3 Date: Tue Oct 5 11:15:56 2010 -0400 Ported calc-distributed-cell-text-*.diff from ooo-build. Change-Id: I1e8856e2ab635d270a487f5a68ac5c386f46a080 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124552 Tested-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Provide values for debug in cuiJulien Nabet2021-11-012-13/+13
| | | | | | | Change-Id: Ifda9ddae8c7ee946f01dfa0b6fc0bba59a9c8a22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124538 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* uniformly allow focus into GtkToolbarCaolán McNamara2021-10-311-1/+1
| | | | | | | Change-Id: I110daf882d9196cf7552e43a157ba4ae73fd670b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124458 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* gtk[3 vs 4]: remove can-focus from GtkToolButtonCaolán McNamara2021-10-311-2/+0
| | | | | | | | | | | | so tab-cycling inside sidebar panel toolbars works as wanted It needs to be false for gtk3 and true for gtk4, leaving it unspecified gets a desired working default. Change-Id: I34869d5dcffc814f62ec2b717108f90c395a067b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124446 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Related: tdf#145377 call select handler if restoring previously selected scriptCaolán McNamara2021-10-301-0/+3
| | | | | | | Change-Id: Ibab3e920e6830c86bb6bfba070f14ca8a153c25f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124429 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Switch to a newer version of ZXing libraryhomeboy4452021-10-301-2/+2
| | | | | | | Change-Id: Ib2b919bb7545f05631aed2e6176a97aeb866ee84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122772 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Resolves: tdf#145377 don't use dismissed dialog as parent for error dialogsCaolán McNamara2021-10-302-4/+6
| | | | | | | | | the script dialog is dismissed before the error dialogs get executed Change-Id: I9e143a7e65077d09f436c4744759c78a9970f1d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124430 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* tdf#141193 Added support for bar codes in qrcode dialog box[API Change].homeboy4452021-10-293-29/+83
| | | | | | | | Change-Id: I6b79ece1d5419ef92b76755d3bd921a64d6e38fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113989 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
* Prepare for removal of non-const operator[] from Sequence in cuiMike Kaganski2021-10-2919-192/+150
| | | | | | | Change-Id: Ib359c029099cf86ccdebefd014d4a9bd91d57eba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124356 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* loplugin:flattenNoel Grandin2021-10-211-13/+13
| | | | | | | Change-Id: I3b4226a9d089ec9aedab95d96e50a068f57a76c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123991 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Use MsLangId::getConfiguredSystemLanguage()Eike Rathke2021-10-193-3/+3
| | | | | | | Change-Id: I298f762ac7f3298aa9cb9621ad1f8cae50527b24 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123790 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
* Simplify vector initialization in cuiJulien Nabet2021-10-1613-43/+74
| | | | | | | Change-Id: I9c1b793f02eff56251cf13959e88c4648db4ab0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123665 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#144691 apply the language change SYNCHRON so it will be seen during applyCaolán McNamara2021-10-151-3/+3
| | | | | | | | | | otherwise the restore of state from the document takes place before the document has seen the language change Change-Id: I08e74d99bec3d88914caa9a2c83602c32e277ac0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123611 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* Remove non-const Sequence::begin()/end() in internal codeMike Kaganski2021-10-154-5/+5
| | | | | | | | | | | | | | | | | | ... to avoid hidden cost of multiple COW checks, because they call getArray() internally. This obsoletes [loplugin:sequenceloop]. Also rename toNonConstRange to asNonConstRange, to reflect that the result is a view of the sequence, not an independent object. TODO: also drop non-const operator[], but introduce operator[] in SequenceRange. Change-Id: Idd5fd7a3400fe65274d2a6343025e2ef8911635d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123518 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* use std::vector::insert instead of push_backNoel Grandin2021-10-142-13/+3
| | | | | | | | | because it will pre-allocate space and often is optimised to memcpy Change-Id: I03ed7915f2762d3d27e378638052a47a28bbf096 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123588 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:moveparam in cuiNoel Grandin2021-10-114-5/+5
| | | | | | | Change-Id: I059fae3520b06bc733721fe130cf41da13803b9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123383 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>