summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use SAL_N_ELEMENTS more widelyNoel Grandin2016-03-31101-265/+252
| | | | | | | found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
* use SAL_N_ELEMENTS in for loopsNoel Grandin2016-03-3163-156/+150
| | | | | | | | | | for with git grep -n 'for.*sizeof' Change-Id: I6211024385e03ac5eeeb38690d2c1c699e015c2f Reviewed-on: https://gerrit.libreoffice.org/23569 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:constantparam in swNoel Grandin2016-03-3133-179/+87
| | | | Change-Id: I2d99ff8149f6348a3781e01e9b3079f6c2505d6a
* Updated coreJan Holesovsky2016-03-311-0/+0
| | | | | | | | | Project: help 721523df6af6ea33f2a7b7bc3d7d6a269c28bb1f Fixed a dead link to api.libreoffice.org. Thanks to Juergen Klatt.
* tdf#98806 RTF import: handle bookmarks in table textMiklos Vajna2016-03-313-4/+29
| | | | | | | Mapper().props() was called directly, so all bookmarks pointed to the start of the A1 cell instead of the correct text range. Change-Id: I40eeb85b61d2ae9138cd666d4a6a3c08eda47da3
* Replace AddContext in sidebar/EnumContext.cxxJulien Nabet2016-03-311-34/+31
| | | | | | | | | + remove extra duplicate AddEntry("Chart", Context_Chart); Change-Id: I9624000d5f9470cd4cb5072c24aa24aced740fe4 Reviewed-on: https://gerrit.libreoffice.org/23665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* support building breakpad on windowsMarkus Mohrhard2016-03-304-11/+48
| | | | | | | Change-Id: I74b0e5a8e922935c9667491e5f33c514c3315d2a Reviewed-on: https://gerrit.libreoffice.org/23667 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* tdf#89420: Honour doc boundaries (in)visible also in Impress/DrawKatarina Behrens2016-03-302-2/+5
| | | | | | | | | | I haven't figured out how NOT to draw the frame at all, so let's at least draw it using the same colour as document background Change-Id: I3e31bec65ab34772bd2f8137be7e5e5258758184 Reviewed-on: https://gerrit.libreoffice.org/23652 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
* tdf#96896-Fix infinite recursion to prevent Writer crashakash2016-03-301-1/+1
| | | | | | | | | | | To prevent infinite recursion set m_xOwner to null. Removed impl_sendTitleChangedEvent from disposing method ensuring that title is never constructed for a component that is disposing. Change-Id: I9bc20a9a582d5d911509d2aa30fb0d0122eb588e Reviewed-on: https://gerrit.libreoffice.org/23509 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* loplugin:nullptr: Find some more cases in templatesStephan Bergmann2016-03-3011-33/+85
| | | | Change-Id: I1f127d56e40b04f2b4df85c0afbcfd424d68a8cc
* tdf#97966 Drop 'static' keywordsWastack2016-03-302-6/+6
| | | | | | | Change-Id: I2e495243b75fc239dafbf63c7644115f0a923f4a Reviewed-on: https://gerrit.libreoffice.org/23607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
* tdf#96505: fix wrong SfxDispatcher::Execute calls ...Michael Stahl2016-03-3027-43/+67
| | | | | | | | | | | | | | ... that are now busted on all 64-bit platforms since commit 57d0caacee2f395be2e89b78f8ece2d47b2c8683 but were already busted only on 64-bit WNT before. SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall, const SfxPoolItem* pArg1, ...) assigns the varargs to a "const SfxPoolItem *", so passing in "0L" is only correct if long is 64-bit, but on WNT 64-bit long is 32-bit, so use "nullptr" already. Change-Id: I50448d8ad121c4881be549623d44c44b00e56d98
* Accept iOS SDK 9.3 (and let's forget 8.x)Tor Lillqvist2016-03-301-3/+3
| | | | | | | (But building for iOS has bit-rotted in several other ways, sure. I have no plan to fix that.) Change-Id: I7617cdd363cd1f3750b1afa999de5f654b9f09fa
* sw layout dump: show Prt() next to Frame() of SwFramesMiklos Vajna2016-03-301-0/+8
| | | | | | To be able to see what layout thinks about margins. Change-Id: I45b29cb8f71a96f4720158c2357bcbb295738130
* loplugin:staticanonymousStephan Bergmann2016-03-303-7/+7
| | | | | | | cf. <https://gerrit.libreoffice.org/#/c/23630/> "tdf#97966 Compiler plugin"; in code not covered by Tamás's pending "tdf#97966 Drop 'static' keywords" changes. Change-Id: Ifbaef83fdb1fde7e25fafd5746cdbf99c334c5be
* avmedia: fix varargs call for WNT 64-bitMichael Stahl2016-03-301-1/+1
| | | | | | | | | | SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall, const SfxPoolItem* pArg1, ...) assigns the varargs to a "const SfxPoolItem *", so passing in "0L" is only correct if long is 64-bit, but on WNT 64-bit long is 32-bit, so use "nullptr" already. Change-Id: Iaf41efa795fd4439daab7ed7ec334d8ad8c476f3
* loplugin:nullptrStephan Bergmann2016-03-301-4/+4
| | | | Change-Id: I7f6d030317fc7910e69c742b3160b0156e9f9200
* vcl: same confusing condition hereMichael Stahl2016-03-301-1/+1
| | | | Change-Id: I970bd11ac0e818290cf6c3c24314f19ae0322dd0
* RepositoryExternal: fix confusing conditionMichael Stahl2016-03-301-1/+1
| | | | | | This looks like it does XOR but vmiklos says it should do OR. Change-Id: I11cee255fb243d0cd763e97d13da1e31a8e598e9
* sw layout dump: show name of shapesMiklos Vajna2016-03-301-0/+4
| | | | Change-Id: Iefd4a8e5a61c26a474886c968ebf7e85bcec0396
* notebookbar: More advanced example of the notebookbar.Jan Holesovsky2016-03-301-157/+283
| | | | Change-Id: I8c56777b8d200f38cd369944d9e9a67f4d41d393
* notebookbar: Move the proof-of-concept notebookbar from vcl to sw.Jan Holesovsky2016-03-304-2/+2
| | | | Change-Id: I58b79c433e208ab4451c2e76af7604cfe254c1d0
* notebookbar: Trying to use the SfxChildWindow for it does not work too well.Jan Holesovsky2016-03-3013-86/+101
| | | | | | | | | | | The notebookbar is not a child window, so trying to graft it on the SfxChildWindow infrastructure is more pain than gain, unfortunately... Instead, it's enough to create the appropriate functions for ExecMethod and StateMethod, and call them from Writer / Calc / etc. with the appropriate .ui file; that's easier & works equally well. Change-Id: I08d98d4f481bd02e90ba11df0bd1c1149697a7fa
* notebookbar: Rename NotebookBarWindow to NotebookBar, and move accordingly.Jan Holesovsky2016-03-308-41/+45
| | | | Change-Id: If04a8f62aba0bcb712ae6405db318a4bd073fc54
* notebookbar: Instantiate the notebookbar via sfx2 infrastructure.Szymon Kłos2016-03-3019-472/+604
| | | | Change-Id: Iaed4596246245560e646d9086e717d5fb516897e
* tdf#97657: SVGIO: Don't iterate over parent's clip-paths...Xisco Fauli2016-03-301-2/+7
| | | | | | | | | ... when it's a clip-path content Change-Id: I222b429a61409d9670b9d60357895542a15afc15 Reviewed-on: https://gerrit.libreoffice.org/23624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <anistenis@gmail.com>
* Remove undocumented perftune.ini FastPipeCommunicationStephan Bergmann2016-03-302-232/+1
| | | | | | | | | | | ...originally added to OOo in 2005 with 9277dc7501f70d80ea1302c128c2786c01b69706 and e3eecbfeb639529f3a15c0acfe4697a619d454fb "INTEGRATION: CWS cov2src: #126234# Join MWS COV680 m4 into SRC680". Change-Id: I149686eca8bda5ea7a363cd995447576e217ec13 Reviewed-on: https://gerrit.libreoffice.org/23600 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix Android buildMiklos Vajna2016-03-304-5/+5
| | | | Change-Id: I7247f19b03302b2270e0f6f32c6e6b6e760fd7bd
* Related: tdf#65642 RTF filter: import \pgnlcltrMiklos Vajna2016-03-304-1/+39
| | | | | | | This as a side effect also implements support for DOCX <w:pgNumType w:fmt="lowerLetter" .../>. Change-Id: I47b60a0390ef081dc15b26e40393e35bf7bad130
* Related: tdf#65642 RTF export: \pgnucltr testcaseMiklos Vajna2016-03-303-8/+8
| | | | | | | There is no reason this unit test is import-only, this area of the export filter was untested so far. Change-Id: Ia271bccf59c1b21474e7b854cbaa0992b722e552
* tdf#97361 Refactor load_save_testslideon2016-03-303-82/+65
| | | | | | | | | Make new helper functions, minor style cleanup in other tests Change-Id: Ifb188fa8227cdd1a1a5af88e692315c5f93da67d Reviewed-on: https://gerrit.libreoffice.org/23547 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
* tdf#96099 Remove trivial typedefs from vcl moduleslideon2016-03-302-10/+8
| | | | | | | | | This typedef was not needed. Change-Id: I442068a3e394a23551655294dc8f1765bc8f2887 Reviewed-on: https://gerrit.libreoffice.org/23618 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:stringconstantTor Lillqvist2016-03-301-1/+1
| | | | Change-Id: I266bc972dbb6ab53920a0b453b181c3f5c608642
* Improve wordingTor Lillqvist2016-03-301-2/+2
| | | | Change-Id: If6d0e38070cd99de903639944ecc8db16c653302
* Use const_iterator when possible (svl except svdde)Julien Nabet2016-03-3012-37/+39
| | | | | | | Change-Id: Ie19467a020d1839146d5a6324e54ccf223d99dd6 Reviewed-on: https://gerrit.libreoffice.org/23603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Replace MACRO_PRFIX and MACRO_POSTFIX in eventsupplier.cxxJulien Nabet2016-03-301-6/+2
| | | | | | | Change-Id: Ifd08a3414468e7685f55af66ed05f7a88187fa0e Reviewed-on: https://gerrit.libreoffice.org/23606 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Replace IMPL_FORWARD_LOOP in sfx2/source/bastyp/fltfnc.cxxJulien Nabet2016-03-301-8/+15
| | | | | | | Change-Id: Ic9eda24be82a54c3907ffe6eb749e927db87dee7 Reviewed-on: https://gerrit.libreoffice.org/23605 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* tdf#98893 Remove expensive calls to GetCellType + GetValue/... in calcAleksas Pantechovskis2016-03-3010-91/+117
| | | | | | | Change-Id: Ie9a16fa1b44d41cc9d10b50c37ba15f3b7e786c8 Reviewed-on: https://gerrit.libreoffice.org/23561 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* add TODO comment for a bugMarkus Mohrhard2016-03-301-0/+2
| | | | | | | | | | | This bug is the first one that was discovered because it is now much easier to see which parts of the code work on cells, pattern areas and whole columns/rows. Change-Id: I8f22bf421298947d65bfc2fc9c986d85169e6545 Reviewed-on: https://gerrit.libreoffice.org/23636 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* extract another function from ScDocument::FillInfoMarkus Mohrhard2016-03-301-54/+65
| | | | | | | Change-Id: Ief094beebbff2bce9f087853cbda6adeeafe07fc Reviewed-on: https://gerrit.libreoffice.org/23635 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* stylistic changes in ScDocument::FillInfoMarkus Mohrhard2016-03-301-1/+4
| | | | | | | Change-Id: I98bb25d414106259a809698941a000d6d0bc35e0 Reviewed-on: https://gerrit.libreoffice.org/23634 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* limit scope of another variable in ScDocument::FillInfoMarkus Mohrhard2016-03-301-2/+1
| | | | | | | Change-Id: Ic53bcaa5e33f221a643de4e854990769b5c04a74 Reviewed-on: https://gerrit.libreoffice.org/23633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* limit the scope of a few variable in ScDocument::FillInfoMarkus Mohrhard2016-03-301-21/+17
| | | | | | | | | | | This makes the code at least a little bit easier to read as we can now see much easier when a variable is used to transport state between loops and when it is just a variable local to a loop Change-Id: Ib92ff1596bda35f9892accc820bc3596bafb7d96 Reviewed-on: https://gerrit.libreoffice.org/23632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* extract another function from ScDocument::FillInfoMarkus Mohrhard2016-03-301-15/+20
| | | | | | | Change-Id: Iac607e1fe915c8bc90316508c98855a60117d435 Reviewed-on: https://gerrit.libreoffice.org/23631 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* extract another function from ScDocument::FillInfoMarkus Mohrhard2016-03-301-51/+59
| | | | | | | Change-Id: If6f898d514dc454a7f1c5448769a95269e9066d7 Reviewed-on: https://gerrit.libreoffice.org/23550 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* tdf#98960 fix OpenGL crash by optimized image scalingMarco Cecchetti2016-03-302-9/+76
| | | | | | using area scale shader - 2 passes impl - sqrt scale factor Change-Id: I973ae0a281735787b045ce8fd5df03f8caa8f189
* Replace some defines in sfx2/source/appl/newhelp.cxxJulien Nabet2016-03-291-37/+36
| | | | | | | Change-Id: I82d13a71b59bd9cefc800f592d2b8312b70d1725 Reviewed-on: https://gerrit.libreoffice.org/23604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Revert "vcl: fix Android build"Korrawit Pruegsanusak2016-03-291-15/+0
| | | | | | | | | | This reverts commit 8058189b53394fe335735cfd04f822f46b1a35b3 because these functions are now removed by dea0abc58c558d3c62e806d06035b1a30420264e Change-Id: I69b19319b645879edec04a47b16f78ab07fc9bcf Reviewed-on: https://gerrit.libreoffice.org/23516 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* framework: cid#1357163 fix the fix d5e4fe23Michael Stahl2016-03-291-4/+1
| | | | | | | The branch was never taken in the old code, and re-acquiring the mutex without releasing it first is pointless. Change-Id: Ic865dccf2c442d2625436e175aef91be59d05325
* vcl: misleading copypasta in documentationMichael Stahl2016-03-291-1/+1
| | | | Change-Id: I673940fde7484500cbf30d4a4b760a8bf4448e33