summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-30sc: Spare an OUStringBuffer by replacing removeChars()Takeshi Abe
... with OUString::replace(). Change-Id: I8d6ae6ff1674dafaafb276cb0efc72e01579f9bb Reviewed-on: https://gerrit.libreoffice.org/56759 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-30Small cleanupMike Kaganski
Change-Id: I0d3cea810b9148859d1c0704e06381f22d7b24c9 Reviewed-on: https://gerrit.libreoffice.org/56762 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-30Avoid assertion on user dataMike Kaganski
User can have unpaired ScreenUpdating in macros; so avoid calling ScDocument::UnlockAdjustHeight, which asserts proper lock/unlock order and number, when it is not locked. Change-Id: I1c316ff4a5b993cbe08a9e95f5807153ed0953c8 Reviewed-on: https://gerrit.libreoffice.org/56763 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-30Avoid com.sun.star.container.NoSuchElementException "Active"Julien Nabet
Just launch Writer without any file and look at this kind of logs: warn:unotools:4125:4125:unotools/source/config/confignode.cxx:444: DBG_UNHANDLED_EXCEPTION in com::sun::star::uno::Any utl::OConfigurationNode::getNodeValue(const rtl::OUString&) const type: com.sun.star.container.NoSuchElementException message: Active context: configmgr::RootAccess Change-Id: I42d4a653061accbf124c62d51ea341eed8e44579 Reviewed-on: https://gerrit.libreoffice.org/56760 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-06-30Updated coreAli Ahmadi
Project: dictionaries 2180c26eabeda8ed3315bc04acd0dd4fc3246736 add Indonesian hyphenation library function Change-Id: I34fff23b2990f5373b38a14f72e113dc5a0b1a10 Reviewed-on: https://gerrit.libreoffice.org/56432 Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30android: simplify boolean statementChristian Lohmaier
Change-Id: I92cdccfe7b97d9baf29b1155990a38b26579e365
2018-06-30android: get rid of unsafe/unchecked castsChristian Lohmaier
Change-Id: I95bb78c563589501d756fdd4dd6529b9eee0f4ac
2018-06-30android: suppress deprecation warning for Html.toHtml(String)Christian Lohmaier
deprecated since 24/Nougat, but we still want to support devices running Marshmallow and older.. Change-Id: Iedcf8a56028eff44134b548dc07a89573cb2210d
2018-06-30android: bump gradle, gradle-plugin, support libary & target versionsChristian Lohmaier
Change-Id: I971f02c624a19ec58539738f5e736a986b5ba0d6
2018-06-30libnumbertext: off-by-one in makefile rule (LIB=.. ineffective)Christian Lohmaier
autoreconf line doesn't need it, it is the configure one that should make use of it.. Change-Id: I1d7b492a8d99f8fbcb8443de7a7def2caaf8df3b Reviewed-on: https://gerrit.libreoffice.org/56745 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2018-06-30Pattern words are the first argument for filterMike Kaganski
https://www.gnu.org/software/make/manual/html_node/Text-Functions.html Change-Id: I2d3ec3ab30f06b71a1f9983c0d5dc018b4307e4b Reviewed-on: https://gerrit.libreoffice.org/55729 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-06-30tdf#118218: Make FormatNumber VBA-onlyMike Kaganski
0f7a7c8e719dab6b79e24285b907b5be17f39fc8 follow-up Change-Id: I79ed02770a4321401f250b85b04ef66d476a67df Reviewed-on: https://gerrit.libreoffice.org/56742 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-30Normalize Writer style "Text Body" in UIOlivier Hallot
In all UI, the text body style is labeled "Text Body" except in Format - Paragraph - Numbering tab outilne level listbox where it is named "Body text". The patch fixes the difference. Change-Id: Ic9b9db4ce70ddef35fed4124ae47abc28dcff380 Reviewed-on: https://gerrit.libreoffice.org/56502 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-30Updated coreSophia Schröder
Project: help 02fdfc49125c2059e0153fc9f97da4ed71ae0b2c Further cleanups and improvements in /shared/01/0502*.xhp files Change-Id: I2219cf60b095eda0c76819287a5c60645527b6db Reviewed-on: https://gerrit.libreoffice.org/55168 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-30Karasa Jaga: Add icons for menubar actionsRizal Muttaqin
Change-Id: I44f0a474ddd6e2dcee912f60a85134e3fa0cbf8b Reviewed-on: https://gerrit.libreoffice.org/56738 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-06-30remove git-new-workdirThorsten Behrens
Seems that 'git worktree' is now the upstream-supported way to create light-weight working directories: https://blog.github.com/2015-07-29-git-2-5-including-multiple-worktrees-and-triangular-workflows/ Change-Id: I9f019238b59686e2a7e924869ffd2e8d1d8e2269 Reviewed-on: https://gerrit.libreoffice.org/52411 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30Removed duplicated includeAndrea Gelmini
Change-Id: I0585ba137dbd3a27ccf88d75974dc79c34e4ef85 Reviewed-on: https://gerrit.libreoffice.org/56582 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30Fix typosAndrea Gelmini
Change-Id: Ic3eadd695a11d4afdefa5ed4192faa47779e84f8 Reviewed-on: https://gerrit.libreoffice.org/54055 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30Fix missing newlineAndrea Gelmini
To complete previous commit Change-Id: I21f7e530848d022456bda17a86d42bc14a921efd Reviewed-on: https://gerrit.libreoffice.org/53896 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30sax: fix overflow in sax::Converter::convertMeasure()Michael Stahl
The problem is that -2^31 is negative after negation in 2's complement. This causes ODF validation error now in CppunitTest_sd_export_tests testFdo84043: Error: attribute "svg:x" has a bad value: ... svg:x="--2147483.-6-4-7cm" The validation error only happens in 32-bit builds; 64-bit builds show a different value svg:x="2139324.72cm", so there must be another problem somewhere else that isn't fixed here. Change-Id: If2040cb6ae914c69b7cc651d3ab2d5d232fc71fb Reviewed-on: https://gerrit.libreoffice.org/56718 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30autogen.sh: fix out-of-tree module Makefiles for Win32 makeMichael Stahl
These were created as symlinks, which doesn't work with Win32 make as it doesn't understand Cygwin symlinks. Instead, create them as actual files. Note: the reason why they work as symlinks at all is that the Makefile uses $(realpath) and partial_build.mk does not, so they can resolve relative paths from 2 different directories... Change-Id: I4a9abffae82561111a9525fb35ed4b174cc8d96a Reviewed-on: https://gerrit.libreoffice.org/56691 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30schema,sw: enable ODF validation in all sw testsMichael Stahl
Validate every ODT file that is exported via "reload" or "save". Change-Id: I010965191159605924b89fe21b0b3d47123c13bd Reviewed-on: https://gerrit.libreoffice.org/56607 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-30schema,sd: enable ODF validation in sd testsMichael Stahl
There are actually 2 bugs here that affect the export, and just 1 new attribute. Change-Id: Id2d9eeeb62c97011712a376a844dec7c8a744116 Reviewed-on: https://gerrit.libreoffice.org/56606 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs)Stephan Bergmann
...see comments to <https://gerrit.libreoffice.org/#/c/56661/> "This cast seems completely unnecessary to me?" Change-Id: I57d27cd2aa2dc94bc2e0b49fe06a09d31301cb7e Reviewed-on: https://gerrit.libreoffice.org/56708 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): svlStephan Bergmann
Change-Id: Ife1db81f772ecf3bb713952be276ff8a2fd318a9 Reviewed-on: https://gerrit.libreoffice.org/56716 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): svxStephan Bergmann
Change-Id: Id5a26a8b8c23d76f4d26480bb7f37c447902371c Reviewed-on: https://gerrit.libreoffice.org/56703 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): frameworkStephan Bergmann
Change-Id: Ibcceaa03a73926b559a297f62b3d1d2676c9f4f0 Reviewed-on: https://gerrit.libreoffice.org/56698 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): formsStephan Bergmann
Change-Id: Iaf50a40576e0fc1dde1e221a791bda6e183e5072 Reviewed-on: https://gerrit.libreoffice.org/56696 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): editengStephan Bergmann
Change-Id: I1beefd1a3ae24361b5345d9c226c410493c363d8 Reviewed-on: https://gerrit.libreoffice.org/56694 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Colibre icons: add 32px iconsandreas kainz
Change-Id: Ib31a5308fe5345639aad791c72f23009b92d1ac4 Reviewed-on: https://gerrit.libreoffice.org/56722 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): basctlStephan Bergmann
Change-Id: Ib17804ca6ddbacdadb50f97c19636e245e7eabe1 Reviewed-on: https://gerrit.libreoffice.org/56692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): scStephan Bergmann
Change-Id: I2bba240b444811ff0b29149b4b731a1fa01d6270 Reviewed-on: https://gerrit.libreoffice.org/56700 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): writerfilterStephan Bergmann
Change-Id: I389287456feba683c6af650546931325e4a6f3ba Reviewed-on: https://gerrit.libreoffice.org/56707 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): vclStephan Bergmann
Change-Id: Iac5978ee41f76a2b34c7dae12509212ba1c9d7e7 Reviewed-on: https://gerrit.libreoffice.org/56706 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): toolsStephan Bergmann
Change-Id: I919e49f8581d38a82622ca4b8cf9c08de8da4964 Reviewed-on: https://gerrit.libreoffice.org/56705 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): swStephan Bergmann
Change-Id: Ib99c4a8f9d90e23a3083c74e72044a2b705a409d Reviewed-on: https://gerrit.libreoffice.org/56704 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): starmathStephan Bergmann
Change-Id: If013783e8a07fa7d8a613d11e5719a064e717852 Reviewed-on: https://gerrit.libreoffice.org/56702 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): sdStephan Bergmann
Change-Id: I043576ca1fa83180b326f65b05f6bc5c21814e82 Reviewed-on: https://gerrit.libreoffice.org/56701 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29tdf#118218: Implement FormatNumber VBA functionMike Kaganski
The existing unit test (previously non-functional because of defunct success condition) is fixed and extended. Change-Id: I2544f865144b25f51a5f0941e5d961f246f41c4b Reviewed-on: https://gerrit.libreoffice.org/56610 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): salStephan Bergmann
Change-Id: I64b6ffd3e43f14c5884bf6cf1c12ff3b147db6bd Reviewed-on: https://gerrit.libreoffice.org/56699 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29Updated coreOlivier Hallot
Project: help b845484d0c4660211c3dc941bddf8c4275164720 Improve readability of page for do-loops Highlight statements in syntax sections Change-Id: I755ca4f7bd9aaeb1ee7183640523b8a790e560ac Reviewed-on: https://gerrit.libreoffice.org/56727 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-06-29Updated coreOlivier Hallot
Project: help 31d1063a04542851398075346f3bab18a424e28d Add mode="embed" for bascode Embeded <bascode> was not properly rendered because it had no embed mode Change-Id: Icdc91c5b00b165d7963248f9083837b899d382f2 Reviewed-on: https://gerrit.libreoffice.org/56726 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-06-29Remove obsolete (cargo-cult copied) dependenciesJens Carl
Change-Id: I6150095fdb3a1a6af4e88db8aa7b3dcf225a30d3 Reviewed-on: https://gerrit.libreoffice.org/56645 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): filterStephan Bergmann
Change-Id: I200be1277904d346dd02e64612e6f1bed24f17a3 Reviewed-on: https://gerrit.libreoffice.org/56695 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29sw: fix crash on F2 while drawing a polygonMiklos Vajna
The first hunk is probably a regression from my earlier TextBox work, the other is inherited from OOo, I think. Change-Id: If87d135c84c483d7a39f90e9edcf00594204fab8 Reviewed-on: https://gerrit.libreoffice.org/56689 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins
2018-06-29Improved loplugin:redundantcast (const-qualified typedefs): basicStephan Bergmann
Change-Id: Ie22fe58dc2c2cc3867bd800f757433b68e0f2448 Reviewed-on: https://gerrit.libreoffice.org/56693 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-06-29tdf#118441: also keep string-formula results for shared formulasMike Kaganski
... like it is done for normal cells. So, the cells that have markup like <row r="2" ...> <c r="A2" t="str"> <f t="shared" ref="A2:A65" si="0">Test(B2:Z2)</f> <v>0</v> </c> </row> <row r="3" ...> <c r="A3" t="str"> <f t="shared" si="0"/> <v>0</v> </c> </row> now are handled (wrt restoring the stored result value) just like cells with this markup without sharing have long been handled: <row r="1" ...> <c r="A1" t="str"> <f>Test(B1:Z1)</f> <v>0</v> </c> </row> Change-Id: Ifcf62cf6d073faff310aa8553c6f57f42ae588cc Reviewed-on: https://gerrit.libreoffice.org/56675 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2018-06-29Make the RELATIVETIMER be relative to start of the process, not to first callTor Lillqvist
Make it easier to compare timing logs even if you add a SAL_DEBUG() that happens much earlier than the others, the timestamps of the others will still be comparable to those from earlier runs. Change-Id: I13872ef9112d8515e563e561f9b2a50c8510bae8 Reviewed-on: https://gerrit.libreoffice.org/56676 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
2018-06-29loplugin:useuniqueptr in SwFieldPortionNoel Grandin
Change-Id: I2ce38d46798627f808dd539a7d74f5c6cf7f509a Reviewed-on: https://gerrit.libreoffice.org/56631 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-06-29Fix calculations about version for javaTomáš Chvátal
This solves problem where java prints ton of warnings about too many CPUs which turned out to empty lines that are now ommited by the added sed command. Change-Id: I552f40289e1d598f11f98509b9e9b0b867336c3b Reviewed-on: https://gerrit.libreoffice.org/55377 Tested-by: Jenkins Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>