summaryrefslogtreecommitdiffstats
path: root/sd
Commit message (Collapse)AuthorAgeFilesLines
* Fix tdf#77881,tdf#80520,tdf#89525 bulllets lost issue.Mark Hung2015-08-252-0/+34
| | | | | | | | | | | Replace bullet char before write out font description since it may be altered if bullet font has been changed (i.e. StarSymbol to WingDings ). Change-Id: I0461cc0a5e4628b36177602bba7ed7f74a0751eb Reviewed-on: https://gerrit.libreoffice.org/17376 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Fix tdf#80224 Custom text color changed to black on .PPTX exportMark Hung2015-08-255-1/+30
| | | | | | | | | | | | 1) Indirect property values were ignored, now they are used. 2) Write endParaRPr so that PowerPoint display them. 3) Automatic colors are written as white or black based on whether background is dark. Change-Id: I255c16f35149b738be2daf2800b1c90389f2c7cf Reviewed-on: https://gerrit.libreoffice.org/17472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* parameter names are useless in DECL_LINK declarationsNoel Grandin2015-08-252-2/+2
| | | | Change-Id: I77f7b528ed97964bdc153f820f6f96977ddb9254
* make pWindow private in SfxChildWindowNoel Grandin2015-08-252-6/+5
| | | | Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
* make eChildAlignment private in SfxChildWindowNoel Grandin2015-08-252-3/+1
| | | | Change-Id: I68a4c3324736e111a2c88e3edb9df506c33042b7
* loplugin:defaultparamsNoel Grandin2015-08-212-8/+8
| | | | Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
* loplugin: defaultparamsNoel Grandin2015-08-2020-50/+50
| | | | Change-Id: I54b72087ea3f38b2430c3c62aaff195bbd301b99
* loplugin:defaultparamsNoel Grandin2015-08-2021-53/+50
| | | | Change-Id: Ie989fe233fc3295fb1901881b59e506ef340ffea
* loplugin:defaultparamsNoel Grandin2015-08-2024-44/+44
| | | | Change-Id: Ib7a4be246e5d82f5a704a188f8b950f187d04138
* loplugin:defaultparamsNoel Grandin2015-08-2019-58/+58
| | | | Change-Id: I52a79d3e84c832622fa4be32856d7dbb496b4d67
* Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann2015-08-194-10/+14
| | | | | | | | | | | together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
* ConvertSystemPathToURL->getFileURLFromSystemPathCaolán McNamara2015-08-181-2/+2
| | | | Change-Id: I1c60c60f9b5318626f42e33091920a4404fb6d1c
* rBaseURL argument now unusedCaolán McNamara2015-08-181-1/+1
| | | | Change-Id: I02cacfeaf26788ed024fa9753af132f0d5822e6f
* o3tl: rename compat_functional headerThorsten Behrens2015-08-172-2/+1
| | | | | | | | | | After the cleanup, the stuff there really stands on its own (and the remaining usage of select1st/2nd is more descriptive than lambdas). Change-Id: I0aba131d5dc550189f8130d167dc94167e404540 Reviewed-on: https://gerrit.libreoffice.org/17806 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* convert Link<> to typedNoel Grandin2015-08-174-42/+34
| | | | Change-Id: Ib0bf56a0e642720ff5daafdfc2dc12809be87e43
* Put Polygon from tools under tools:: namespaceNorbert Thiebaud2015-08-173-4/+7
| | | | | | | | | | Polygon is one of these names that Clash with some system objects A similar work has been done earlier with PolyPolygon. Change-Id: Icf2217cb2906292b7275760f1a16be0e150312f5 Reviewed-on: https://gerrit.libreoffice.org/17789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove default value from PrinterOptionsHelper::getIntValueNoel Grandin2015-08-141-1/+1
| | | | | | more useful to make it explicit Change-Id: I4023fa19fd23ef3a180096a853b2d431d57d2772
* remove default value from DffPropSet::GetPropertyValueNoel Grandin2015-08-141-1/+1
| | | | | | more useful to make it explicit Change-Id: Ic76fcc5ffa245b3eb3c99f3a5e4d0656b56c511e
* Move dropdown menu from 'Save As' to 'Save' buttonSzymon Kłos2015-08-143-5/+5
| | | | Change-Id: I24e9b16ea38811791804e6c85205b304bd781617
* reorder of File menuSzymon Kłos2015-08-142-2/+2
| | | | Change-Id: I8265b291554765775871905b0349564131dfa8c7
* tdf#93154: Save button often does not saveMihai Varga2015-08-131-0/+4
| | | | | | | | | | | | The problem is that in tiled rendering LO doesn't always consider the document to be modified. Some operations such as Bold, Italic, etc do not mark the document as being modified, but we need to be able to save the changes. This solved the issue by always allowing to save. Change-Id: Iaf8120abadc768a07b24f42c287c50080b4e4d89 Reviewed-on: https://gerrit.libreoffice.org/17665 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
* tdf#80866, bnc#835985: Better solution to the original bnc# bug.Jan Holesovsky2015-08-121-1/+1
| | | | | | | | | | | | | | | The behavior was confusing from the user point of view - the "Default" meant the handout layout (that by default is 6 slides per page), not any kind of default. And it looked like the orientation does not work. Let's provide better wording instead of "Default" at least. The ideal would be also to disable the "Order" when "According to layout" is chosen. Unfortunately it is not easily possible, as the enabling/disabling is controlled by the UIControlOptions's mnDependsOnEntry, and that allows only one value; and we'd need "everything but the 0" there. Change-Id: Ife98c421bf8f52506a7dc32caea6af6c24ef17c6
* tdf#80866: Revert "bnc#835985: When printing ... 'Order' did not count."Jan Holesovsky2015-08-121-3/+3
| | | | This reverts commit a6a04658fb46d9e5ec40438955b777e2eb76b8d2.
* tdf#73691 Implement MSWord's Alt-X: toggle unicode notationJustin Luth2015-08-123-0/+69
| | | | | | | | | | | | | | -toggles between characters and their unicode notation -sets Alt-X as a global keyboard accelerator -handles all of the unicode planes -intelligently handles combining characters -if text is selected, limits the input to that text -implemented in Writer, Draw, Impress Change-Id: Idcd8e7f0a4f1b81fa7f5f3200c76be19472ffa37 Reviewed-on: https://gerrit.libreoffice.org/17535 Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* cppcheck: noExplicitConstructorCaolán McNamara2015-08-111-4/+5
| | | | Change-Id: I045d903e331765bb58ad61c3397cf61a06cbae8a
* tdf#92885 - Incorrect cell border drawing in DOC file after saving in 5.0Noel Grandin2015-08-111-1/+1
| | | | | | | caused by commit 4b66829390b286010b37b37ec1537a320d8cea8f "convert BOX_LINE and BOXINFO_LINE to enum class" Change-Id: I23eb359a40035dd40bdb60703de567b1c328e793
* tdf#93065 Swap next and previous buttons in find toolbarYousuf Philips2015-08-102-2/+2
| | | | | | | Change-Id: Ie07364696175038130cb5b94fbad39b88e646921 Reviewed-on: https://gerrit.libreoffice.org/17473 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* tdf#91857 Move master display items to View menuYousuf Philips2015-08-071-4/+4
| | | | | | | Change-Id: Ia5404045389d87a001671e870458a7985d0b990b Reviewed-on: https://gerrit.libreoffice.org/17552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* -Werror,-Wunused-private-fieldStephan Bergmann2015-08-061-2/+0
| | | | Change-Id: I37661729a2d9f05b58eef5a21effff8f8516b1b7
* Added Test for #tdf62176 Negative indent on text shapesVarun2015-08-052-0/+47
| | | | | | | Change-Id: I9548c80f0bda342477cde249f9b55dde95e9c0f4 Reviewed-on: https://gerrit.libreoffice.org/17524 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* remove unused SfxFilterFlags valuesNoel Grandin2015-08-052-2/+2
| | | | | | | | | from both the code and the XCU files Change-Id: I47f1f33c3ad4a37e346e3b8020dd9d3e284ccb77 Reviewed-on: https://gerrit.libreoffice.org/17522 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2015-08-0512-72/+0
| | | | | | | Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Hide open remote button in standard toolbarYousuf Philips2015-08-042-2/+2
| | | | | | | Change-Id: I175d27311fa166d3d33f2d88184b1fcd01f5df6a Reviewed-on: https://gerrit.libreoffice.org/17476 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* shell,sfx2,sd: inline some use-once typedefsNoel Grandin2015-08-042-11/+9
| | | | Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
* sd: try to fix libc++/MSVC build by replacing boost::bindMichael Stahl2015-08-031-9/+4
| | | | Change-Id: Ib33fbe9792c35924ac61ed6b54af85d95689a8e3
* sd: replace boost::function with std::functionMichael Stahl2015-08-0317-41/+48
| | | | Change-Id: If70426d6d93a8c3b7c585b1c69e9b1c58643d140
* tdf#91112: replace o3tl::compose1 with lambdas in sd and svxJorenz Paragas2015-08-031-4/+4
| | | | | | | Change-Id: I53c73c6210ba3eec4d73949a329a35ad7834220e Reviewed-on: https://gerrit.libreoffice.org/17468 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* new loplugin: refcountingNoel Grandin2015-08-033-8/+3
| | | | | | | | | | | | | | This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* inline "old" SbERR constantsNoel Grandin2015-07-285-31/+31
| | | | Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
* inline a bunch of use-once macrosNoel Grandin2015-07-271-3/+0
| | | | | | | no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
* remove some unused definesNoel Grandin2015-07-273-19/+0
| | | | | | | Change-Id: Ib2d50e8c29ccbc5ffcb52cdff4ae3eaae9a62188 Reviewed-on: https://gerrit.libreoffice.org/17332 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* -Werror,-Wunused-private-fieldStephan Bergmann2015-07-243-8/+1
| | | | Change-Id: I3104a661b7c00851f6e444eb6899483bfc9c7417
* Open/Save Remote File in Impress/Draw toolbars and menuSzymon Kłos2015-07-245-2/+10
| | | | Change-Id: I9503f5beaa8b5a6afc213747a691265acd5903f7
* filter: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl2015-07-241-3/+3
| | | | Change-Id: I87f903c6a81b271847f072fa0608fae4669ac307
* convert ImageAlign to enum classNoel Grandin2015-07-241-1/+1
| | | | Change-Id: I22e2e66a1f0b230403ad1d9c1f5b7f34a6ee6ea5
* NAVBTN_PEN_ENABLED is unusedNoel Grandin2015-07-242-4/+0
| | | | Change-Id: I3f5ae15f594b2a96ad30f6795c3b782b56d78feb
* simplify SdOptions::StoreConfigNoel Grandin2015-07-242-35/+10
| | | | | | nobody calls it with anything other than the default value Change-Id: I9c3a975ed7f0e22c58aad7bf733a26f79244ca26
* tdf#36796 Status updates for custom shapes buttonsMaxim Monastirsky2015-07-219-224/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're dealing here with 2 bugs: 1. Single shape buttons (like rectangle, ellipse etc.) don't get the pressed state when active. The cause is that all commands of the same kind (Basic Shapes, Symbol Shapes etc.) are handled as one internally, allowing only one type of status updates. It used to transport the current active shape, but it was changed to a boolean value in the fix for i#41753, and since then used for the pressed state of the group buttons. 2. The pressed state of a group button shows always, even when a user activates a shape from a place other than the drop-down of that button. But in this case the image of the group button doesn't update with the current shape, thus confusing the user on what is currently active. The cause here is that we use (since i#41753) the XSubToolbarController interface to update the last selected function (instead of the old-style status based update), and ToolBarManager notifies a controller about a new selection only if it was made from a particular toolbar that the controller claimed to use in the getSubToolbarName method. Since 7352a7c17875e5adcc4226c45f4a03e11c44ff49 there is a similar regression for other group buttons in sd (like lines, 3D Objects and other), with the same cause. This is also fixed now. Change-Id: Ida074a001ff78bf5bd5bcb8151516daa6e27cbce
* loplugin:unusedmethods sdNoel Grandin2015-07-2146-288/+5
| | | | | | | Change-Id: I9b5399ace50db3259df2e619f28ae547a38e6c6d Reviewed-on: https://gerrit.libreoffice.org/17254 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* svtools: change these SvTreeListEntry functions to unique_ptrMichael Stahl2015-07-203-13/+22
| | | | | | ... parameters to make it clear that they take ownership. Change-Id: I572c5fa6268438a86d0a4fa1d2aef15382cb5607