summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann4-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
2015-08-18ConvertSystemPathToURL->getFileURLFromSystemPathCaolán McNamara1-2/+2
Change-Id: I1c60c60f9b5318626f42e33091920a4404fb6d1c
2015-08-18rBaseURL argument now unusedCaolán McNamara1-1/+1
Change-Id: I02cacfeaf26788ed024fa9753af132f0d5822e6f
2015-08-17o3tl: rename compat_functional headerThorsten Behrens2-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>
2015-08-17convert Link<> to typedNoel Grandin4-42/+34
Change-Id: Ib0bf56a0e642720ff5daafdfc2dc12809be87e43
2015-08-17Put Polygon from tools under tools:: namespaceNorbert Thiebaud3-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>
2015-08-14remove default value from PrinterOptionsHelper::getIntValueNoel Grandin1-1/+1
more useful to make it explicit Change-Id: I4023fa19fd23ef3a180096a853b2d431d57d2772
2015-08-14remove default value from DffPropSet::GetPropertyValueNoel Grandin1-1/+1
more useful to make it explicit Change-Id: Ic76fcc5ffa245b3eb3c99f3a5e4d0656b56c511e
2015-08-14Move dropdown menu from 'Save As' to 'Save' buttonSzymon Kłos3-5/+5
Change-Id: I24e9b16ea38811791804e6c85205b304bd781617
2015-08-14reorder of File menuSzymon Kłos2-2/+2
Change-Id: I8265b291554765775871905b0349564131dfa8c7
2015-08-13tdf#93154: Save button often does not saveMihai Varga1-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>
2015-08-12tdf#80866, bnc#835985: Better solution to the original bnc# bug.Jan Holesovsky1-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
2015-08-12tdf#80866: Revert "bnc#835985: When printing ... 'Order' did not count."Jan Holesovsky1-3/+3
This reverts commit a6a04658fb46d9e5ec40438955b777e2eb76b8d2.
2015-08-12tdf#73691 Implement MSWord's Alt-X: toggle unicode notationJustin Luth3-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>
2015-08-11cppcheck: noExplicitConstructorCaolán McNamara1-4/+5
Change-Id: I045d903e331765bb58ad61c3397cf61a06cbae8a
2015-08-11tdf#92885 - Incorrect cell border drawing in DOC file after saving in 5.0Noel Grandin1-1/+1
caused by commit 4b66829390b286010b37b37ec1537a320d8cea8f "convert BOX_LINE and BOXINFO_LINE to enum class" Change-Id: I23eb359a40035dd40bdb60703de567b1c328e793
2015-08-10tdf#93065 Swap next and previous buttons in find toolbarYousuf Philips2-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>
2015-08-07tdf#91857 Move master display items to View menuYousuf Philips1-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>
2015-08-06-Werror,-Wunused-private-fieldStephan Bergmann1-2/+0
Change-Id: I37661729a2d9f05b58eef5a21effff8f8516b1b7
2015-08-05Added Test for #tdf62176 Negative indent on text shapesVarun2-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>
2015-08-05remove unused SfxFilterFlags valuesNoel Grandin2-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>
2015-08-05loplugin:unusedmethodsNoel Grandin12-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>
2015-08-04Hide open remote button in standard toolbarYousuf Philips2-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>
2015-08-04shell,sfx2,sd: inline some use-once typedefsNoel Grandin2-11/+9
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-08-03sd: try to fix libc++/MSVC build by replacing boost::bindMichael Stahl1-9/+4
Change-Id: Ib33fbe9792c35924ac61ed6b54af85d95689a8e3
2015-08-03sd: replace boost::function with std::functionMichael Stahl17-41/+48
Change-Id: If70426d6d93a8c3b7c585b1c69e9b1c58643d140
2015-08-03tdf#91112: replace o3tl::compose1 with lambdas in sd and svxJorenz Paragas1-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>
2015-08-03new loplugin: refcountingNoel Grandin3-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>
2015-07-28inline "old" SbERR constantsNoel Grandin5-31/+31
Change-Id: I3e6665351de97692ae70207e8b623ad008ca8c9a
2015-07-27inline a bunch of use-once macrosNoel Grandin1-3/+0
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
2015-07-27remove some unused definesNoel Grandin3-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>
2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann3-8/+1
Change-Id: I3104a661b7c00851f6e444eb6899483bfc9c7417
2015-07-24Open/Save Remote File in Impress/Draw toolbars and menuSzymon Kłos5-2/+10
Change-Id: I9503f5beaa8b5a6afc213747a691265acd5903f7
2015-07-24filter: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-3/+3
Change-Id: I87f903c6a81b271847f072fa0608fae4669ac307
2015-07-24convert ImageAlign to enum classNoel Grandin1-1/+1
Change-Id: I22e2e66a1f0b230403ad1d9c1f5b7f34a6ee6ea5
2015-07-24NAVBTN_PEN_ENABLED is unusedNoel Grandin2-4/+0
Change-Id: I3f5ae15f594b2a96ad30f6795c3b782b56d78feb
2015-07-24simplify SdOptions::StoreConfigNoel Grandin2-35/+10
nobody calls it with anything other than the default value Change-Id: I9c3a975ed7f0e22c58aad7bf733a26f79244ca26
2015-07-21tdf#36796 Status updates for custom shapes buttonsMaxim Monastirsky9-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
2015-07-21loplugin:unusedmethods sdNoel Grandin46-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>
2015-07-20svtools: change these SvTreeListEntry functions to unique_ptrMichael Stahl3-13/+22
... parameters to make it clear that they take ownership. Change-Id: I572c5fa6268438a86d0a4fa1d2aef15382cb5607
2015-07-19Fix typosAndrea Gelmini3-3/+3
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-18Convert SdTbxControl to the generic controllerMaxim Monastirsky13-591/+18
And remove the now unused stuff from SfxToolBoxControl. Change-Id: I8805ba96a5dc41076d9cb8d887759a578a33526d
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin3-13/+13
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16Convert Alignment button to the generic controllerMaxim Monastirsky9-52/+27
Change-Id: I76ead43fa1cfe7ba1b62d2b13c4f4d7658a9f290
2015-07-16Convert FontWorkShapeTypeControl to the generic controllerMaxim Monastirsky2-3/+0
Change-Id: I7824136aa2780c4062a66f7a5284a342862f319a
2015-07-16coverity#1311945 Uncaught exceptionCaolán McNamara1-6/+2
Change-Id: I9c5738330a765747e749c4ec88bc6e87d8703c1c
2015-07-16loplugin:unusedmethods svx(part2)Noel Grandin4-76/+0
Change-Id: I161360e2f3113c4814fe1c2c095e602b2c93dcd7 Reviewed-on: https://gerrit.libreoffice.org/17120 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:unusedmethods svxNoel Grandin2-6/+0
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16loplugin:simplifyboolStephan Bergmann9-12/+12
Change-Id: Id87047cb49eabe0c5ef3463f437e47f0eeeae990
2015-07-16loplugin:unusedmethods sfx2(part2)Noel Grandin2-14/+0
Change-Id: I82223b72ddb6a9df1ee52a300b083002234602dc Reviewed-on: https://gerrit.libreoffice.org/17075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>