summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-01-09fdo#85818: rename Kombin, Kombin2, Variationen, Variationen2Laurent Charrière15-69/+69
Rename OcKombin to OcCombin, SC_OPCODE_KOMBIN to SC_OPCODE_COMBIN, ScInterpreter::ScKombin() to ScInterpreter::ScCombin(), OpKombin to OpCombin. Rename OcKombin2 to OcCombinA, SC_OPCODE_KOMBIN_2 to SC_OPCODE_COMBIN_A, ScInterpreter::ScKombin2() to ScInterpreter::ScCombinA(), OpKombin2 to OpCombinA. Rename OcVariationen to OcPermut, SC_OPCODE_VARIATIONEN to SC_OPCODE_PERMUT, ScInterpreter::ScVariationen() to ScInterpreter::ScPermut(), OpVariationen to OpPermut. Rename OcVariationen2 to OcPermutationA, SC_OPCODE_VARIATIONEN_2 to SC_OPCODE_PERMUTATION_A, ScInterpreter::ScVariationen2() to ScInterpreter::ScPermutationA(), OpVariationen2 to OpPermutationA. Change-Id: I2efa01e9b160e98058879d08e2e2313284a5ec91 Reviewed-on: https://gerrit.libreoffice.org/13814 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-09fdo#85818: rename ZinsZ enum name, constant, function to IpmtLaurent Charrière13-18/+18
Rename OcZinsZ to OcIpmt, SC_OPCODE_ZINS_Z to SC_OPCODE_IPMT, ScInterpreter::ScZinsZ() to ScInterpreter::ScIpmt() Change-Id: I6ed671aff85b7d2ec06dd66cd7ec9390776008b1 Reviewed-on: https://gerrit.libreoffice.org/13813 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-09asan: global-buffer-overflow on ooo12093-1.docCaolán McNamara1-3/+4
Change-Id: I5e29626fe2803d2751bdec9c6919662ea37cf64c
2015-01-09fix indexesCaolán McNamara1-3/+3
Change-Id: I99d3a715cce203eb2303c76da3b20e6d853a9d23
2015-01-09Resolves: #i94895# fix illegal result of Replace runtime function"Caolán McNamara2-3/+3
and adjust the basic test-case, which is surely wrong The syntax for REPLACE is: // Replace(expression, find, replace[, start[, count[, compare]]]) surely in the case of a start of 3 the preceeding chars should be returned unchanged in the result, not stripped off as before this change. This reverts commit 869402a58720b45e7227438b2e56e5a9532c0000. Change-Id: Ie710e4de9e7e35c84abe2770142a963532820af4
2015-01-09Work around -fsanitize=nullStephan Bergmann2-2/+2
(mpLayoutCache may be null, but that was harmless as Write was effectively static) Change-Id: I41b10593c5ae98de92e7b305d9db75d0c4c7b334
2015-01-09external/redland: Work around -fsanitize=nonnull-attributeStephan Bergmann2-0/+17
Change-Id: Ibffc44da6e9d6fb02d43d8a2b7e143ff994d76a8
2015-01-09SolarMutexClearableGuard and SolarMutexResettableGuard are never overridenNoel Grandin1-4/+4
so make them final and make their destructors non-virtual Change-Id: I94453786d2befb885996996040a766bc4ccbb4e3
2015-01-09Android: add share feature in the context menuJacobo Aragunde Pérez3-0/+22
Known issues: the mimetype returned for .odp files is null and share does not work on these files. Change-Id: I61e752763a6934657c30fff3cefc57ac0144ec71
2015-01-09Android: add context menu in document browserJacobo Aragunde Pérez3-13/+54
Change-Id: I234f7ddb99570498f86449cf61ceb72696995b0d
2015-01-09loplugin:cstylecastStephan Bergmann1-1/+1
Change-Id: I86aaad9f38ad63121805fa3dc05b3a8a33428ef7
2015-01-09Resolves: #i63614# fix strange type mismatch when Iif function is usedTsutomu Uchino5-10/+27
Second or later compilation uses value type returned by previous execution of code. Use the defined type as return value of the runtime function of Basic always. (cherry picked from commit 7470c682e136a4a89c1e9474bbc79b2d61f31048) Conflicts: basic/inc/basic/sbxmeth.hxx basic/inc/basic/sbxobj.hxx basic/source/runtime/stdobj.cxx basic/source/sbx/sbxobj.cxx Change-Id: I3064e8403286a9c1401ef658bf139bedeae11f17
2015-01-09external/icu: Work around -fsanitize=shiftStephan Bergmann1-2/+4
Change-Id: I17936ae2e37520abaa7dd31a5bb9aec6300ea021
2015-01-09Factor out XFillBmpTileItem::dumpAsXml() from swMiklos Vajna3-3/+13
Change-Id: I01816988eb3c47e60826ff01c1b8402f9f5130e4
2015-01-09fdo#84938: convert FRMTYPE_ #defines to 'enum class'Noel Grandin27-183/+189
and consequently fix bug in SwPageFrm::PreparePage where it was comparing against the wrong #define's Change-Id: I681f7e9f3f9bbe1ddf2613814ed36cfe0955825f
2015-01-09fdo#84938: replace SYSTEMWINDOW_MODE constants with 'enum class'Noel Grandin7-22/+29
Change-Id: I1c761482cb78efc26d3beda75381557268e1bc0d
2015-01-09enum Service is unusedNoel Grandin1-6/+0
Change-Id: I7aaeda37ceea080251f9d6381a78d13b8fb055d0
2015-01-09fdo#84938: convert POLY_OPTIMIZE_ #defines to 'enum class'Noel Grandin10-31/+39
Change-Id: I163bd3f521473c5357c23c3ce4978f984be7b6fe
2015-01-09Revert "Use SVLIBRARY instead of gb_Library_get_runtime_filename"Matúš Kukan13-10/+18
$(call gb_Library__get_name,foo) returns "libmerged" if library foo is merged. This reverts commit ee567a63fad9e755b11ca28696da35f00ed3b0fc. Change-Id: I6ab9b7f0b01262a6f9d5a6834a6cffdd6ffc6f8a
2015-01-09cui: SvxLinguTabPage::GetRanges() is dead, remove itMichael Stahl2-19/+0
That's what the comment on it said before it was translated. Change-Id: I8812f99253bd4a14cb1109abf72b11d650f56003
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl260-417/+410
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-09translate all remaining abuses of "ueberladen"Michael Stahl7-50/+17
It is scary how many barely educated C++ programmers can't tell their inclusion polymorphism from their ad-hoc polymorphism. Change-Id: Id4df7d168ba5257eff522a7f131c841c1ddcbccd
2015-01-08asan: global-buffer-overflow on fdo55736-1.docxCaolán McNamara1-1/+4
Change-Id: If69a57aa9ff011cc670f868cb87b3a1c4d904435
2015-01-08Revert "Resolves: #i94895# fix illegal result of Replace runtime function"Caolán McNamara1-2/+2
This reverts commit 340ca294d43f2c5b9fda1afbf178609a015f71e3 as CppunitTest_basic_vba breaks, so needs revisiting to see which is right Change-Id: I10168d454a8c67d91eee5bb8939aff74bba42954
2015-01-08An odd way to say "nullptr"Stephan Bergmann1-1/+1
Change-Id: I6d83714b78c4d149dff5ea56483d7afa6d0eb677
2015-01-08Resolves: #i94895# fix illegal result of Replace runtime functionTsutomu Uchino1-2/+2
(cherry picked from commit a2700f75af61837033ff213607445cc1f74b36d6) Conflicts: basic/source/runtime/methods.cxx Change-Id: If9c671a612de87d8d37bfc40704a97a6062fd150
2015-01-08Sane SvStream* fake pointer values for 64-bit platformsStephan Bergmann1-3/+3
cf. <https://gerrit.libreoffice.org/#/c/13659/3> "Signed/Unsigned mismatch on x86_64 platform on windows" Change-Id: Ie526ee431f59be374d61fe8c38bdf2a579a7234b
2015-01-08Fraction fiasco: avoid assert on clicking "master pages" in impress sidebarCaolán McNamara1-3/+3
avoids the dread assert in vcl wrt. "detect overflows" in ImplLogicToPixel of vcl/source/outdev/map.cxx but the whole thing looks a nightmare if a high precision double is given as an arg to Fraction and the underlying boost foo uses longs longer than 32bits to represent that. Change-Id: Ia0fa911cf07ed613e0b1bbd97b63a291f29628cb
2015-01-08Revert "Don't assume that the ZOrder property of shapes is an enumeration"David Tardon6-30/+19
This reverts commit 66c7dbbf7dfba8cfab63f8d1df72ace87e5bf7ca. See https://gerrit.libreoffice.org/#/c/13554/ . Conflicts: include/xmloff/shapeexport.hxx reportdesign/source/filter/xml/xmlExport.cxx sc/source/filter/xml/xmlexprt.cxx xmloff/source/draw/shapeexport.cxx Change-Id: I14fed9ad043a756a9e2d390c76fa907c349c3a2e
2015-01-08Use a more boring value of piTor Lillqvist1-1/+1
Innovativeness is good but perhaps not for mathematical constants. Change-Id: Icef93802ce9123120c8527f3fa07e524b6e067d0
2015-01-08loplugin:cstylecast,stringconstantStephan Bergmann1-4/+4
Change-Id: Iffc8cbf108310099318e37378c4b3033ea087cee
2015-01-08Bin obsolete conditional compilationTor Lillqvist1-120/+0
UNROLLING_FACTOR (or UNROLLING) has been defined since November 2013. No need to keep old code around inside ifdefs. We have this thing called version control. Change-Id: I1f10f205df95014f8c223bd7a8716757577eade0
2015-01-08Bin obsolete conditional compilationTor Lillqvist1-11/+2
USE_FMIN_FMAX has been defined a long time. There is no information in any comment or in the commit that introduced it why one would not want to use the OpenCL fmin() and fmax() built-in functions (intrinsics). Keeping such stuff in the source code (and in the generated OpenCL code) is pointless and just makes it harder to read. Change-Id: Ibc0b950c0f16872867eb5eff089b33b00cb95028
2015-01-08Bin obsolete conditional compilationTor Lillqvist1-7/+1
MD5_KERNEL has been defined always for a long time, and I don't see why we wouldn't want that functionality. Change-Id: I7ee220ac3354fb8e5f6556259147675847aab68d
2015-01-08Bin obsolete conditional compilationTor Lillqvist1-6/+0
NO_FALLBACK_TO_SWINTERP has been undefined for a long time. I doubt anybody knows any more what it means, and in what situations it might perhaps make sense to define it. Should it be a compile-time choice anyway, in that case, or a run-time one? What is a "TDD run"? Test-Driven Development? But we have our unit test mechanism for that. Change-Id: If3e21e958ebeb689a8aac8eb7393c02f7143401c
2015-01-08Properly change Link class to use sal_IntPtr instead of longStephan Bergmann1-21/+21
...follow-up to 4e41227dd6af52ec562d10efcb365defba6bd36e "mingw64: change Link class to use sal_IntPtr instead of long;" should make obsolete <https://gerrit.libreoffice.org/#/c/13659/> "Signed/Unsigned mismatch on x86_64 platform on windows" Change-Id: I9fcc947bb96e104816c2820cb338fc34c528bae0
2015-01-08-Werror,-Wtautological-pointer-compareStephan Bergmann1-5/+3
Change-Id: I55db1220e234b92f5d0a3794f416154495da8b69
2015-01-08update creditsChristian Lohmaier1-1076/+1224
Change-Id: Id69fb63e8f77a1f26491fc2a5d50d17a4d6421eb
2015-01-08sc: ODF import of data pilot:Michael Stahl1-1/+0
Revert part of 8e417a8fed528034e946bd25e66ce346c1b5384d that looks unnecessary: this is used in ScXMLDataPilotMembersContext::CreateChildContext() which is below table:data-pilot-level which actually uses the data-pilot-member element, whereas the data-pilot-group element occurs below table:data-pilot-groups. Change-Id: I7a3183bd3dbfa98b3bdf5e581b700910025af965
2015-01-08osl/detail/component-defines.h is used in cppumaker-generated codeStephan Bergmann1-0/+25
see ServiceType::dumpHxxFile and SingletonType::dumpHxxFile in codemaker/source/cppumaker/cpputype.cxx partial revert of 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 "brute-force find-and-remove of unused #define constants." Change-Id: I3c3d10f2d81926ad0b86330d46b8bf52416bc361
2015-01-08[API CHANGE] remove oslDescriptorType/FlagStephan Bergmann1-10/+0
...apparently unused since the corresponding code was removed with 2ad023906439164a10e7e2bbd6ae85f0e8958efe "#87132#removed obsolete parameter in executeProcess" in 2001 (detected after 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 "brute-force find-and-remove of unused #define constants" boldly removed the corresponding osl_Process_DF* defines from osl/process.h) Change-Id: I49c20aec9b4acb08d42bfa0371ee1149d6c4e9d4
2015-01-08[API CHANGE] Remove osl_send/receiveResourcePipeStephan Bergmann4-152/+11
...they had not been documented in osl/process.h and the sal/osl/unx implementation had been stubbed out since 7b37265b8e1afe480a6bbd271bf48fa1cbb44d55 "sal: remove unx implementation of osl_sendResourcePipe/osl_receiveResourcePipe" in 2012 Change-Id: Ia3ae853d95b6f3b2d2743f06755ef8f6246501d8
2015-01-08valgrind, zero out the trailing unused alignment bytesCaolán McNamara1-9/+14
as seen with fdo55736-1.docx Change-Id: Ie1dec06282a600e600f606a3b4ddd814613b0108
2015-01-08HACK to avoid empty page size/div by 0 in chart2 LegendWrapper::setPositionStephan Bergmann1-1/+1
see thread starting at <http://lists.freedesktop.org/archives/libreoffice/2015-January/065706.html> "CppunitTest_sw_ooxmlsdrexport: division by zero in chart2/source/controller/chartapiwrapper/LegendWrapper.cxx" Change-Id: If8fde31dff04d9a223687838df6dd9fe4e57ee8b
2015-01-08Re-use aRectStephan Bergmann1-1/+1
Change-Id: Ic63daa16e6931dd7842faae0d3c83ae0fdeb132f
2015-01-08Fix typoTor Lillqvist1-1/+1
Change-Id: Ifdbcbcc51c29dc14b2a3b4c845481b45300313d6
2015-01-08coinmp: Don't hard code Win32 platform on WindowsDavid Ostrovsky4-4/+31
Change-Id: I39eafa22b12e62c766a182c2ebc2b115084f4cef Reviewed-on: https://gerrit.libreoffice.org/13231 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-01-08Disable html tests on x86_64 on windowsDavid Ostrovsky1-1/+1
Change-Id: Idae98f65bd87d08c62b27c5c604e4d98fcacbe1e Reviewed-on: https://gerrit.libreoffice.org/13660 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-01-08avmedia: disable VLC unless in experimental model.Michael Meeks3-1/+20
The code is really not in an ideal state, the key-frame generation is horrible - involving playing the video for three seconds each time etc. While the idea is great - the impl. and libvlc API use needs some love from a VLC expert really. Change-Id: If1787749d9952e30c1d80846e925cf1f65231463
2015-01-08loplugin:cstylecast: improve detection of C codeStephan Bergmann2-7/+43
Change-Id: Id5dd1ee1a29c4e1c7cb2b58419d6ccb1f032bffe