summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-26external: update pdfium to 3064Miklos Vajna7-33/+79
This contains the new FPDFPath_GetFillColor / FPDFPageObj_GetType APIs I want to use in CppunitTest_vcl_pdfexport. Change-Id: I275ff761188c07dbbab27a1e0715ac250cd306c9 Reviewed-on: https://gerrit.libreoffice.org/36974 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-04-26vcl: refactor ErrorHandler functionsChris Sherlock2-58/+47
Current, HandleError_Impl is called on by GetErrorString, and HandleError_Impl also creates the error string. However, when you look at what each function does, HandleError_Impl has been imbued with some extraneous parameters: 1. bJustCreateString, and 2. rError bJustCreateString is unnecessary, in fact it just mutates HandleError to create the string, which is not really the core purpose of this function. In fact, the string should be created when we get the string from the error ID (GetErrorString), and in fact the error handler function should call on GetErrorString and not the other way around! This has the happy side effect of vastly simplifying this code, and allows each of the functions only do the thing they are meant to do, and we no longer need these extraneous parameters which just cause problems for code readibility. On to of this, by simplifying the HandleError_Impl function, we just move the code into the public HandleError function because these parameters aren't necessary any more. Change-Id: I4a727b5bbc6d3cdb0519f49b48dc52f8a8976629 Reviewed-on: https://gerrit.libreoffice.org/36849 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-26remove sc bitmaps from .src filesCaolán McNamara29-761/+255
Change-Id: I351b67616b240e3c0c91ea31d8f14ecfa6de8b4a Reviewed-on: https://gerrit.libreoffice.org/36991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-26ParaPortionList::SafeGetObject: SAL_WARN_IF nPos out of boundsEike Rathke1-0/+4
Change-Id: Id21e86a0db5be9f12c377d5bb48265dd2e12b9bb
2017-04-26tdf#107427 sw: fix crash when deleting header with selected tableMichael Stahl1-0/+4
Restore resetting of the table cursor point position in SwCursorShell::ParkCursor(), which somehow prevents the crash. (regression from efc5995170f2ffe98374acb16a4f851bede6842d) Change-Id: Ia7ec2967c84cfcffe1718e9604d6b8506c3839a4
2017-04-26check for nullptr, tdf#104265Eike Rathke1-10/+13
Crash not reproduced, but a nullptr is believed to be the cause as ParaPortionList::SafeGetObject() may return nullptr if a stray EditPaM was passed to ImpEditEngine::GetI18NScriptType() At least this matches http://cgit.freedesktop.org/libreoffice/core/tree/editeng/source/editeng/impedit2.cxx?h=libreoffice-5-2-4#n1756 given in http://crashreport.libreoffice.org/stats/crash_details/725e8295-6dc0-4b0c-aff3-57c6c95930f2 and http://crashreport.libreoffice.org/stats/crash_details/e2570ac8-6137-4b67-91b2-6cc871f8cb69 Change-Id: Id01983a31145442016da527a57024dc060060b1a
2017-04-26sw: fix loplugin:override warningMiklos Vajna1-1/+1
Change-Id: I3c8847400adbfb9a843b1a47ec86c28c54c41b95
2017-04-26Change "check amout" -> "checksum"Olivier Hallot1-1/+1
Unit #126486444 Change-Id: Id40b26a022b21f379677de41b55603fff7cd862a Reviewed-on: https://gerrit.libreoffice.org/36823 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-04-26CppunitTest_vcl_errorhandler: fix loplugin:simplifybool warningsMiklos Vajna1-2/+2
Change-Id: If2af785961b06efa56c2a55bef6b3b364bf91d57
2017-04-26loplugin:unusedmethodsNoel Grandin12-101/+71
Change-Id: If2e1241bbe8a3d17859e3ca076b0f55f25c48ea5 Reviewed-on: https://gerrit.libreoffice.org/36983 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-26last private:resource ... bitmap user is goneCaolán McNamara2-6/+2
so drop private:resource ... bitmap example and remove bitmap case, bitmapex case persists Change-Id: Iabf7c48517c17e3117f88daa80a258b7303b85dd
2017-04-26remove sfx2 bitmaps from .src filesCaolán McNamara26-301/+132
Change-Id: Ibc4261af5f479badd281211e467d2c7b524af3f3
2017-04-26tdf#107427 sw: fix crash with stale entries in SwNavigationMgrMichael Stahl2-6/+35
When deleting a header, the sw::UnoCursorPointer of SwNavigationMgr spontaneously self-destructs, but SwNavigationMgr expects its cursors to always be alive, so add another SfxListener to remove dying cursors. (probably regression from a2c467a58ade9f55e0154b2935c747bb283ebd45) Change-Id: I1055ea3cfc47114dc36002198f1ddffea87d2d85
2017-04-26clang-tidy readability-simplify-boolean-expr in svxNoel Grandin13-76/+18
Change-Id: I5190e453edd9fc2eda57f730834567e8e214ff16 Reviewed-on: https://gerrit.libreoffice.org/36931 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-26Updated coreAdolfo Jayme Barrientos1-0/+0
Project: help f986a76171ac9fcd45f5996dc9fc3ac31f46dd31 tdf#107193 tdf#107436 Increase body size to 11 pt Change-Id: I2504884668815682a6f3487c49ed994d5cbff253
2017-04-26Translate German comments (leftovers in include/svx/)Johnny_M16-22/+22
Change-Id: I1f4238525962d57956fd08c93e7c4d3bc52e4dc5 Reviewed-on: https://gerrit.libreoffice.org/36808 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-26tdf#84323: Make osl::Condition::wait more readabledilekuzulmez1-2/+2
Change-Id: I9fabc88aac40f4c14bc6fe5b26d4a49de33aef75 Reviewed-on: https://gerrit.libreoffice.org/36576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-26remove sfx2 bitmaps from .src filesCaolán McNamara4-145/+44
Change-Id: I54448567db051f4446c36b16acdda2288b391537
2017-04-26remove svtools bitmaps from .src filesCaolán McNamara14-809/+357
Change-Id: I13280315c2af2277d5c8d31c079075337b2c8f82
2017-04-26tdf#84323: Make osl::Condition::wait more readabledilekuzulmez1-2/+2
Change-Id: Icb7d1fc92296dddb2a5f3c1517af0ce237e0f8a0 Reviewed-on: https://gerrit.libreoffice.org/36567 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-04-26Revert the wrong "cleanup" change.Kohei Yoshida1-1/+4
Introduced by 63df0796f5ec500f3b6fb34510d4bc79c009e76d. Change-Id: I2481bcef144bd30571e69130d22f6d313dbddfea Reviewed-on: https://gerrit.libreoffice.org/36968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-26remove xmlsecurity bitmaps from .src filesCaolán McNamara5-11/+21
Change-Id: I4a1e272f26711e2c3a3860f3b2553467b979405c
2017-04-26loplugin:staticmethodsStephan Bergmann1-18/+16
Change-Id: Ib8a5e36dda6e953529d27233a65469e46f035292
2017-04-26Fix MSVC buildStephan Bergmann1-1/+1
Change-Id: I6c13e9699a7ebc7cd3855242bd2bbab5f08b382b
2017-04-26tdf#39674: Rename Fehler to ErrorJens Carl1-5/+5
Change-Id: Ib8288db4ddde159f274a0ca251230c7d721e0079 Reviewed-on: https://gerrit.libreoffice.org/36972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-04-26remove reportdesign bitmaps from .src filesCaolán McNamara7-137/+58
Change-Id: I9dfea090c130962591762cba88fcd69bbacf05fe
2017-04-26remove framework bitmaps from .src filesCaolán McNamara5-22/+24
Change-Id: Iea85517a60874d49cdf60860071f0924b96cbf62 Reviewed-on: https://gerrit.libreoffice.org/36966 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-26remove fpicker bitmaps from .src filesCaolán McNamara11-33/+38
Change-Id: Ice75bf15e509869bb7e8344381595838918acd81 Reviewed-on: https://gerrit.libreoffice.org/36965 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-26remove formula bitmaps from .src filesCaolán McNamara9-58/+39
Change-Id: If1f43c9ff969c12b87999424b6e4be8390307c8f Reviewed-on: https://gerrit.libreoffice.org/36964 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-26remove filter bitmaps from .src filesCaolán McNamara5-14/+22
Change-Id: I3e1ee8ab50426cdeaf455e59179fb6d34c97d4a3 Reviewed-on: https://gerrit.libreoffice.org/36963 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-26remove extensions bitmaps from .src filesCaolán McNamara21-386/+103
resulting in the removal of a updchk .res file Change-Id: I7a6f3601f25763253ba34590a1970ca8a042db23
2017-04-26Resolves: tdf#107372 set opengl context when using opengl functionsCaolán McNamara1-1/+9
even if they are teardown ones Change-Id: Ie222d3ffb2b555c0013d7346552d3fc76ec87d9b Reviewed-on: https://gerrit.libreoffice.org/36948 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-26remove this whole "kill SwFlyDrawContact with last frame" nonsenseBjoern Michaelsen6-49/+0
- first of all, SwFlyDrawContact is part of the document state/model, not the layout. - SwWW8ImplReader::CreateContactObject() and SwXFrame::GetOrCreateSdrObject() seem to agree as they create SwFlyDrawContacts without caring for frames using them being around. This was inherently fragile as FinitDrawObj would mercilessly kill the SwFlyDrawContact in that case (and thus also modify document state). - SwFlyDrawContact is now entirely owned by SwFlyFrameFormat. Change-Id: I70b716fef63279552b39a18ac143024a460ba785 Reviewed-on: https://gerrit.libreoffice.org/36899 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
2017-04-26vcl: add ErrorHandler unit testsChris Sherlock3-0/+117
Change-Id: I62f7d948522676ae2bed1a425c2f038929fb00b8 Reviewed-on: https://gerrit.libreoffice.org/36848 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-26extend unit test for INetMIME::scanContentTypeJochen Nitschke3-17/+128
This reverts parts of commit 631b67952909a73ba1851417bd2edbe02ad7be5a and commit abc6071b7a8af354a56c91e4caecd8afc79f55cc. some of the removed fields are usefull, m_bConverted should be checked by callers fixed 2 bugs and added test cases: * extended attributes with more than 2 sections were not parsed * extended attributes with more than 1 section were not parsed if there was an other attribute Change-Id: I61ab2af7c5151ef1bcd80cc159fa2b99559374a8 Reviewed-on: https://gerrit.libreoffice.org/36913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-04-26remove dead "chained editeng recursive overflow" codeNoel Grandin1-33/+0
been this way since original commit in commit 5b04c453cc03c0d2c6067625242f07deb8f78ba0 Author: matteocam <matteo.campanelli@gmail.com> Date: Mon Sep 7 12:44:37 2015 +0200 chained editeng: Change EndTextEdit behavior to support recursive overflow Change-Id: Id71db878b80457683f49349170e85bbabbd753f6 Reviewed-on: https://gerrit.libreoffice.org/36940 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-26use strong_int for LanguageTypeNoel Grandin184-2689/+2537
Change-Id: If99a944f7032180355da291ad283b4cfcea4f448 Reviewed-on: https://gerrit.libreoffice.org/36629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-04-26RTF export: restore build-time test for self-containing headersMiklos Vajna2-2/+2
If the "own" header is not the first one, the compiler no longer ensures that these headers are self-contained. Change-Id: I436428213e02482e6b6f21cd4e3c2ed04a7b4020
2017-04-26vcl: rearrange header orderChris Sherlock1-3/+5
Change-Id: Ib902e0ff8e416c108e311be297192f109fe58ae7 Reviewed-on: https://gerrit.libreoffice.org/36846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-26starmath: Show all Functions' menu items in Command MenuTakeshi Abe1-64/+51
I am not sure why nested submenu does not work, but found GNOME HIG <https://developer.gnome.org/hig/stable/menus.html> says that > Submenus (...) should never contain other submenus. Change-Id: Id2f06efb596b66af74d4877b1e42c0c00e310b19 Reviewed-on: https://gerrit.libreoffice.org/36881 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2017-04-26vcl: remove comment-cruft from errinf.cxxChris Sherlock1-1/+0
Change-Id: I53272ef788375ea3cfecc1fa9f24185909801fa1 Reviewed-on: https://gerrit.libreoffice.org/36847 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-26vcl: no longer a reverse dependency...Chris Sherlock1-2/+1
Change-Id: I38a73ad4190e8f06b74fc314d78cd4aa7d4479e7 Reviewed-on: https://gerrit.libreoffice.org/36845 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-25vcl: whitespace cleanup for errinf.cxxChris Sherlock1-18/+23
Change-Id: I5b1ad2017926b5b12b0620bf06aea1561f95ecf8 Reviewed-on: https://gerrit.libreoffice.org/36843 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-25vcl: added in some braces as this tricked me for a millisecondChris Sherlock1-18/+21
Change-Id: I2bf35b379e84a61c8957161f7b647ae178e82b7b Reviewed-on: https://gerrit.libreoffice.org/36842 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-25vcl: change ErrorHandlerFlags to DialogMaskChris Sherlock19-129/+129
Change-Id: I1959ac97f679d8d719f851f9869962b39a20ded9 Reviewed-on: https://gerrit.libreoffice.org/36841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-04-25tdf#101055 Translate default name of bookmarksGabor Kelemen4-3/+7
Change-Id: I9dd5ab006c7b7e7da7c4c2705925bbf264b58b60 Reviewed-on: https://gerrit.libreoffice.org/36813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-04-25update creditsChristian Lohmaier1-1754/+1801
Change-Id: Id21b158bcdb4ff51950bcce0869e6c79a7e48fc4
2017-04-25remove desktop bitmaps from .src filesCaolán McNamara8-60/+29
Change-Id: I32aefdf3407434564ed7efe2f6785a17c69199f2 Reviewed-on: https://gerrit.libreoffice.org/36956 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-25remove dbaccess bitmaps from .src filesCaolán McNamara21-249/+108
Change-Id: I85e0d4bce7c2d1da2cc78c00e15e485152039c3e
2017-04-25fix attempt to load converted bitmap resource uses from vclCaolán McNamara3-19/+101
Change-Id: I9be76bc1ec87b6837df30c2e73729ae1d5cca690