summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I60f792a9047d8d9ad9cfc2a442c4dd179efec53a
2015-11-06Add a 'Ripple' transitionTor Lillqvist
Change-Id: I18efe35c299bc3a4a2a5e449021323fc1f53f378
2015-11-05tdf#36946: Organise transitions hierarchicallyTor Lillqvist
Introduce the concept of transition groups and sets. (Suggestions for other terminology welcome.) A collection of transitions that differ only in the direction the transition is applied, or similar minor fashion, are called a set, and they show up only once in the long list of transitions in the UI. Each set also has an icon. Sets are then collected into groups based on some overall common feature, like "subtle" or "3D". Groups do not yet show up in the UI, but are only present in the configuration registry. I made only a few silly icons as I am not an artist. Not intended to be a final design in any way for them. Change-Id: I148cb7f8dc2e3ecd70cae188908dd02053308239 Reviewed-on: https://gerrit.libreoffice.org/19797 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-11-05afl-eventesting: deref of null mpTextObjCaolán McNamara
Change-Id: Icdb7d1cc250640f428984b96b0a51ac950013cb2
2015-11-05sd: CppunitTest_sd_svg_export_tests is Linux-only so farMiklos Vajna
Change-Id: If0f93ab9414f9013aab580bafc67f77891dfd8cc
2015-11-05sd: add support for svg export unit testsMarco Cecchetti
Change-Id: Iafeaecad612b724c4eeb85e0c01c942afb6445d8
2015-11-05fix tdf#95488, crash in report wizardNoel Grandin
This reverts commit bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 "loplugin:mergeclasses" Change-Id: Ib65459ab45cd4cefa859ed75f9ddc4f070879b1d
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: Ib224c60d3e5afc968bf4ef5ff58c3a71893b811c
2015-11-04STR_3DOBJECTBARSHELL, STR_FONTWORKOBJECTBARSHELL appear to be unusedStephan Bergmann
...ever since they got introduced with 24862ad6ea4e8014c83d6d32535835a729f71695, 980c162657f425f9072fdb00b9fe2ac2092ee1b5 "INTEGRATION: CWS sj05: #i20484# adding autoshape ui" Change-Id: I672bf11310f0887efb501de437fe704bcc2551e0
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04STR_MASTERPAGESSELECTOR appears to be unusedStephan Bergmann
...since d023339c2f85555212bdb9804854dcc2c403b50e "Turn sidebar back to non-experimental" Change-Id: I91bbeb60b2bd87cbd06139b586f93ec546df9e13
2015-11-04tdf#95298: corrected some out-of-bound accesses to arrayArmin Le Grand
the index variable m_FrameList used to reference the current frame uses the state EMTY_FRAMELIST to mark as invalid, which is the max integer number. Thus all usages have to be secured to not use m_FrameList if set to EMPTY_FRAMELIST. This was missing in some places. the max integer number. Thus all usages have to be secured to not use m_FrameList if set to EMPTY_FRAMELIST. This was missing in some places. Change-Id: Ie1cf4ae2cb79d821f634ec78b621a2647abc61a8 Reviewed-on: https://gerrit.libreoffice.org/19753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-04Bin some use-once variables, use literals insteadTor Lillqvist
Change-Id: I3ccdc7c92b53f1f385cec8ebfa1a325f355da9ed
2015-11-04Bin some use-once variables, use literals insteadTor Lillqvist
Change-Id: Ic6e3540dce776b7851e41124d8dcceec73aadb4b
2015-11-03Bin a few pointless variablesTor Lillqvist
Change-Id: I5198163e43b17786d3646cf398ec1b8e6ab1b438
2015-11-03tdf#86595: Highlight color it isKatarina Behrens
Change-Id: Ic0a3083c05ba1cce974d76aecf60ed7bc4c72a36
2015-11-02afl-eventtesting: crash close impress with spelling dialog activeCaolán McNamara
Change-Id: I1085b655a9a589f2e92edfdacfea6621d2f67d9c
2015-11-02tdf#88276: New text background tab in char formatting dialogKatarina Behrens
Change-Id: I81880456d398e8bffd363626bac17ff9d54e7796 Reviewed-on: https://gerrit.libreoffice.org/19697 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-11-02cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
2015-10-29Too much copy pasta is not good for youTor Lillqvist
Change-Id: Ie5a3cddd6fcf9d1a763284c1aea0fca579da4f8d
2015-10-29com::sun::star->css in sdNoel Grandin
Change-Id: Ic0cbc857a3a9c66241b94c30bf8c859435f5a4b4
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-28What's a "mape"?Tor Lillqvist
Change-Id: I4f7895683d5e42fd9c901759615025958939eb76
2015-10-28vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
2015-10-27Filter out non-VclWindowEventsStephan Bergmann
...to avoid bad casts like > sd/source/ui/slidesorter/controller/SlideSorterController.cxx:545:24: runtime error: downcast of address 0x7f2d4d9b0c40 which does not point to an object of type 'VclWindowEvent' > 0x7f2d4d9b0c40: note: object is of type 'VclMenuEvent' > 00 00 00 00 f0 f9 03 80 2d 7f 00 00 b2 04 00 00 00 00 00 00 40 51 72 00 10 61 00 00 01 00 00 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'VclMenuEvent' > sd::slidesorter::controller::SlideSorterController::ApplicationEventHandler(VclSimpleEvent&) sd/source/ui/slidesorter/controller/SlideSorterController.cxx:545:24 > sd::slidesorter::controller::SlideSorterController::LinkStubApplicationEventHandler(void*, VclSimpleEvent&) sd/source/ui/slidesorter/controller/SlideSorterController.cxx:543:1 > Link<VclSimpleEvent&, void>::Call(VclSimpleEvent&) const include/tools/link.hxx:84:45 > VclEventListeners::Call(VclSimpleEvent&) const vcl/source/app/vclevent.cxx:74:17 > Application::ImplCallEventListeners(VclSimpleEvent&) vcl/source/app/svapp.cxx:820:9 > Menu::ImplCallEventListeners(unsigned long, unsigned short) vcl/source/window/menu.cxx:339:9 > [...] (Even the VCLEVENT_APPLICATION_DATACHANGED handled in WindowEventHandler /is/ a VclWindowEvent, see how these events are created via ImplCallEventListeners in Application::SetSettings, vcl/source/app/svapp.cxx.) Change-Id: I107cbbff83e4a41090aadee6a66e715ef35901d4
2015-10-27Remove unncessary, wrong downcastStephan Bergmann
...which caused > sd/source/core/sdpage2.cxx:151:28: runtime error: downcast of address 0x611000ccf8c0 which does not point to an object of type 'SdrTextObj' > 0x611000ccf8c0: note: object is of type 'SdrPageObj' > 08 07 80 35 10 3e 04 ba 4f 7f 00 00 c0 1b 2c 00 b0 60 00 00 00 00 00 00 00 00 00 00 70 1c 2c 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'SdrPageObj' > SdPage::SetPresentationLayout(rtl::OUString const&, bool, bool, bool) sd/source/core/sdpage2.cxx:151:28 > SdDrawDocument::SetMasterPage(unsigned short, rtl::OUString const&, SdDrawDocument*, bool, bool) sd/source/core/drawdoc3.cxx:1746:13 > AssistentDlgImpl::UpdatePreview(bool) sd/source/ui/dlg/dlgass.cxx:1513:13 > [...] Change-Id: I07afc4cd7ef0a0a32768db59b72ca94edd4026df
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streamsMatteo Casalin
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27Initial work on a "Vortex" transitionTor Lillqvist
The actual transition is not yet at all like the one in the competing product. But some basic ideas are in place. Change-Id: Ie17a4fe03ae93abe51a2f1f760f417ee4b193e2c
2015-10-26sd: implement vcl::ITiledRenderable::isMimeTypeSupported()Miklos Vajna
Change-Id: I528ac9f9f687d2940c6477b1d33264f1e523051f
2015-10-26cppcheck:noExplicitConstructorNoel Grandin
Change-Id: I06f33af242c60e0349417ceab3ca4a6d47cd402d Reviewed-on: https://gerrit.libreoffice.org/19589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-22sd: implement vcl::ITiledRenderable::getWindow()Miklos Vajna
Change-Id: I8bc7316d9304d9e764ee846fe3af34599bf6fc35
2015-10-21afl-eventtesting: crash if you close shell behind running presentationCaolán McNamara
Change-Id: Ib8f02ddfe3b74e97145e22aa88e6f97d52c39f7a
2015-10-21sd: fix typo in PresenterHelperMiklos Vajna
Otherwise we always use the switch-monitor icon for the restart-timer button. Change-Id: Icd2e4322285b1c73a104ce0ffada116b9cae0ad4
2015-10-20afl-eventtesting + VclPtr: missing dispose on impress annotation windowCaolán McNamara
regression from commit c72fac269626cd4c2c3f62a6eed69e47b59256a4 Date: Mon Mar 16 12:17:44 2015 +0200 vclwidget: convert lots more sites to use VclPtr Change-Id: Iac6a83003d9c395589acdc23fe511d2bb47e91ee
2015-10-20remove SlideSorterCache debug facility, and with it, the last Link<>Noel Grandin
nobody has used it, or enabled it, in a very long time Change-Id: Ic36ff45086f7f7c9098c618d21cb6fc7cd7a46df
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: Ibf07815fa1a113876730382b8d14960eb7a78a0b
2015-10-19missing returnEike Rathke
Change-Id: I84c37f4bffb51dbe05c0b8273c060851fd671659
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I5f3b978823ec43519744f49739b9b4ee6ca1e1e9
2015-10-19typoStephan Bergmann
Change-Id: Ifb4f8c039829ef326d81dd7a0e36b3b527451c21
2015-10-19afl-eventtesting: pCursor is nullCaolán McNamara
Change-Id: I24d29ffc3cfcb00e513a5267619e143b028355ce
2015-10-19afl-eventtesting: view is nullCaolán McNamara
but docshell isn't and we're using the view apparently to get the shell we already have Change-Id: Ibc2021245191a75f65ec655a2d1929601a2611b5
2015-10-19afl-eventtesting: deref of null GetMainViewShellCaolán McNamara
Change-Id: Ie6863f446aa688bc1bb3f725ee31e9984dadc7a4
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19cleanup some local var declarationsNoel Grandin
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: Ifb59fc408bdbbe7edcb78f1c48dc462422f21a71
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: Ia27922e630373d0520f25d259bb06aa25407089c
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I8182e45dedfa70b41166b1d5fe5e152ae4b8c8ff
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I6c032633eb36402aa9050587bedf9530d7e0ba71