summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-21remove newly unused SfxImageManagerCaolán McNamara
Change-Id: If68637fe49b5d252ad4ec5d63d56261113be6a7c
2016-12-21drop GetImageManager use in sc and unwind ImageListCaolán McNamara
Change-Id: Ida10f14fa74785964efdc4b6645668562297895a
2016-12-21add T() test caseZdeněk Crhonek
Change-Id: Iadf479488df62e292c340e28f664b17faa5ca837 Reviewed-on: https://gerrit.libreoffice.org/32254 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21convert EnumContext::Context to scoped enumNoel Grandin
Change-Id: I16ec63beb801073e5d604d852892c2fd6e8d8fc3 Reviewed-on: https://gerrit.libreoffice.org/32272 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21Fix the table border toolbar popupMaxim Monastirsky
Using ImplPopupFloatWin for it isn't a good idea: It doesn't need its dragging code, nor its painting code (which draws the ugly black border), and the resizing code conflicts with the title-based border which results in a wrong size (and we might have even bigger problems, if we start to use .ui based layouts for the ToolbarPopup class). We can of course put checks all over the place, but why do it, if we can simply use plain FloatingWindow? Change-Id: Ibc9a5c220309d15a60f6425835e1cc7a1b19c530
2016-12-21Fix window height for the grip caseMaxim Monastirsky
Change-Id: I1a4d2c498971a5bf73dc7f89a0987e6f998cf7a6
2016-12-21Fix the non-grip caseMaxim Monastirsky
Change-Id: Ic5b2d96829e5fc97004b3bba9cbb6ded2e27f22f
2016-12-21Recreate the reference files, againKhaled Hosny
After the rounding change in 9eb4b14ffa57cd7bbdf0fc43096f5f1e65c8e388. Change-Id: I0836ba34f23d256075611e9fae1658cf4d737a89 Reviewed-on: https://gerrit.libreoffice.org/32242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-21tdf#104814 Writer: accepting change tracking changes get stuckNoel Grandin
Change-Id: Ie8e0919b53c0b21f480b62eec7c394554757a061 Reviewed-on: https://gerrit.libreoffice.org/32273 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21tdf#95416 Fix an include for 2 files in unopkgHuzaifa Iftikhar
Change-Id: Id1fa09b6db6c90cd727182133e5f9f39383aa5e5 Reviewed-on: https://gerrit.libreoffice.org/32255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-21Add move column right and move row up in DataTablebansan85
Change-Id: Ib224a99636dfbb4451aa26263573af2f3d31b84a Reviewed-on: https://gerrit.libreoffice.org/32265 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-21tdf#104349 remove the difference between MSO and LO highlight charsVitaliy Anderson
Change-Id: I5daadef359260ea74b828567197228633bb972ca Reviewed-on: https://gerrit.libreoffice.org/31783 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-21xmlsecurity: instantiate SignatureCreatorImpl directly in XSecControllerMiklos Vajna
Going via UNO for a class in the same module is an overkill. Change-Id: I3a24bc770e40be5b0a6fc34206e92f968de060ae Reviewed-on: https://gerrit.libreoffice.org/32271 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-12-21[API CHANGE] Retire SAL_ABSTakeshi Abe
which had served since d441fa1f8cc0a17a2bc166bf2f2a44f76b83a773; we now have polymorhpic std::abs. Change-Id: Ibe48ac51508f7d9f5a44d712550237db7f553df3 Reviewed-on: https://gerrit.libreoffice.org/32225 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-21related to tdf#97417: fix unit test's early para numberingJustin Luth
The unit test's first blank page already started the paragraph numbering. Setting it so that a contentless, single paragraph section will not display numbering. In fact, no dummy paragraph should have numbering, but that would get complicated. This is in preparation for tdf#104710. Change-Id: I98c9926cb3cd1e3fe3cd43bf46cab22bfbec7eba Reviewed-on: https://gerrit.libreoffice.org/32235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-21convert EnumContext::Application to scoped enumNoel Grandin
Change-Id: Ia289a7b63bf8797085315218785e2a2a4c45d232 Reviewed-on: https://gerrit.libreoffice.org/32230 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21tdf#104733: Don't ignore OpenType-CFF fons on WindowsKhaled Hosny
This is a folloup for ef4b9032de55e6b1b182e4ead1bbe6e590df296e, turns out TRUTYPE_FONTTYPE does not cover CFF fonts like I thought (the fonts that I was checking were actually TTF fonts). Change-Id: I2d7b34b625aa03134421dc44a24e3c66be25df98 Reviewed-on: https://gerrit.libreoffice.org/32258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-21related to tdf#97417: fix unit test page countJustin Luth
The unit test should have been showing a blank page before the content page. Non-section paragraphs should not remove the first/last status. Frames were already excluded, now this patch also excludes header/footer paragraphs. This is in preparation for tdf#104710. Change-Id: I686944843302160d6f6bbbcb73f01c836179aa9f Reviewed-on: https://gerrit.libreoffice.org/32234 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
2016-12-21tdf#103332, install the new calc default styles correctlyMarkus Mohrhard
Change-Id: I7bfa0edc3bf286d304ae2648e563216ce850e4d1 Reviewed-on: https://gerrit.libreoffice.org/32262 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-21tdf#96218: MSO DOCX image incorrectly placed when using Alignment PositionTamás Zolnai
layoutInCell attribute should be ignored when we are not in a table. Change-Id: Ieed29c690f8516f63d0956a4f0495500908a0d27 Reviewed-on: https://gerrit.libreoffice.org/32253 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-20tdf#97361: Changed naming in var_fields and load_save_testkerem
Change-Id: I7b25166c474acaacc91936d877ed860c5361c0bd Reviewed-on: https://gerrit.libreoffice.org/32120 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-12-20tdf#97361: Changed naming in sfx2 python testskerem
Change-Id: Iabacaff8fd7f282a903885954a7d725ceb6f6c16 Reviewed-on: https://gerrit.libreoffice.org/32118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-12-20assert SwDrawContact unhandled attr. on exporting ooo67621-1.odt to DOCXMichael Stahl
Check in SwModify::Remove() that unrelated clients aren't inserted into an active SwClientIter. Old value = (sw::WriterListener *) 0x0 New value = (SwDrawFrameFormat *) 0x72d83f0 SwModify::Remove (this=0x37fd850, pDepend=0x6ca85a8) at sw/source/core/attr/calbck.cxx:220 0 in SwModify::Remove(SwClient*) (this=0x37fd850, pDepend=0x6ca85a8) at sw/source/core/attr/calbck.cxx:220 1 in ClientModify(SwClient*, SfxPoolItem const*, SfxPoolItem const*) (pClient=0x6ca85a8, pOld=0x7ffe9d041bf0, pNew=0x7ffe9d041c10) at sw/source/core/unocore/unoobj2.cxx:326 2 in SwXShape::Modify(SfxPoolItem const*, SfxPoolItem const*) (this=0x6ca8540, pOld=0x7ffe9d041bf0, pNew=0x7ffe9d041c10) at sw/source/core/unocore/unodraw.cxx:2037 3 in SwClient::ModifyNotification(SfxPoolItem const*, SfxPoolItem const*) (this=0x6ca85a8, pOldValue=0x7ffe9d041bf0, pNewValue=0x7ffe9d041c10) at sw/inc/calbck.hxx:130 4 in SwFormat::~SwFormat() (this=0x39e6320, __in_chrg=<optimized out>) at sw/source/core/attr/format.cxx:239 5 in SwFrameFormat::~SwFrameFormat() (this=0x39e6320, __in_chrg=<optimized out>) at sw/source/core/layout/atrfrm.cxx:2519 So the SwXShape was a client of the SwFrameFormat that is deleted, then is removed and added at the parent SwFrameFormat by ~SwFormat, then it is removed *again* when its own Modify handles the SwFormatChg notification, but this time it messes up the SwClientIter in ~SwFormat, putting in a m_pPosition SwFrameFormat that is actually a client of the parent SwFrameFormat, not the deleted one! Thus the deleted SwFrameFormat is confused and sends a "sibling" of itself the SwFormatChg notification and that then asserts with dcontact.cxx:1468 "<SwDraw Contact::Modify(..)> - unhandled attribute?". Change-Id: Ifba7fa8a1f41f09b1a3fcbb4cdf17f340e0fbe33
2016-12-20Updated coreGabor Kelemen
Project: help b87c7bf36032b0b3fe31c37e9a434ce2019b8bfe Reconnect Shadow area tab page and UI Change-Id: Ib862df7239258c3cea4c7d476cb0104924f293ce Reviewed-on: https://gerrit.libreoffice.org/32259 Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com> Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
2016-12-20add NEGBINOMDIST test caseZdeněk Crhonek
Change-Id: I61f734427dfd6e93457e11bd15cdbdf4c2093ecc Reviewed-on: https://gerrit.libreoffice.org/32248 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORM.S.INV test caseZdeněk Crhonek
Change-Id: I51263242ef9b228072f0820928986c0fcf20fc1f Reviewed-on: https://gerrit.libreoffice.org/32238 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORMSINV test caseZdeněk Crhonek
Change-Id: I4ef01af5538056e87cd2a0730fc946cdfce9bd32 Reviewed-on: https://gerrit.libreoffice.org/32239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORMDIST, NORMSDIST test caseZdeněk Crhonek
Change-Id: I9916a3926e6b2174755e3d6ae63da4d8aa28e7c1 Reviewed-on: https://gerrit.libreoffice.org/32240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20add NORM.S.DIST test caseZdeněk Crhonek
Change-Id: Ie88ddb399f9db757b46ec4b70bbc8b75b244a6cd Reviewed-on: https://gerrit.libreoffice.org/32241 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-12-20Downgrade SAL_WARN -> SAL_INFOJulien Nabet
Change-Id: I2f0957ee2ce7156e8ea9ce376787d2898e517fbf Reviewed-on: https://gerrit.libreoffice.org/32252 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-20rename ApplyImageListCaolán McNamara
Change-Id: I0af692fe338c487b6ade62c2f8558fb9fd97f558
2016-12-20strange use of an ImageListCaolán McNamara
remove the middle man here Change-Id: I76eab37b66205768fe2a1c6ffc317bfba9ef4fd9
2016-12-20unused ImageListCaolán McNamara
Change-Id: I15b707749454ceae3d69692e1c08106ec470bf18
2016-12-20drop SfxImageManager::GetImageManager use in swCaolán McNamara
Change-Id: I02df63a37082ca8f0b9e15865dbd070a14f9eea0
2016-12-20unwind ILIST ImageListCaolán McNamara
Change-Id: I260f4263db35f708891e26fa943c1fd6af402366
2016-12-20tdf#94576 handle esc keypress on templatemanagerdialogTibor Móger
SfxTemplateManagerDlg now overrides behaviour of ModalDialog on EventNotify by checking if the pressed key was esc and the searchFilter is not empty and it was focused. In this case instead of letting ModalDialog close the modal it clears the searchFilter Change-Id: I90d91a3b152f68b6c8780963d1b95258d9ccf23a Reviewed-on: https://gerrit.libreoffice.org/31736 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-20Fix smoketest under right-to-left localesKhaled Hosny
The calc macro test tries to select a range of cells by moving selection right, but this fails when the UI direction is right-to-left as the first cell will be the right most and moving right will do nothing. Fix this by forcing en-US locale like we do with JunitTest. Change-Id: I08d0bc50013b0936af85af75bca82a44b044d48a Reviewed-on: https://gerrit.libreoffice.org/32243 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-20Updated coreOlivier
Project: help 84c9ad7e308a3fa3809529aac4557c0b4cde823e Sort bookmarks alphabetically in HC3 Change-Id: Id26048f7ebfdccc2e5afd8a851a0f30c7a78fda0 Reviewed-on: https://gerrit.libreoffice.org/32249 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-12-20tdf#70506 implement getColumnLabel functionWastack
which is responsible for aliasnames defined with the SQL 'AS' keyword. Change-Id: I6aaf1ba6969e2bd738941e41492338382168bc89 Reviewed-on: https://gerrit.libreoffice.org/32042 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-12-20tdf#95416 Fix an include for desktop directoryHuzaifa Iftikhar
Change-Id: I04a2181b05f2b15a55db306f49b47855db7753db Reviewed-on: https://gerrit.libreoffice.org/32204 Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> Tested-by: Jan-Marek Glogowski <glogow@fbihome.de>
2016-12-20unroll IL_VALUES ImageListCaolán McNamara
Change-Id: Id03606deaf207f579ee3c56437b37f4981538d12
2016-12-20Don't malloc between for and execStephan Bergmann
...at least macOS doesn't like that; change from OSL_TRACE (effectively doing nothing unless running a debug build with SAL_LOG=+INFO) to SAL_INFO (calling std::stringstream -> malloc in debug builds, regardless of SAL_LOG env var) in a005fbeddc4e615cfff56a9bd84355f8d42c1c8c "OSL_TRACE->SAL in framework..sal" made the mistake obvious. Change-Id: I43d35524a0861998a1ef58c6f448085a2fb01cd5
2016-12-20keep salinit for non-DESKTOP but not for ANDROID/IOSCaolán McNamara
Change-Id: I6b97345c9d927d1ae1d89f85611c2b5de7b5f0d4
2016-12-20just give different things different namesCaolán McNamara
Change-Id: I7d9ca3812b1af35e6155ff269ee88cf4101de14b
2016-12-20bodge linking for disable-dynamic-loading caseCaolán McNamara
Change-Id: I5c1c6cae8d2f179a68e0c6e11e89c7c947e4b479 Reviewed-on: https://gerrit.libreoffice.org/32229 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20use new ENABLE_NSS for code which needs nssCaolán McNamara
which isn't available on a static-only build (iOS and fuzzing) and android Change-Id: I99bb7c0b45d4499579ddf73f469a762ddcae99ab Reviewed-on: https://gerrit.libreoffice.org/32182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20salinit for non-DESKTOP tooCaolán McNamara
Change-Id: Icb368b676199038bf8588b42ef50a2796468d185 Reviewed-on: https://gerrit.libreoffice.org/32228 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20wmffuzzer as single static binary for oss-fuzzCaolán McNamara
Change-Id: I4d5ae63e46809341a7bb74a7c89b5a80c7a91e38 Reviewed-on: https://gerrit.libreoffice.org/32227 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20link to our own static fontconfig and freetype when we build themCaolán McNamara
Change-Id: I143256ba37acf948931350443b2acf30c34f50a8 Reviewed-on: https://gerrit.libreoffice.org/32226 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20Move ImplFrameData initialization into constructorJan-Marek Glogowski
Change-Id: Id918ae46ed521fca5675845b2eb9cd26a8c7ebbb