summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-11cppcheck: unreadVariable 'bTextWrap'Jochen Nitschke1-10/+0
commit 764752f5d85cb7c86ad21340dfdda4b62754790c "better import xlsx heights" left some unused code Change-Id: I1bc0210f65a1e0c3cb16f86145b874cbca53f151 Signed-off-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-on: https://gerrit.libreoffice.org/22013 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-11xmlsecurity OOXML export: fix double-char-fragment of same-document referencesMiklos Vajna2-6/+6
The problem was that the final export lacked the "#" prefix in the same-document reference names. Fix this by doing what the ODF export does: don't let the signature informations (data model) contain the "#", just prepend it right before writing the name out. This way it won't matter if the source of the name is an import (which doesn't keep the "#") or a new signature (which did, previously), we'll always write exactly one "#". Change-Id: I18b6a5ba55b7e79ace537b7ecf575a7abc71e281
2016-02-11xmlsecurity OOXML export: write signature streams to persistent storageMiklos Vajna3-0/+18
Change-Id: Ia24a1b64d4adfc0db537704779ca25cfd86cac8f
2016-02-11xmlsecurity: avoid throwing io::IOException when OOXML export misbehavesMiklos Vajna1-1/+5
The root cause (and that still needs fixing) is that the OOXML signature export fails to start same-document references with a "#" character. OTOH, even if that happens, it's better to throw uno::RuntimeException in UriBindingHelper::OpenInputStream() to avoid std::terminate(). Change-Id: I9c9c211de36fb0aeb2c33f62b094c9f4d9c85b3d
2016-02-11xmlsecurity: export OOXML signature relations to persistent storageMiklos Vajna2-7/+21
With this, _xmlsignatures/_rels/origin.sigs.rels and _xmlsignatures/origin.sigs is written to the destination file. Change-Id: I8d63a182e7cf05ed20195f88c90fba2a9a05379e
2016-02-11Updated coreAndras Timar1-0/+0
Project: dictionaries 86e206b136520e4e4952637851f05d104af53715 Updated pt_PT dictionary to version 16.1.3.4 Change-Id: Iceff55cf9d09817f8f857b687983fddfbffb5c56
2016-02-11ReadDelemiter->ReadDelimiterNoel Grandin3-5/+5
Change-Id: I311eb27e3d287f3ef409cb54f19a152793f940d9
2016-02-11improve the parsing loop for the module keywordNoel Grandin1-7/+1
Change-Id: I0931ae0edfb45c5d4c67f545a1a5e513c8210e88
2016-02-11create a new class SvIdlParserNoel Grandin6-65/+132
and start the process of moving the parsing code to one central file Change-Id: If6d8def37ec8c8415c22d39f9d8b7a09ec423873
2016-02-11we don't use the optional "(" in import statements in .SDI filesNoel Grandin1-2/+1
Change-Id: I74595786754381fef8105e3acfeb0f693bdbea83
2016-02-11spellingNoel Grandin1-9/+9
Change-Id: Ic6464cd4d2c4fdb302f6337719ad937c0d3f8135
2016-02-11simplify some OStringBuffer codeNoel Grandin2-10/+4
Change-Id: Ic1b0e13a8d77154fa780f6804ee36b5a5d9c7334
2016-02-11simplify error handling codeNoel Grandin7-45/+21
Change-Id: I8f70d6bde7018d5b4455f95373f1b7d5dbc4d76e
2016-02-11rename Back2Delemitter->Back2DelimiterNoel Grandin3-4/+4
Change-Id: I8e4cf6fa936bc94db3f8a865731d00878354ad99
2016-02-11use WriteOString to reduce the code a littleNoel Grandin4-67/+64
Change-Id: I5378478500a18b2d7156b7047867bc53f6513b45
2016-02-11OTempFileService: avoid manually deleting mpTempFileMiklos Vajna2-11/+5
Change-Id: Ic2f83fd4ff83795a77dd9b97b98e2635e5c447c0
2016-02-11tdf#89505: replace tab character with space in table of contentsOliver Specht1-1/+1
the ToxWhitespaceStripper now replaces also tab characters so that they don't break the formatting Change-Id: If66aaddcbc0f8c65461f53f07ca7031f8f1d11b4 Reviewed-on: https://gerrit.libreoffice.org/22271 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-02-11[API CHANGE] add operator==/!= to UNO structsNoel Grandin28-289/+68
this is useful now that we are storing UNO structs in std::vector Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369 Reviewed-on: https://gerrit.libreoffice.org/22257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-11tdf#67343 Standardize order of dialog buttonsOlivier Hallot1-79/+75
Standardize order of OK, Cancel, Help buttons in all dialog windows Slide Design dialog Change-Id: I015899fd1b2e27f868c130d4b27b06fa403bb0ce Reviewed-on: https://gerrit.libreoffice.org/22275 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-02-11tdf#67343 Standardize order of dialog buttonsOlivier Hallot1-12/+13
Standardize order of OK, Cancel, Help buttons in all dialog windows Protect sheet dialog Change-Id: I4549d999a4bb73102eb8ab6b443143956923ae3e Reviewed-on: https://gerrit.libreoffice.org/22254 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-02-10Refactor ScMarkData for tdf#50916Dennis Francis14-125/+539
Made the container for storing multimarks dynamic. Also let the full row marks to be stored in a dedicated ScMarkArray object rather than in the multimarks container. Unit tests for ScMarkData and ScMultiSel will come in a follow up patch. Change-Id: I300ff80bebd6f4f39c284c1e8cb7deece82c1bec Reviewed-on: https://gerrit.libreoffice.org/22163 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-10update emoji autocorrect files from po-filesChristian Lohmaier4-1164/+1369
Change-Id: I9afda5ccefa59c41977244aa40844d6b7d926b13
2016-02-10update creditsChristian Lohmaier1-1322/+1384
Change-Id: Iee78d25b7488273be7dfc8f9cd143c59b5169734
2016-02-10Updated coreChristian Lohmaier1-0/+0
Project: translations 5eaac2d75c77fe4ba1a3bd3838c8cd1e74a4e2fe update translations for 5.1.1 rc1 and force-fix errors using pocheck Change-Id: Id683b299a55c834c69222b37a76361d9ac0804e1
2016-02-10xmlsecurity: handle creation of OOXML _xmlsignatures sub-storageMiklos Vajna1-2/+2
Previously this code worked only for reading, as we assumed if it doesn't exist, then the storage is not OOXML, either. With this, DigitalSignaturesDialog::OKButtonHdl() gets a valid storage, where it'll be able to write the actual signatures. Change-Id: Iadf63a88c962386abc31225c02398761aea818cb
2016-02-10xmlsecurity: fix reading OOXML signature from temp storageMiklos Vajna1-1/+3
When reading a signature, we just take the ODF signature stream or OOXML signature storage. When writing, we write to an ODF temporary stream / OOXML temporary storage, read it back, and only the signatures dialog close handler writes the signature back to the original file. The underlying OOXML temporary storage's stream is the signature stream, so only try to load signatures from the stream if it's not OOXML, throwing a ZIP file at an XML parser is not a great idea. Change-Id: I6e42d117b9c97676aaeaad158e78e39a2c39a5e8
2016-02-10xmlsecurity OOXML export: write signature descriptionMiklos Vajna1-0/+58
Change-Id: I29937cf6baa02bda7821b4bb44c95e5b8a278080
2016-02-10xmlsecurity OOXML export: write signature timeMiklos Vajna2-0/+43
Change-Id: I88b0be8b375b7698224e08768d867b767c3a98ad
2016-02-10find-german-comments: misc. cleanups and fixes for altered tree.Michael Meeks1-4/+17
Change-Id: I6d6f3488afd71cb782bd83fea9fa11a2e52d0efe
2016-02-10tdf#46037 clean up Options - LibreOffice - Accessibility pageAndras Timar2-29/+36
switch to new config access and handle read-only state, too Change-Id: I499363ae59163ffcea4f7d3b0fe72289b88ffb79 Reviewed-on: https://gerrit.libreoffice.org/22261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-02-10Revert "Related: rhbz#1168756 save chosen printer also in print settings dlg"David Tardon1-5/+0
This is wrong--the printer should not be remembered globally, as it is only for the current document. This reverts commit 4bc37b7e804fbfe17f8f516487d16ea23a0b246e. Change-Id: Ic917470408dbf9ff704e485358463852a45b57a4
2016-02-10xmlsecurity OOXML export: write RelationshipTransform algo argumentsMiklos Vajna2-1/+48
The usual generator/meta stream and the signatures itself are the excluded ones. It seems everything else has to be listed explicitly. Change-Id: Ie0f3e161aa0c2e1cb97ad3d9d012ac78078e287a
2016-02-10xmlsecurity OOXML export: use RelationshipTransform for relationsMiklos Vajna6-11/+46
Change-Id: I5fd400f095998184107c10afa95fe8b12c123d33
2016-02-10writerfilter: DOCX signature is read in xmlsecurity already, remove TODOMiklos Vajna1-8/+0
Change-Id: Ibae2fdd0d56f68ab3401b5215b9b67000d05a3ca
2016-02-10xmlsecurity OOXML export: sort manifest referencesMiklos Vajna1-0/+2
Again, just to not pointlessly differ from what MSO does. Change-Id: I49f4744db1489120d300349fcd40756c0bed7de9
2016-02-10svtools: missing space between brackets and const in fn sigChris Sherlock1-1/+1
Change-Id: I95467b53acf3940260616a747b0806050419953d
2016-02-10vcl: actually remove ImplTranslateCommandEvent!Chris Sherlock1-10/+0
Change-Id: Ic120f83c5809074d082a86f677790ce9df35abcb
2016-02-10vcl: ImplTranslate(Command|Mouse)Event changesChris Sherlock1-9/+24
ImplTranslateCommandEvent is used exactly once, so remove this function. ImplTranslateMouseEvent is used a few times, make it local to the file and tweak. Added comments to both areas explaining what is being done. Change-Id: I68cd424a1d586df44957a62a66de3c9876ab873e
2016-02-10opengl: remove unneeded mnBufWidth{Height} from OpenGLSalBitmapTomaž Vajngerl3-24/+6
Change-Id: Idf445b9f6b403a0d37650c14e17b7d754451edf1 Reviewed-on: https://gerrit.libreoffice.org/22258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-02-10svx: updated comment function signature return typesChris Sherlock1-5/+5
Change-Id: I4ebe95660b18fae2339876866cd95c7ca752e63d
2016-02-10vcl: move CommandEvent functions from header to cxx fileChris Sherlock4-222/+203
Moving functions from commandevent.hxx to commandevent.cxx, this means they are no longer inline, but there was no clear reason as to why they were inline in the first place! I've also reordered the header to ensure that CommandEvent is the first fully declared class, the data classes get declared after this (hence the forward declarations). This makes reading this header much easier. One more small thing: a few if statements had braces in the primary if block, but not in the else block, which is IMO bad style and can possibly lead to errors. I've made the else block use braces. Change-Id: I79b010bd66d3c9f4a74d4fa470f62d0263c811f4
2016-02-10tdf#97435: Avoid persistent window state crack when used from LibreOfficeKitTor Lillqvist2-1/+11
Change-Id: Icab7dea3cf63f3932b7759acec339b498a8ac9c5 Reviewed-on: https://gerrit.libreoffice.org/22233 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-02-10opengl: invert50 shader compilation errorTomaž Vajngerl1-3/+3
- can't assign vec4 to vec2 - LHS of `&&' must be scalar boolean Change-Id: I46bef7d41198ed1a33f9c3f7796f25358849852e
2016-02-10tdf#87813: Reduce duplicate codeRishabh1-33/+1
Change-Id: Ib546849de5101d7e9ebdf20f98f080575ce5f9cc Reviewed-on: https://gerrit.libreoffice.org/22192 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-02-10loplugin:nullptr, loplugin:overrideStephan Bergmann1-15/+15
Change-Id: If4500b8b41915a05a2bfb2c776259f49ad9bfc85
2016-02-10tdf#87034 RTF import: fix multiple superscripts after footnote ...Miklos Vajna4-6/+21
... in the same paragraph. The intention was to avoid replaying the supertext buffer and using its contents as a custom footnote mark at the same time. However, it's enough to check if the buffer is empty to do so, and that avoids the mis-import of the bugdoc as well. Change-Id: I1e3b0c7f0c6d8eb8250d8b1d0d7d196039c40e79
2016-02-10loplugin:nullptrStephan Bergmann1-2/+2
Change-Id: If248c921cd5c64c74f36193f3928835f0059834d
2016-02-10tdf#53472 Integral Symbols too small for some integrandsmelikeyurtoglu1-12/+8
Change-Id: I1ab550821f0b254a7414246fd72f3882b7140c90 Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/21482 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-10Add existing CppUnit test for sal/rtl/randomChristoph Brill2-0/+22
The tests itself already existed, we were just missing the .mk file Change-Id: I662eba5d955aa5cbd774dbb3b4c9f9010dc1d7d6 Reviewed-on: https://gerrit.libreoffice.org/22249 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-10Simplify codeStephan Bergmann2-17/+3
Change-Id: I2ac0564a5a6714111abdcff48edff070d75892b7