summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2015-06-30Fix typosAndrea Gelmini1-1/+1
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-29coverity#1308581 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I925cc31890c8b1cd5ced0a619fbfde4be0a66dd4
2015-06-29coverity#1308553 Uncaught exceptionCaolán McNamara2-4/+4
Change-Id: I26d41fa888c2426ad8e77a170d9e9eb880ad32df
2015-06-29coverity#1308595 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I2245925215e98077c9665803435d39e9a05de367
2015-06-29coverity#1308577 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I6de407255be2bd1cc12edb5bbcaba5dd2501f60d
2015-06-29coverity#1308574 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I416e3d443a43802bd8e093397945b056abe3bf85
2015-06-29coverity#1308571 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ib844cbd5c5d7be28e4ee2922caf06fb43c7b8a46
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin1-5/+6
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin1-6/+5
since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-28coverity#1308556 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I7a07f2b283d6fe2edb5163004223234f69ef6c16
2015-06-28coverity#1308551 Uncaught exceptionCaolán McNamara4-4/+4
Change-Id: I61fb5e047b64873b3f5e07582dd1155340d7a1b5
2015-06-28coverity#1308545 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ic2f04532680f0742ea11ab793fe2366d55cc7376
2015-06-28coverity#1308544 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Iebc59db0f9c6738da316c18f18eaefdbfed35936
2015-06-28coverity#1308537 Uncaught exceptionCaolán McNamara1-2/+2
Change-Id: I5debb6c3fe00b13134d9efa152d86e41fc6d3fe3
2015-06-28coverity#1308536 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I48cdbeb02ced68ee7033dc572f89f4ba9165c209
2015-06-28coverity#1308533 Uncaught exceptionCaolán McNamara4-4/+4
Change-Id: I141ccd478f08baef6bdf1091d1831fd5c2eaf88a
2015-06-28coverity#1308525 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I723b8c42c07d889b4082733d1d653c62b78d7d63
2015-06-28coverity#1308524 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I7f0e8193e3fb2cbd1b9cfe3505aab70d4e298f49
2015-06-28coverity#1308519 Uncaught exceptionCaolán McNamara2-4/+4
Change-Id: I53ec25b565a3d74ca9c50733ecc237341af1f711
2015-06-28coverity#1308515 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I22d666417a45eaecf4ade96e3b9207700d8fe778
2015-06-28tdf#91857 Minor fixes to impress's and calc's reorganized menusYousuf Philips1-7/+13
Change-Id: I8a50e34d7a0f5746458003268366f59f65e47b91 Reviewed-on: https://gerrit.libreoffice.org/16554 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-28tdf#84909 Hide rename master slide button in toolbarYousuf Philips2-1/+2
Change-Id: I1cdfc8495dbc54b71d5971b7aef396b7a34c6de9 Reviewed-on: https://gerrit.libreoffice.org/16555 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann5-11/+9
Change-Id: I0d1d7f598a0c61d36d72f9d51cccdcd1071c30b6
2015-06-26tdf#87905: Use darker background colour for master viewKatarina Behrens4-7/+20
for the area behind the slide, that is Change-Id: Ie020f43a81e5eaa257c20d0a7b6feffce1614205 Reviewed-on: https://gerrit.libreoffice.org/16466 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Philippe Jung <phil.jung@free.fr>
2015-06-25implement equalize width and height for impress/drawCaolán McNamara4-4/+38
Equalize width/height adjusts width/height of selected objects to the width/height of the last selected object. Change-Id: I7c222a6591112cb674322d310ebd87f04a9198bd
2015-06-25tdf#91378-Empty Custom Properties are lost while saving in .pptx formatHeena Gupta2-0/+22
Conflicts: sd/qa/unit/export-tests.cxx Reviewed on: https://gerrit.libreoffice.org/15966 Change-Id: Ibc24ab9633b51fe41ad483121646cc391319fe6f
2015-06-25loplugin:stringconstant: Flag more inefficienciesStephan Bergmann2-3/+3
Change-Id: I397db197dfa3108ee3c025a60dd9e437dd05a95d
2015-06-24Get rid of comphelper::string::is*Ascii functionsStephan Bergmann1-3/+2
Change-Id: I99912112e5b009d7a143f9816d757cdf6ebb1783
2015-06-23Revert "Typo: readd -> read"Andras Timar1-1/+1
The comment is about re-adding something, not about reading This reverts commit bc8adace59ab5bebb93610e0ec3b16ef2a8f5151.
2015-06-23allow slide design to affect multiple standard pagesCaolán McNamara1-28/+66
modify this minimally and select all standard pages selected in the slidesorted, unselect them afterwards and loop over the selected ones. This looks like it could do with a rework to disentangle the master/standard pages stuff, but leave it as is in this commit Change-Id: Ifd01fe21c91e5e6b07b2d8bba0d85facadc25998
2015-06-23Drop duplicate #includesTakeshi Abe2-3/+0
Change-Id: I4db77ea1de42676d9d2df70db3f2e1665a3fd983 Reviewed-on: https://gerrit.libreoffice.org/16419 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-23rendercontext: Mass fix of using the wrong size.Jan Holesovsky2-3/+3
In the paints, we must use the size of the Window for the computations, not of the RenderContext - the RenderContext can be much bigger than the Window in the double-buffering case. Fixes for example the list boxes, and many others. Change-Id: I4c7607569f88b2d097587140858d0862e54b5ea6
2015-06-22Fix typosAndrea Gelmini2-2/+2
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-21Fix typosAndrea Gelmini1-1/+1
Change-Id: I2297bf392a405f02be2450f4624f1c9fc0b512ce Reviewed-on: https://gerrit.libreoffice.org/16373 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-20tdf#84909 Additional tweaks to the standard, draw and text toolbarsYousuf Philips4-42/+65
Change-Id: I2a1a222855b3dfdc4147f14a559d13432745e456 Reviewed-on: https://gerrit.libreoffice.org/16388 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-19LOK: return used format in Document::getTextSelection()Miklos Vajna5-7/+12
This allows requesting text/html, with falling back to plain text if necessary. Change-Id: Ie6d4e0e173311ba018553043b6a869abf193bf6f Reviewed-on: https://gerrit.libreoffice.org/16377 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-06-19rendercontext: Fix crash with double-buffering in the Styles combo box.Jan Holesovsky1-1/+1
Decouple the actual window from rendercontext in UserDrawEvent. Change-Id: Ic440c4e7f59fcffb7800c578146e8eb528cbb7b4
2015-06-19sd::ViewShell::GetTextSelection: fix text/richtext handlingMiklos Vajna2-0/+9
Change-Id: If7d75d48667cd48d9426b02a38d2cf539b248d26
2015-06-19loplugin:passstuffbyrefNoel Grandin2-2/+3
Change-Id: Ic889efaca00ad9600b1b5c8452aa7ee819e63c89
2015-06-19sd: implement getTextSelection() in SdXImpressDocumentMiklos Vajna5-0/+85
Change-Id: I29df1873b3954aa64a613e06c53c8e9acfa6a79d Reviewed-on: https://gerrit.libreoffice.org/16369 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-06-18Fix typosAndrea Gelmini2-2/+2
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-18Bugfix test for tdf#88295Katarina Behrens2-0/+19
Change-Id: Ic9c4330e9b14e43448302132b6c01a8d93001d2f
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe3-5/+5
This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-17Some missing SolarMutexGuard around VclPtr acquire/releaseStephan Bergmann1-0/+3
At least OutputDevice::acquire/release use a plain unguarded int and ++, --, so apparently rely on the SolarMutex being locked whenever they are called. Fixed those places that caused "make check" to fail for me when temporarily adding DBG_TESTSOLARMUTEX() to OutputDevice::acquire/release. (A recurring pattern is that a class fails to ensure the SolarMutex is locked around the destruction of non-null VclPtr members.) Change-Id: I77cba6f3908f2de1b516ce28f1c3c43b3f57a9c5
2015-06-17loplugin:cstylecastStephan Bergmann1-1/+1
Change-Id: Ia8e0b5ded9f73cf448910593184a0e8936180a12
2015-06-16Use template function to reduce copy'n'pasta codeKatarina Behrens1-34/+31
Change-Id: I22964bfcfb80a3e97903674dbf71a1b7be3a0920 Reviewed-on: https://gerrit.libreoffice.org/16308 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-16tdf#91909 Uno commands for slide navigation and sortingPhilippe Jung14-2/+764
The following change adds the following uno commands to draw and impress. Commands are in standard toolbar and not visible by default. NextPage: go to the next page PreviousPage: go to the previous page FirstPage: go to the first page LastPage: go the the last page MovePageUp: Moves the current selection above the page preceding the selection. MovePageDown: Moves the current selection below the page following the selection. MovePageTop: Moves the selection to the top. MovePageBottom: Moves the current selection to the bottom. Change-Id: I2dbd923f14fd9901fb513c58b51bc7ab91ad0a83 Reviewed-on: https://gerrit.libreoffice.org/16211 Reviewed-by: Philippe Jung <phil.jung@free.fr> Tested-by: Philippe Jung <phil.jung@free.fr>
2015-06-16tdf#91887 handle LOK_MOUSEEVENT_MOUSEMOVE in SdXImpressDocumentMiklos Vajna3-0/+18
Change-Id: If6948e523fd681dbe289909df68364806628ead6