summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-25improve o3tl::enumarray const-nessNoel Grandin
Change-Id: I7b0d10b024edf604a7dea0e3b1399073f4bcba92 Reviewed-on: https://gerrit.libreoffice.org/43773 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-25ofz#3776 Divide-by-zeroCaolán McNamara
Change-Id: I2de2bfd6165a53d05e9f222908f6764a608004c3 Reviewed-on: https://gerrit.libreoffice.org/43813 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3782 libjpeg ubsan woesCaolán McNamara
https://github.com/libjpeg-turbo/libjpeg-turbo/issues/171 Change-Id: Ic6d7e27f88a542d78f3257418099c8fd875b04c9 Reviewed-on: https://gerrit.libreoffice.org/43812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3752 Integer-overflowCaolán McNamara
Change-Id: I211327928a86f706513ebd78cff979283396e742 Reviewed-on: https://gerrit.libreoffice.org/43777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3527 ofz#3532 Invalid read of size 8Caolán McNamara
use numrule name to look up numrule instead of cached numrule pointer in case it was deleted on failure to apply the numrule over an invalid range Invalid read of size 8 at 0x1E875132: rtl::OUString::OUString(rtl::OUString const&) (ustring.hxx:143) by 0x1EB33D93: SwWW8ImplReader::StartAnl(unsigned char const*) (ww8par2.cxx:1094) by 0x1EB33003: SwWW8ImplReader::Read_ANLevelNo(unsigned short, unsigned char const*, short) (ww8par2.cxx:910) by 0x1EBA375D: SwWW8ImplReader::ImportSprm(unsigned char const*, int, unsigned short) (ww8par6.cxx:6337) by 0x1EAEEA24: SwWW8ImplReader::ReadTextAttr(int&, long, bool&) (ww8par.cxx:3810) by 0x1EAEF15A: SwWW8ImplReader::ReadAttrs(int&, int&, long, bool&) (ww8par.cxx:3921) by 0x1EAEF6E0: SwWW8ImplReader::ReadText(int, int, ManTypes) (ww8par.cxx:4003) by 0x1EAF6DCE: SwWW8ImplReader::CoreLoad(WW8Glossary const*) (ww8par.cxx:5219) Address 0x31831158 is 200 bytes inside a block of size 248 free'd at 0x4C2F21A: operator delete(void*) (vg_replace_malloc.c:576) by 0x253BC1B5: SwDoc::DelNumRule(rtl::OUString const&, bool) (docnum.cxx:1033) by 0x25CB943D: SwFltControlStack::SetAttrInDoc(SwPosition const&, SwFltStackEntry&) (fltshell.cxx:609) by 0x1EAE5011: SwWW8FltControlStack::SetAttrInDoc(SwPosition const&, SwFltStackEntry&) (ww8par.cxx:1445) by 0x25CB8A9E: SwFltControlStack::SetAttr(SwPosition const&, unsigned short, bool, long, bool) (fltshell.cxx:457) by 0x1EAE420E: SwWW8FltControlStack::SetAttr(SwPosition const&, unsigned short, bool, long, bool) (ww8par.cxx:1185) by 0x1EAE5C12: SwWW8ImplReader::Read_Tab(unsigned short, unsigned char const*, short) (ww8par.cxx:1625) by 0x1EBA35F0: SwWW8ImplReader::EndSprm(unsigned short) (ww8par6.cxx:6321) by 0x1EAEEA44: SwWW8ImplReader::ReadTextAttr(int&, long, bool&) (ww8par.cxx:3813) by 0x1EAEF15A: SwWW8ImplReader::ReadAttrs(int&, int&, long, bool&) (ww8par.cxx:3921) by 0x1EAEF6E0: SwWW8ImplReader::ReadText(int, int, ManTypes) (ww8par.cxx:4003) by 0x1EAF6DCE: SwWW8ImplReader::CoreLoad(WW8Glossary const*) (ww8par.cxx:5219) Change-Id: Ia7ab67e42fc7a162d8089722e77841285f72a671 Reviewed-on: https://gerrit.libreoffice.org/43028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25loplugin:unnecessaryoverrideNoel Grandin
Change-Id: If90856d9d69c78a5e63fb437d6f34bae4ee5547f
2017-10-25ofz#3784 check subtractCaolán McNamara
Change-Id: Ie29385e3ca75f784069400bc63cea7f458985d6f Reviewed-on: https://gerrit.libreoffice.org/43811 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25add checked_subCaolán McNamara
Change-Id: I440cd18c249f38194cfd3dfd4a1fc4b7f80858d6 Reviewed-on: https://gerrit.libreoffice.org/43810 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3780 Integer-overflowCaolán McNamara
Change-Id: Ia51ec4069249c26ea1ee469df42aa172f61587a9 Reviewed-on: https://gerrit.libreoffice.org/43814 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3784 Integer-overflowCaolán McNamara
Change-Id: I90e2377fa828a8ffe2c3e3d0385caa2e6910ef02 Reviewed-on: https://gerrit.libreoffice.org/43809 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25drop old SetBufferSize stuffCaolán McNamara
Change-Id: I96c4db3289864c80f8fd8988c129056be8563e69 Reviewed-on: https://gerrit.libreoffice.org/43786 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3790 Divide-by-zeroCaolán McNamara
Change-Id: Id6c1eb3dcf95e9cdc68c0898dc472aaac5d430d2 Reviewed-on: https://gerrit.libreoffice.org/43807 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3793 Divide-by-zeroCaolán McNamara
Change-Id: Idc18b194840c8d2646426a0346b49348707be5ad Reviewed-on: https://gerrit.libreoffice.org/43806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25tdf#110354 fix missing icon for special character group buttonYousuf Philips
Change-Id: Id33b8fa55f07732e494d33afc766338b3d7dfd93 Reviewed-on: https://gerrit.libreoffice.org/43694 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2017-10-25ofz#3777 Undefined-shiftCaolán McNamara
Change-Id: I328d939035f31acc690161b17751a5d45577f998 Reviewed-on: https://gerrit.libreoffice.org/43787 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25Use SAL_N_ELEMENTSEike Rathke
Change-Id: I643d839a2b1d8473c484c659793bd3344ace8859
2017-10-25Eliminate deprecated SvNumberFormatter::GetDecSep()Eike Rathke
Was only one call left.. Change-Id: I140099d77e762e53579b2a5954fe4c59855104da Reviewed-on: https://gerrit.libreoffice.org/43798 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2017-10-25Always generate count number of elements in locale data arraysEike Rathke
Change-Id: I6fecfb24bced7d6e747175befe423060d5ea445b Reviewed-on: https://gerrit.libreoffice.org/43793 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-25xmlsecurity: remove unused chainOn() argumentMiklos Vajna
Change-Id: Id4d4ae41eb6d667a96ce5d294dd5bf3fcf4cb686 Reviewed-on: https://gerrit.libreoffice.org/43801 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-10-25tdf#107643 Fix paragraph preview line spacingJim Raykowski
Change-Id: I265f440ed8133d1fd557bed00f766170fffa6cd5 Reviewed-on: https://gerrit.libreoffice.org/43682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-10-25Related: tdf#80713 allow translation of linguistic service display namesCaolán McNamara
Change-Id: I23309dde1520e20e66d72fe9780454632d5f75b6 Reviewed-on: https://gerrit.libreoffice.org/43718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25loplugin:constmethod in tools,sax,UnoControlsNoel Grandin
Change-Id: Ie05e44e2a4019e2549843961ebfa04fef7b7aeb4 Reviewed-on: https://gerrit.libreoffice.org/43767 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-25tdf#105381 ww8export: support footnote numbering per pageJustin Luth
This is only for the benefit of MSOffice, LO already uses Dop.rncFootnote for this, but MSO requires this section sprm. LO import currently ignores sprmSRncFtn. Endnotes in LO do not currently support .eNum, so we can't support MSO's rncRstSect for sprmSRncEdn, leaving only the default - so no use writing that out. Change-Id: Iaff703e806d1cb62bc5990eb1cdfe323705bf7ee Reviewed-on: https://gerrit.libreoffice.org/43622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-10-25ofz#3765 Integer-overflowCaolán McNamara
Change-Id: Ifff9cf1d094db1abe5236be41a5e769f8113aec1 Reviewed-on: https://gerrit.libreoffice.org/43763 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3763 Integer-overflowCaolán McNamara
Change-Id: If7c10d0fd188f0aafeece9545fb138761c3a2f5b Reviewed-on: https://gerrit.libreoffice.org/43765 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3761 Undefined-shiftCaolán McNamara
Change-Id: Ibf45da2dd5aa351973b7227371e4f6c35d54021d Reviewed-on: https://gerrit.libreoffice.org/43764 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3750 Undefined-shiftCaolán McNamara
Change-Id: If227dea7758c22cadfad83192e0ad31a4183b5b5 Reviewed-on: https://gerrit.libreoffice.org/43747 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3753 Integer-overflowCaolán McNamara
Change-Id: Icdcd42cc064e18686e6738b4195b6668c7d5d05e Reviewed-on: https://gerrit.libreoffice.org/43748 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3769 Integer-overflowCaolán McNamara
Change-Id: Ia245c6042f8c662bab870cf166db94d1cf2db9d3 Reviewed-on: https://gerrit.libreoffice.org/43781 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3766 Integer-overflowCaolán McNamara
Change-Id: I0cd5810497e6baa23d10b905f35e30b694a4c12a Reviewed-on: https://gerrit.libreoffice.org/43778 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3756 Integer-overflowCaolán McNamara
Change-Id: I2b3423941c3c25961aafc5c4b55c4cc76289c8cf Reviewed-on: https://gerrit.libreoffice.org/43768 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3758 Integer-overflowCaolán McNamara
Change-Id: If0dc095025d59186b1bc49b93acf7747b7a65f20 Reviewed-on: https://gerrit.libreoffice.org/43775 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3768 Integer-overflowCaolán McNamara
Change-Id: I37067d29bb18b3afe01397f161d7b135de91146a Reviewed-on: https://gerrit.libreoffice.org/43780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3771 Integer-overflowCaolán McNamara
Change-Id: Iedc61de56b494d6344490f6d6f712a62b2a12b78 Reviewed-on: https://gerrit.libreoffice.org/43783 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3755 Integer-overflowCaolán McNamara
Change-Id: If21e45ce711d483cdd27e96877ee7f3ca35c2f14 Reviewed-on: https://gerrit.libreoffice.org/43753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25add checked_addCaolán McNamara
Change-Id: I10cba898bba528f5f1bfbd583e27a6821c789ab9 Reviewed-on: https://gerrit.libreoffice.org/43779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3775 Divide-by-zeroCaolán McNamara
Change-Id: Idfbd2bdf10b5fcf54e1fc2a61dbfecabf7e75a6d Reviewed-on: https://gerrit.libreoffice.org/43784 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3759 check for valid starting dash indexCaolán McNamara
Change-Id: I09e117e14eda2565c9b25d407cc4328d4f2ee97a Reviewed-on: https://gerrit.libreoffice.org/43751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25ofz#3770 Integer-overflowCaolán McNamara
Change-Id: Ifd08bfe6a58d81a4d8ab1a7f768c2804abe5dfad Reviewed-on: https://gerrit.libreoffice.org/43782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-25loplugin:constmethod in comphelper,ucbhelperNoel Grandin
Change-Id: I27a860fbbedd2174c60c199af18cae76e02abc25 Reviewed-on: https://gerrit.libreoffice.org/43759 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-25new loplugin:dodgyswitchNoel Grandin
and fix bug in ScriptDocument::getTitle which has been there since commit e304ba66f4aba5cc55612508b5738a1ed26a7904 Date: Thu Mar 15 14:59:30 2007 +0000 INTEGRATION: CWS basmgr02 (1.1.2); FILE ADDED plugin is off by default since it uses expensive parentStmt() calls Change-Id: Id0f16baec48e0381e0083594d7e59b58b023da2f Reviewed-on: https://gerrit.libreoffice.org/43750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-25res files and .ui translations are goneDavid Tardon
Change-Id: I3d468ac495c37f8b155f14943bd0a0ac10bd9d06
2017-10-25tdf#107569 Fix missing res/colorslider.pngMaxim Monastirsky
Change-Id: I83c719594a29cde8385a22793f17812e7d5c12bb Reviewed-on: https://gerrit.libreoffice.org/43796 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-10-25tdf#113400: fix crash by destroying returned unique_ptrJulien Nabet
Regression from https://cgit.freedesktop.org/libreoffice/core/commit/?id=19910c461230f70bb9e98ad44db3525f0d755724 tdf#112658: fix leak when calling TextEngine::SetAttrib Change-Id: I4f1edf41e11f3cdfda6071b30a84372db68cd59d Reviewed-on: https://gerrit.libreoffice.org/43795 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-10-25TSCP: support removing paragraph metadata fieldsAshod Nakashian
Currently only backspace is supported. No undo yet. Change-Id: I9a384d19bbaaaab05093d0d4ba74f089c6a4fae1 Reviewed-on: https://gerrit.libreoffice.org/43630 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2017-10-25kde5: make VCLKDE5Application build againKatarina Behrens
Change-Id: Ia1f4d1254583d04d1993e9a0ce8ad1f1aaa868d3
2017-10-25kde5: fix glib detection for KF5Katarina Behrens
Change-Id: Ibd25502384cd248f1070d26266222e18fb9e2e47
2017-10-25kde5: avoid crash with null surfaceKatarina Behrens
Change-Id: Ie63e62995bee0fd950cea0668f5ae06c903b25a3
2017-10-25kde5: implement getCairoContextKatarina Behrens
Change-Id: Ib39ca1e1d73ad4dc91c70ac3f4cdd1bdd24c2b29
2017-10-25kde5: get/setLib works againKatarina Behrens
Change-Id: Icc007d5c08f88ffdeb6e2d033615dccb140862ea