summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-07-05SfxToolBoxControl::GetPopupWindowType seems unused, kill itMaxim Monastirsky
together with SfxPopupWindowType enum. Change-Id: Ia0b2388b34c96bb044f1bfcc7e89b33ac37d5f95 Reviewed-on: https://gerrit.libreoffice.org/16766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-04coverity#1308604 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ib3265d3e3d997251b4c5503e17271b70c8378226
2015-07-04Fix typosAndrea Gelmini
Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-03tdf#92528: Saving of usage info can happen very late in the tear down.Jan Holesovsky
Change-Id: Id545f3447472a8e6ee137a6630ee14b45a45d673
2015-07-03tdf#83089 : Cannot select location in properties dialogueSzymon Kłos
Change-Id: I008622cb8178cb1c83f72e5919ebc1be0dd9a2d5
2015-07-01tdf#92431 Keep thumbnail for modified but unsaved docMaxim Monastirsky
A regression of 1166966eb4112fdf332c656eae5082d82a3ec2f2. We need to consider 2 use-cases: 1. Protecting an existing document with a password (by overwriting the original file). In this case we don't want to generate a thumbnail from the now encrypted file, but we do want to erase the stored thumbnail and show a generic icon instead. 2. Closing a modified document without saving the changes. Here we don't want to generate a thumbnail either, because it may contain the unsaved changes, but either we don't want to replace the stored thumbnail, because most likely it correctly represents the last saved state of the document. Change-Id: Ia7b1f3dbc9fbbc2ef1d87442c1dee25306f65826 Reviewed-on: https://gerrit.libreoffice.org/16659 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-06-30tdf#90452: Templates should adhere to the recent docs colors too.Jan Holesovsky
Change-Id: I5df89581796eca4e48e0a305d4319e4674f8dd87
2015-06-30tdf#90452: The correct color for the message when there's no recent file yet.Jan Holesovsky
Change-Id: I5a990643903946ea339136fbc514ca8cb90fa34e
2015-06-30tdf#90452: Remove the frame around the Help and Extension buttons.Jan Holesovsky
Change-Id: I86d2daec6dcbd6af3a8da1b8329417bae46c8079
2015-06-30tdf#90452: Implement the new design of the startcenter.Jan Holesovsky
See the comment 45 in the bug for the agreed design. Change-Id: I428f339df48f530f606525434a4a2be8a79acaab
2015-06-30Fix typosAndrea Gelmini
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-30remove some unnecessary typedefs to pointerNoel Grandin
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2015-06-29tdf#92047 - cleanup logic.Michael Meeks
There are still a truck-load of problems with watercan usability. Change-Id: Ic8a9cda070747b1887a292df89b0398bdad8ef8a Reviewed-on: https://gerrit.libreoffice.org/16565 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-29tdf#84381: Improved sidebar selection analyser for Calc and Draw/ImpressRishabh Kumar
Disables the area tab when a line is selected Change-Id: Ib02a68fb548a7cc10f9af7e0d1b6191119f18915 Reviewed-on: https://gerrit.libreoffice.org/16165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-06-29rendercontext: Simplify.Jan Holesovsky
Change-Id: I1dced1263a114d8d30b66da8974d075c83a8414f
2015-06-29Resolves: tdf#92047 fix wrong merge conflict resolutionCaolán McNamara
since commit e8b97a52c96df9c8e8055407b1e40ed7cb9cfc67 Merge: 2b0be6c 0cde74f Date: Tue Apr 28 11:41:31 2015 +0100 - bWaterDisabled = !(pTreeBox || aFmtLb.GetSelectionCount() <= 1); - bWaterDisabled = (pTreeBox || aFmtLb->GetSelectionCount() <= 1) ? sal_False : sal_True; ++ bWaterDisabled = pTreeBox || aFmtLb->GetSelectionCount() <= 1; Change-Id: I14d848b4527adf05eb05110b93369791134cbe6c
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29remove custom RTTI from SfxFrameNoel Grandin
unused Change-Id: I009f43d192942c14d0ccbf56c78257570c65e41a
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin
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-28Fix typosAndrea Gelmini
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-28coverity#1308505 Uncaught exceptionCaolán McNamara
Change-Id: I952d464c2a9382c60b0616eeb0cf727e914785bd
2015-06-28coverity#1308501 Uncaught exceptionCaolán McNamara
Change-Id: I5143cb99f67a2de3a4d4555b3a43075cd928fe14
2015-06-28coverity#1308489 Uncaught exceptionCaolán McNamara
Change-Id: I7d332fcd06e39d096f449790b1e590227d2f8a26
2015-06-27coverity#1308473 Uncaught exceptionCaolán McNamara
Change-Id: I554f7edb9f08c473a54f8b14206e5ae57bdf6470
2015-06-27WaE: redundant const_castDavid Tardon
2015-06-26fix style preview renderingLászló Németh
Change-Id: I10d3791a8d95b5db94af33690de57f3c443bc8fb
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann
Change-Id: I40b8e5df15d836a00536d9f21cd1125264aefd86
2015-06-24Get rid of comphelper::string::is*Ascii functionsStephan Bergmann
Change-Id: I99912112e5b009d7a143f9816d757cdf6ebb1783
2015-06-23Revert "Typo: iff->if"Julien Nabet
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-23rendercontext: Mass fix of using the wrong size.Jan Holesovsky
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-23Uno api sidebar unit test tdf#91806Laurent Godard
- python test subsequentcheck - correct deck setTitle APi (UI update) - enhance UnoInProcess for flexiility in loading parameter Change-Id: Id04cb78c6162ac84fb3bfd8577f84763109d993e Reviewed-on: https://gerrit.libreoffice.org/16180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-22tdf#91971: Add the menubar size to the height computation too.Jan Holesovsky
Change-Id: Ic03dc9e811df624ca492cd2688a30a1e07fe6496
2015-06-22-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Icf9b843eff90c39110fc5b0436f85b0783cddb17
2015-06-22loplugin:salboolStephan Bergmann
Change-Id: If5a3d79167264240ce9083800f15ed166eedd8bf
2015-06-22-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I47416559cc3d6c6679e1f9df3f24a24385903e04
2015-06-22loplugin:passstuffbyrefStephan Bergmann
Change-Id: Ib356214e2aee699d7def22ab84ad806cb801bcb5
2015-06-22new uno sidebar api tdf#91806Laurent Godard
the entry point is SfxBaseController::getSidebar() the Decks and panels are now per SidebarController and not global anymore ' macro example Sub testSidebarApi controller = thisComponent.currentcontroller frameIni = thisComponent.currentcontroller.frame sidebar = thisComponent.currentcontroller.getSidebar() sidebar.setVisible(true) frame = sidebar.getFrame() decks = sidebar.getdecks() c = decks.count h = decks.hasElements() e = decks.getElementNames() a = decks.hasByName("MyDeck") deck = decks.getByName("MyDeck") deck.activate(true) t = deck.getTitle() deck.setTitle("new deck title") deck.moveFirst() deck.moveLast() deck.moveUp() deck.moveDown() index = deck.getOrderIndex() panels = deck.getPanels() ep = panels.getElementnames() ap = panels.hasByName("aPanelName") panel = panels.getByName("aPanelName") panel.setTitle("new panel title") panel.collapse() panel.expand(true) ' expand and collapse other index = panel.getOrderIndex() panel.moveLast() panel.moveFirst() panel.moveDown() panel.moveUp() End Sub Change-Id: I7a4b953f2277dea483bb296ba6ead35de7205ace Reviewed-on: https://gerrit.libreoffice.org/15856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-21Fix typosAndrea Gelmini
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-19rendercontext: Fix crash with double-buffering in the Styles combo box.Jan Holesovsky
Decouple the actual window from rendercontext in UserDrawEvent. Change-Id: Ic440c4e7f59fcffb7800c578146e8eb528cbb7b4
2015-06-18Make 'Show License' button work on OS XAndras Timar
Change-Id: I947033790476f982efd6a275831d2439b2859d8f
2015-06-18Fix typosAndrea Gelmini
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-18fix start center rendering (removing selection)László Németh
Change-Id: I3f09808e43d379f473360f3746302a5d65fb8b38
2015-06-18fix start center renderingLászló Németh
Change-Id: Ib32b299806851fd2df1fbe8a824c1fe49a4efd99
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe
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-16crash on use of 'echo hello' as dde command in insert sectionCaolán McNamara
Change-Id: Ic46be8ac6da04663096e682d17faa214b324e8bf
2015-06-16Fix typosAndrea Gelmini
Change-Id: Id8c7cf460cba5af89891c470e1aaa61b227d356e Reviewed-on: https://gerrit.libreoffice.org/16310 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-16Fix typosAndrea Gelmini
Change-Id: Icfb885b72d51edc886851cf503c56fa12b8f559f Reviewed-on: https://gerrit.libreoffice.org/16309 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-16Fix typosAndrea Gelmini
Change-Id: I549635318f46718042e50c8f89ce3c620cade990 Reviewed-on: https://gerrit.libreoffice.org/16281 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-16Fix typosAndrea Gelmini
Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>