summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-11-22Removed duplicated entry in Korean autocorrectAndrea Gelmini1-1/+0
Change-Id: Ibc640574517da486af8b35e736a45c1adcf78434 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125639 Tested-by: Jenkins Reviewed-by: DaeHyun Sung <sungdh86+git@gmail.com> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-22Convert #define to enumHossein1-80/+83
* Converted multiple symbolic constants using #define in wmfreader.cxx to enum Change-Id: Ie55f27414c230cd624cacb805897933707244ed6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122734 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-21Removed break after returnAndrea Gelmini1-1/+0
Change-Id: I0ad0ae7074905075cdff46ded69eaaa07570f0ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125075 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-21gtk3: consider replacement for popovers visibility when queryed for itCaolán McNamara1-0/+11
Change-Id: I4ca71f8544720e99514abe78717dcd07617c00cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125475 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-21osl::Mutex->std::mutex in ActionLockGuardNoel Grandin1-6/+6
Change-Id: I8081d017f8a03be94b60011fcd4eb34eba786aa9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125623 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21osl::Mutex->std::mutex in ConfigurationAccess_FactoryManagerNoel Grandin2-11/+12
Change-Id: I0e7a6eb4700e1108b31dfdf8681e8f4743ab7c5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125618 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21osl::Mutex->std::mutex in ConfigurationAccess_ControllerFactoryNoel Grandin2-18/+16
Change-Id: I2e526ff2dc9f02850bd9fc510c63b5d9db24af58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125619 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21tdf#133835 speedup calc autofilter (5)Noel Grandin3-45/+79
Tweak INetURLObject to reduce the number of OUString and OUStringBuffer we create, saves 5% And add a asView() method to OUStringConstExpr, to make it easier to pass to OUStringBuffer::insert Change-Id: I115ec2398cfc8df39bd1efbbd5f0d5cc9712dba7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125600 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21osl::Mutex->std::mutex in framework::ConfigAccessNoel Grandin2-6/+12
Change-Id: I44d41db2498ea39fca309785278c1fe50d7ae8b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125617 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21osl::Mutex->std::mutex in StatusIndicatorFactoryNoel Grandin1-5/+5
Change-Id: I2365e172ef8d631f30cfffdb650ebcb3035f77f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125620 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21tdf#143148 Use pragma once in i18npoolHarjot43-173/+44
Change-Id: Id67d8926fdc1616add1bd9de051911b2aae030e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125419 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-11-21osl::Mutex->std::mutex in configuration_registryNoel Grandin1-25/+25
Change-Id: If5561d6532716bfe3151f555a691aa5188264a1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125603 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21osl::Mutex->std::mutex in OLockListenerNoel Grandin2-22/+24
Change-Id: I391de15296932ea65f2335b0df7a76e2f77a1a50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125602 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21tdf#133835 speedup calc autofilter (4)Noel Grandin2-58/+102
Tweak INetURLObject::parseHost so it doesn't need its own OUStringBuffer, and can just use the callers' Saves 5% Change-Id: I481fabd4272bc9f172dd751a7019090b95a65e2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125599 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-21tdf#145207 Check for drawing object before Table to handle Tab keyJim Raykowski1-16/+18
to fix crash that can occur if done the other way Change-Id: I378aa8444906d56647ab4fdde26d4ff1c9f511f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125435 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-21Update git submodulesMing Hua1-0/+0
* Update helpcontent2 from branch 'master' to 9bff7df37fa8a6303ef5fe4f10085ef635be3a95 - Related to tdf#141869: Update help for inserting cross-reference ...to match the UI changes made in commit 81472692c4ee0b12c6d2184823faefa7a53431e6. Change-Id: If09e850fe769a1475e92f7605399316d74af95df Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125534 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-11-20Change aboveWord and belowWord for Simplified Chinese localeKevin Suo1-2/+2
Per Wechat discussion by our Simplified Chinese l10n team. 上方 and 下方 are written languages which are more suitable for cross-reference context, while 上面 and 下面 are spoken languages. Also in this way they are consistent with MS Word. Change-Id: Iccf8c330b2e5a04be3916b810a29ea0d62f26225 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125533 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2021-11-20Fix the above/below words for BulgarianMihail Balabanov1-2/+2
Change-Id: Ib81da535411b07596785b06d7a5dac36a8a2ee28 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124704 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
2021-11-20tdf#135727 add autocorrect lists for Korean LanguageDaeHyun Sung1-0/+59
Add autocorrect lists for Korean Language. Submit the Korean autocorrect lists as the result of Hacktoberfest 2021. Link: https://github.com/libreoffice-kr/autocorr_kr/blob/master/DocumentList.xml Change-Id: I6d0ca38581a21c59b98e96045bb6d091c8c89bf6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125548 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-20cid#1494386 Dereference null return valueCaolán McNamara1-2/+3
Change-Id: I3dee29c68166c88bce30d2c88a6684be43f8e717 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125598 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 45533ee580bb1dae59847fdce7ff269b4b7b3709 - tdf#132643 Translate German section IDs Change-Id: I9ff9645bb3283ac824bc663897d40d2fbe43a931 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125596 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 2c7ee29857fd322080dac8e99151d31be991d0b3 - tdf#132643 Translate German section IDs Change-Id: I71d7f73845bc57e3a1bc9acdaa8a8aa630e8351e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125595 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to f3fcc169054a340ed3dbea4cd8905b2015417a23 - tdf#132643 Translate German section IDs Change-Id: I1a45b29e40b1b1ba90258e20a2d909688bd0e302 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125593 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 2667e50e6435579443057d55cc7a57f674f543ae - tdf#132643 Translate German section IDs Change-Id: I13bcfce76d858630b40c6c39566c0015c3ee470a Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125591 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 1f0c493cddde7a30c5af42a1d895d05c1efed9d2 - tdf#132643 Translate German section IDs Change-Id: I4a2f4422276d2944dcffcce597c7a4a013c3af6e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125590 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to 5628bb0f03d71e6a30ce93ce966962c42d0abc76 - tdf#132643 Translate German section IDs Change-Id: I019ee515a93f3c9159a4b5d40b46a3568d72c61c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125589 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Fix typosAndrea Gelmini2-5/+5
Change-Id: I21161022d1b1e09eeccd39169577992c2ec2d47a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125586 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-20Fix typosAndrea Gelmini1-1/+1
Change-Id: I3db97c20af3815a366d93454c8fc66cf8bdd848e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125207 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to a4d192693f92434fe8f92c745a15afc1e09b77d9 - tdf#132643 Translate German section IDs Change-Id: I8fea2f205848348c38e507b9169dc7ca434b3b7f Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125588 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesJohnny_M1-0/+0
* Update helpcontent2 from branch 'master' to aec63dfd1ff1016d64554ab7e804fa1580a71f77 - tdf#132643 Translate German section IDs Change-Id: I753cfdd055ec5ef372c0ec3f7f7d015b487dbc50 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125587 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-11-20Update git submodulesAndrea Gelmini1-0/+0
* Update helpcontent2 from branch 'master' to 4a28022898ba228175a451c17a42f65cce039235 - Fix typo Change-Id: Idb3cc8605c7d9a4e8c2ab6eed54805cf52850595 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/125585 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-20gtk3: don't double close popover replacementCaolán McNamara1-16/+26
Change-Id: Ibdd7de56ab1cadd76748422c08e21904f912532a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125567 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-20SwNavigator: Check for graphic, frame, or ole types before enteringJim Raykowski1-25/+27
the block that handles these in UpdateTracking Change-Id: I4b435351133b28f1fc34e2733a9d453de5c117a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125508 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-11-20tdf#118776 drawingml: treat XML_nofill as (mostly) transparentJustin Luth3-0/+28
100% transparent typically ends up as COL_AUTO which certainly doesn't do what is intended. So set as 99% transparent to get effectively the same invisible effect. Adapted patch and re-used unit test from an earlier commit authored by Xisco. This depends on tdf#137438 not spamming the text properties with outline props. Only one existing unit test that matched this condition: -export-tests-ooxml1.cxx customxml.pptx -empty textbox - text entered here SHOULD be invisible. Change-Id: I077b748e500713188421f0eeefdfd85c46555e84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125301 Tested-by: Jenkins Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Justin Luth <jluth@mail.com>
2021-11-20tdf#145714: teach "mediumblob" to Mysql/MariaDB part in LOJulien Nabet3-7/+36
also teach about: TINYBLOB + LONGBLOB + TINYTEXT + MEDIUMTEXT + YEAR + BIT Taking a look at libmariadb, I see in libmariadb/mariadb_stmt.c: 535 case MYSQL_TYPE_SHORT: 536 case MYSQL_TYPE_YEAR: 537 int2store(*p, (*(short *)buf)); 538 (*p) += 2; 539 break; 1208 case MYSQL_TYPE_SHORT: 1209 case MYSQL_TYPE_YEAR: 1210 stmt->params[i].buffer_length= 2; 1211 break; 1313 case MYSQL_TYPE_SHORT: 1314 case MYSQL_TYPE_YEAR: 1315 *stmt->bind[i].length= stmt->bind[i].length_value= 2; 1316 break; Change-Id: Id72056429d5d2f2741063ee28b2d2e3c75e378a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125472 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-20tdf#121546: sw_uiwriter3: Add unittestXisco Fauli2-0/+47
Change-Id: I10d1d9a06c04e810b90da9184d5a52f278015fee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125566 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-11-20Use C++17 hexadecimal exponent floating point literalsHossein1-1/+1
Using new syntax for the power of 2 exponent instead of using shift left (<<) operator Change-Id: Iaa627800fb35af37a6b0efcd939f1d5f78f70e5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125458 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-20Don't loose scanned image's resolution precisionMike Kaganski1-11/+8
Change-Id: I526dcf8db880615308cfb228eaa06d1a5a0e5cac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125584 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-20Drop unused variables - againMike Kaganski1-5/+3
This re-instates commit a339ebca55f53db5f0b72b26fcfbb3aaa2b2a825 "Drop unused variables", that was accidentally reverted in commit 1b6e3efe964eec9110e656a8242f6f4d8b5e7f7e "Simplify m_aAppId initialization". Change-Id: Ib65500cc0b0b5c27425f76e358f2d786a7faac09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125583 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-20SwNavigator: fall thru to outline tracking when section tracking is offJim Raykowski1-2/+14
and the last GotoContent is not the current section Change-Id: I762163f82f2a376f04ce6fcb1c001fde6544e84d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125510 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2021-11-20tdf#133835 speedup calc autofilter (3)Noel Grandin1-34/+32
Tweak INetURLObject::parsePath to avoid an OUStringBuffer copy, saves 5% Change-Id: I49eff3443f34971b8ce15f4c1ab6c9395ee0690f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125565 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-20Use o3tl::convertHossein1-3/+5
Used o3tl::convert on nXRes and nYRes to calculate biXPelsPerMeter and biYPelsPerMeter for the bitmap information header structure pBIH: https://docs.microsoft.com/en-us/windows/win32/api/wingdi/ns-wingdi-bitmapinfoheader The values of biXPelsPerMeter and biYPelsPerMeter are always ignored by the GDI when loading the bitmaps, but in theory they can be recommendations for the pysical size of a bitmap in some applications. https://devblogs.microsoft.com/oldnewthing/20130515-00/?p=4363 Change-Id: Ia40f17b7d1c27c094158af89bf15ed2f11bdfc05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125109 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-20tdf#133835 speedup calc autofilter (2)Noel Grandin1-0/+2
Tweak ImpEditEngine::SetRotation to avoid doing work when nothing has changed, saves 10% Change-Id: I10db2415278908e9e36491950a5f4826e01f42fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125564 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-20tdf#133835 speedup calc autofilter (1)Noel Grandin2-14/+14
avoid a copy in INetURLHistory::QueryUrl, saves 10% Change-Id: I662a4e48f198e61f1cef52b1e920613bce9c9766 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125563 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-20small optimisationNoel Grandin1-0/+5
avoid malloc in the common case Change-Id: I3820065c2b070eddf7cfcba117ec1be73735957f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125562 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-11-19add with-system-abseil/with-system-openjpeg for pdfiumRene Engelhard3-1/+76
Change-Id: I270cbb75cde2a44416b61978b8eefdf267720031 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125559 Tested-by: Jenkins Reviewed-by: René Engelhard <rene@debian.org>
2021-11-19add placement to Popover popup_at_rectCaolán McNamara4-46/+130
Change-Id: Iaa12a48f62037dd985d526993a07762b10bd0cee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125474 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-19fix gtk4 buildRene Engelhard1-0/+2
res is only defined if NDEBUG is *not* defined. So it doesn't exist in a "standard" build using -DNDEBUG and shouldn't be used. Change-Id: Iebae9898d50030f994a7289e2bc3fe3052172dee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125582 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-11-19Use toRadians on Degree10Mike Kaganski1-4/+4
Change-Id: Ib0a53f1dd9c7dd2011041c1c8a6923a64ff6d0f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125581 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-11-19uitest: sc: Add UItest for the Save to CSV dialogXisco Fauli1-0/+66
Change-Id: Iddf617a02697c30e195d1de94fa064adf5b2d7f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125560 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>