summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09Formatting changes across all modulesChris Sherlock
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09Fix tdf#97500 Reinstate missing file error dialog on WebDAVGiuseppe Castagno
Bug introduced with my fix to tdf#96669 in commit 5fc2910fc872bbd1184aaab7c842dff593d2449b. Reverted previous fix and write a new version in fpicker instead. On WebDAV better check if the stream opens first, then check IsDocument property, because it may be a folder name. Change-Id: I72ce728329e4194080db6fa4cc4d98fecf7672e9 Reviewed-on: https://gerrit.libreoffice.org/22214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-09rename aAttrList to aSlotListNoel Grandin
since that is a more accurate reflection of it's use Change-Id: Ic5933e5cdeefac7363975a5767be3ee5db99bd56
2016-02-09simplify SvMetaObjectMemberStackNoel Grandin
Change-Id: I7c1ba85fcb21925f5e912fa48207411e4fc1fbb4
2016-02-09simplify SvSlotElementNoel Grandin
Change-Id: I4699dca35c0197944df97005ff032e1d16139e5f
2016-02-09simplify SvClassElementNoel Grandin
no need for it to be ref-counted Change-Id: I663266c9f59930b1f5bc53f1f27b594dbbc08b46
2016-02-09unused template methodNoel Grandin
Change-Id: I4a91f42d2b370ca15958d01057e5e2a48d0342b3
2016-02-09sequence->vector in ParameterManagerNoel Grandin
Change-Id: Ifbd3f7f3baf91aa21c085d3be1f67cba0a9068d3 Reviewed-on: https://gerrit.libreoffice.org/22182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09sequence->vector in OPropertyArrayAggregationHelperNoel Grandin
Change-Id: Ib6ad60495736ea6da4612d3e7591b514465069a2 Reviewed-on: https://gerrit.libreoffice.org/22180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09SVGIO: Add import test for Fontsize keywordsXisco Fauli
Change-Id: I042a1deeec1c07f73f09ddd2fb71b9d2eba6b8c6 Reviewed-on: https://gerrit.libreoffice.org/22187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-02-09tdf#88205 Delete 'css::uno::Sequence' in filterkerem
Change-Id: Ia1d933f3e2ccd68a3bfa433afdfc34895706f16c Reviewed-on: https://gerrit.libreoffice.org/22218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09remove some more dead code, found by LCOVNoel Grandin
Change-Id: I23404778d13b690fa2330f6db1a90d578b23468b
2016-02-09split MetaTypeType::Class into Interface and ShellNoel Grandin
Change-Id: Id405be797d516e3e608044a375c40b2138c89aa3
2016-02-09sequence->vector in PropertyMapImplNoel Grandin
Change-Id: Id42d6d739f402c725325816c506caa369267ec8e Reviewed-on: https://gerrit.libreoffice.org/22178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09tdf#97662 - Try to preserve original compressed JPEGs harder.Michael Meeks
Avoiding de-compressing and re-compressing them saves lots of time too. Change-Id: Ie8eb68554627581b2f0584a55bbbdb43c9482bed Reviewed-on: https://gerrit.libreoffice.org/22219 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-02-08Revert "lok: Interaction handler for saveAs() too."Michael Stahl
This reverts commit 809154904fe66441ada6985b153b4c1b20f3eb8f. Revert "lok: Take over the identity of the document when performing saveAs()." This reverts commit bcc940956c4689888297c7bbe8d3744becc2fe9e. The CppunitTest_desktop_lib crashes due to a null gImpl and i can't figure out how to call lok_init so it actually works.
2016-02-08vcl: cmdevt.[hc]xx -> commandevent.[hc]xxChris Sherlock
Change-Id: I77b30f28ae5a6fad360d7cada9acfaa9c324408b Reviewed-on: https://gerrit.libreoffice.org/22216 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-08headless: for now don't allocate big cairo surfaces for invisible frames.Michael Meeks
This was ~10Mb of RAM for a hello-world.odt under tile-bench. Change-Id: Ie0787676be754ac81eb8ec036c9757a1bb2f2220 Reviewed-on: https://gerrit.libreoffice.org/21918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-02-08tdf#97458 - remove unused intel opengl driver version special-casing.Michael Meeks
Change-Id: I938bcab02edb37a5e7d72f1551867e0f5a4dd89b Reviewed-on: https://gerrit.libreoffice.org/22215 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bryan Quigley <gquigs@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-02-08starmath: Convert RectVerAlign to scoped enumTakeshi Abe
Change-Id: I6c9a7e1527cf2083f567397eb41db7ae3437c25e Reviewed-on: https://gerrit.libreoffice.org/22141 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-08starmath: Replace SAL_WARN_IF with assertTakeshi Abe
These assertions must hold, otherwise the following code would dereference null pointer. Change-Id: I2b3887aad7116a7ea5176630a015975b8fc087f9 Reviewed-on: https://gerrit.libreoffice.org/22140 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-02-08BASIC : Use std::unique_ptr in SbiExpression and SbiExpListArnaud Versini
Change-Id: I6f09615d19560673319e103af36c40c94ea77f12 Reviewed-on: https://gerrit.libreoffice.org/22186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-08tdf#88205 Delete 'uno::Sequence' in svlkerem
Change-Id: I5f2d79bedcea2712070c4e50b6f9e6d0d0112920 Reviewed-on: https://gerrit.libreoffice.org/22193 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-02-08lok: Interaction handler for saveAs() too.Jan Holesovsky
Change-Id: I3f0365e05685c21987da194e24a1165c7a3f8b5c
2016-02-08lok: Take over the identity of the document when performing saveAs().Jan Holesovsky
This way we are getting the .uno:ModifiedStatus notification even when performing saveAs(). Change-Id: I370bf483c50161fd4b7f2255ae85fdb76487a9a0
2016-02-08loplugin:refcountingStephan Bergmann
Change-Id: Ib522a6ce9663b5f56888debb911296360da484d6
2016-02-08tdf#97573 Calc tabbar: plus sign with narrower, but min. 2px linesLászló Németh
The "New sheet" icon was a thick cross in some environments instead of a plus sign. Change-Id: If5e3ff189b4aca1ef6a61172998675489796934a Reviewed-on: https://gerrit.libreoffice.org/22113 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-08duplicate leaky linesCaolán McNamara
Change-Id: I19e6e4955241d2811678dc15ce07de6ac5b04036
2016-02-08xmlsecurity: export OOXML <SignatureValue>Miklos Vajna
Change-Id: I7c5055e3bfaa81cae4c91842e9e3681d41d5c3b6
2016-02-08xmlsecurity: fix reference type of OOXML idSignedPropertiesMiklos Vajna
Change-Id: I5a2924c3c0af02a4630921bae6117f11655206c2
2016-02-08xmlsecurity: write correct number of non-manifest OOXML referencesMiklos Vajna
Change-Id: I1d8556487608e5a0bee2ae5f7a4b25a60579f4a9
2016-02-08tdf#96685 - set focus of accessible table cellsJustin Luth
Newly created accessible cells were not inheriting the focus setting of their peer. Also, IsTextEditActive was way too strict to determine whether a table cell was active or not. Typed text with the cursor in the cell was not enough to mark the cell as active for example. Finally, accessible nodes were not being created as additional cells gained focus for the first time. Change-Id: I5be4b1d660f01fc4de7281a319895a2c73e74c48 Reviewed-on: https://gerrit.libreoffice.org/21121 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2016-02-08lok: notify the states of undo and redo toolbar itemsHenry Castro
Also included .uno:InsertPage, .uno:DeletePage and .uno:DuplicatePage Change-Id: I91dd2609d6a48be75005a44490614bcf8bcf62e9 Reviewed-on: https://gerrit.libreoffice.org/22195 Reviewed-by: Henry Castro <hcastro@collabora.com> Tested-by: Henry Castro <hcastro@collabora.com>
2016-02-08xmlsecurity: initial OOXML support for writing same-document referencesMiklos Vajna
They are kind of a special case for ODF, but OOXML uses these exclusively, and then one of them refers to the actual package streams. Change-Id: I4663eef4bd718a7563effd6cafa790126db6d8c7
2016-02-08xmlsecurity: log temporary OOXML storage location during exportMiklos Vajna
This can be inspected after the add button handler finishes, but the dialog is still alive. Change-Id: I18ece31545de6d306a26b44d372f54df8221a456
2016-02-08xmlsecurity: export OOXML <SignatureMethod>Miklos Vajna
Change-Id: I445a50d5c7d12609e4043bfedc41cdea456fa52f
2016-02-08SVGIO: Return default font size if size value is negativeXisco Fauli
Change-Id: Iec18c6511b57c4e61047055b53589f71dda3d601 Reviewed-on: https://gerrit.libreoffice.org/21972 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-02-08Fix XBM-format cursor dataStephan Bergmann
Change-Id: I7e8dc166a33ad1bf98029a7ed323a7ddcbe74bfb
2016-02-08tdf#95024 Update Hungarian Autocorrect patternsLászló Németh
According to the new Hungarian spelling reform Change-Id: I6b65b388fe0a93e997a7001e5db0443ea5fecb87 Reviewed-on: https://gerrit.libreoffice.org/21944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-02-08Export and import of additional fields in ImpressRosemary Sebastian
These include - Author - Page Count - Page Name Export and import of slide number was already implemented. A test for the same has been added along with the tests for the newly implemented field exports. In sdmodeltestbase.hxx a new method getTextFieldFromPage has been added to reduce copy-paste code Change-Id: Icf54b91a7db4b3cccd9d0666a2706e3cc2a89d9a Reviewed-on: https://gerrit.libreoffice.org/22065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-02-08cid#1326918 FB.NP_CLONE_COULD_RETURN_NULLStephan Bergmann
Change-Id: I875cc2fc868fb4f1f45e90320e1fdaf70fe871d8
2016-02-08revert part of "loplugin:unusedmethods"Noel Grandin
<sberg> noelgrandin, just happen to look at b14224fe again; looks a bit scary to remove == or != from cases where both where declared <noelgrandin> sberg, ok, I can revert that part <sberg> noelgrandin, I guess that would be safer (there could be cases where now a different overload could kick in) Change-Id: I5dc41c05dc4439d5adee0e5b3e0a9e1dfb9de3af Reviewed-on: https://gerrit.libreoffice.org/22211 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-08sw lok: For PgDown/PgUp, don't set the VisArea, instead use a dedicated var.Jan Holesovsky
The m_aVisArea may be changed by many other means (called internally from LibreOffice), so let's introduce a dedicated offset for PgUp / PgDown handling overwriting the computed value (if set). Change-Id: I7c869b1e3582145b58f0185f4df2882d07a81ddf
2016-02-08xmlsecurity: export OOXML <SignedInfo>Miklos Vajna
Change-Id: I1cac26d1133722285abe038085ad81dc16be6d8f
2016-02-08xmlsecurity: initial WriteOOXMLSignature()Miklos Vajna
Change-Id: I368a0254a8c8eff0ec7c56ecec4c0a462ae32252
2016-02-08sequence->vector in basicNoel Grandin
Change-Id: Ic42f7218bda81effe870d950f666ba7653d60c66 Reviewed-on: https://gerrit.libreoffice.org/22177 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-08sequence->vector in basicNoel Grandin
Change-Id: Ic1b72a6c5e9df5d0fa65626ec1d8eda6a2d2feec Reviewed-on: https://gerrit.libreoffice.org/22176 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-08cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I74585aa5a50cd335f4fd0a3ba4fed230b98993c3
2016-02-08disambiguate the two GetType methodsNoel Grandin
Change-Id: I922af3a2ebe8cdaa6465542a5d6de365e1bc6dff