summaryrefslogtreecommitdiffstats
path: root/slideshow
Commit message (Collapse)AuthorAgeFilesLines
* tdf#94006 - fix OpenGLContext mis-use in several places.Michael Meeks2015-09-081-4/+4
| | | | | | | gltf rendering, OpenGL canvas, GL transitions & GL capable (charts) Avoid GLX operations on un-initialized contexts. Change-Id: I7f523640f66ab656896181e5c865879234f6640e
* slideshow: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-0711-27/+21
| | | | | | | | | with the variadic variants. Change-Id: I3160235d0e6253626a8facbfed33e3c252505cbf Reviewed-on: https://gerrit.libreoffice.org/18336 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* o3tl/cow_wrapper: remove boost dependencyDaniel Robertson2015-08-293-0/+3
| | | | | | | | | | | Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* slideshow: replace for_each with range-based loopDaniel Robertson2015-08-2413-315/+146
| | | | | | | | | | | Replace ::std::for_each for a more readable range-based for loop in cases in which the function object to be applied by for_each is more readable as the body of a for loop. Change-Id: Ib0b488b36ed58c65c56357e04391b85096d043aa Reviewed-on: https://gerrit.libreoffice.org/17930 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* loplugin: defaultparamsNoel Grandin2015-08-204-5/+5
| | | | Change-Id: Ibf0ea539d2a95073a12f84964759d9c7a94baa7b
* slideshow: replace for_each with range-based forDaniel Robertson2015-08-179-243/+135
| | | | | | | | | | | | | Replace ::std::for_each for a more readable range-based for loop in cases in which the function object to be applied by for_each is more readable as the body of a for loop. In addition, replace while loops with range-based for loops when possible and complex implementations of boost::bind with lambda expressions. Change-Id: I6adfb18197bd1b8627719adfca2e4c36d58a0e05 Reviewed-on: https://gerrit.libreoffice.org/17786 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Range-based for-loops.Jan Holesovsky2015-08-121-17/+8
| | | | Change-Id: I6fb0d182dfccb3af42f0bbc60969c72df09b6ce6
* slideshow: prefer value_type over manual type generationThorsten Behrens2015-08-117-16/+14
| | | | | | | Change-Id: I3e088a10e7bc0da73e4fa20db15e71581661fe4b Reviewed-on: https://gerrit.libreoffice.org/17641 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* loplugin:unreffunStephan Bergmann2015-08-111-0/+1
| | | | Change-Id: I130b4f1eca4cf07f17aac995c4a44a8fdf51a4df
* loplugin:cstylecastNoel Grandin2015-08-112-5/+5
| | | | Change-Id: Ie44d7b031b16647457cf08dc944526c720360f9d
* -Werror,-Winconsistent-missing-overrideNoel Grandin2015-08-119-10/+10
| | | | Change-Id: I3597b5d5cd54e6ff5398bdb5075b9fa03f9b5819
* stop inclduing canvas/verbosetraces.hxx and canvas/debug.hxxNorbert Thiebaud2015-08-1199-216/+25
| | | | | | | | | also clean-up and 'standardize' the include sections of canvas' source code Change-Id: Ib437a41ea41ae2ea6528f755ae5b2828775aaf73 Reviewed-on: https://gerrit.libreoffice.org/17633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* slideshow: stop (mis)-using VERBOSENorbert Thiebaud2015-08-1114-68/+49
| | | | | | | | | converted the use of internal 'verbose' level tracing to SAL_INFO/SAL_WARN Change-Id: Iab89d9b5c75fe476c6516718f1cee3d01d196858 Reviewed-on: https://gerrit.libreoffice.org/17632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Explicit capture annotationsStephan Bergmann2015-08-081-1/+1
| | | | Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204
* tdf#92459 replace deprecated o3tl featuresDaniel Robertson2015-08-0810-96/+49
| | | | | | | | | | Replace deprecated features from the o3tl including select1st and select2nd with lambda expressions. Change-Id: I0cb1aedc3e193c52d25e2837a47d9d90c898079e Reviewed-on: https://gerrit.libreoffice.org/17459 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* cppcheck:noExplicitConstructorNoel Grandin2015-08-0726-36/+36
| | | | Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
* slideshow: dumb this down to hopefully make non-GCC compilers happyMichael Stahl2015-08-031-3/+18
| | | | Change-Id: If08a4f0c177abf38a381dcb9ba73a09265b2bcb5
* slideshow: convert generateEvent args from boost::bindMichael Stahl2015-08-031-2/+4
| | | | Change-Id: I85d240989e41a45b62a4631bb847daccd1919f34
* slideshow: try to fix libc++/MSVC build by replacing boost::bindMichael Stahl2015-08-0313-69/+44
| | | | Change-Id: I6418119f9d3e70ea89f7c8a094bbde42eeadec8c
* slideshow: replace boost::function with std::functionMichael Stahl2015-08-036-21/+22
| | | | Change-Id: Ibcb0f40d327e3086b6493cf2052caf135aa89e10
* loplugin:unusedmethods slideshowNoel Grandin2015-07-1719-178/+0
| | | | | | | Change-Id: I66b6cddb638a9fc1228d3ea9df5d112300a00eb3 Reviewed-on: https://gerrit.libreoffice.org/17128 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* do not include boost/utility.hppMichael Stahl2015-07-1011-11/+11
| | | | | | | | | | It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
* Fix typosAndrea Gelmini2015-07-082-2/+2
| | | | | Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-07-041-1/+1
| | | | | | | Change-Id: Ic6415423f46aaee7ba90239a617c318cf92ae222 Reviewed-on: https://gerrit.libreoffice.org/16711 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
* Revert "Typo: iff->if"Julien Nabet2015-06-232-3/+3
| | | | | | This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
* Typo: iff->ifJulien Nabet2015-06-232-3/+3
| | | | Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
* slideshow: [loplugin:unreffun]Michael Stahl2015-06-181-8/+0
| | | | Change-Id: I112e85d999a160b9b6393e924e981231d17f439d
* Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe2015-06-172-3/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* Fix typosAndrea Gelmini2015-06-161-1/+1
| | | | | | | Change-Id: Icfb885b72d51edc886851cf503c56fa12b8f559f Reviewed-on: https://gerrit.libreoffice.org/16309 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-06-161-2/+2
| | | | | | | Change-Id: I528752dfabeb31d14c350f79819b521537ab9b56 Reviewed-on: https://gerrit.libreoffice.org/16300 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-06-162-2/+2
| | | | | | | Change-Id: I28cfc629dc3d6ef54128615452667ccce86c1072 Reviewed-on: https://gerrit.libreoffice.org/16297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* cppcheck:unreadVariableNoel Grandin2015-06-151-2/+1
| | | | Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
* inline COMPHELPER_SERVICEDECL_ macroNoel Grandin2015-06-152-2/+12
| | | | | | it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
* tdf#91960 presentation causes Impress crashNoel Grandin2015-06-132-10/+12
| | | | | | | | | | | The SystenChildWindow in question is owned by ViewMediaShape Fixed ViewMediaShape to dispose the vcl objects it creates correctly. Also fix another crash in MediaWindowImpl child window correctly disposing its children. Change-Id: If4aebcb6e5824266c154416f7246d73c6cb3509c Reviewed-on: https://gerrit.libreoffice.org/16230 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* convert B2VectorOrientation to scoped enumNoel Grandin2015-06-041-1/+1
| | | | Change-Id: Id7e444bc896ae5d52e5a0bd1b471679c4945afa4
* convert PARENTCLIPMODE constants to scoped enumNoel Grandin2015-05-281-1/+1
| | | | Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
* convert META_*_ACTION constants to scoped enumNoel Grandin2015-05-153-14/+15
| | | | Change-Id: I8ecfbfecd765a35fafcbcc5452b0d04a89be2459
* slideshow: simplify code by replacing std::find_if by std::any_of/std::none_ofTakeshi Abe2015-05-138-48/+28
| | | | | | | Change-Id: Ib8eec5074e82127e11f4fba2c0b143ab8cef3bcc Reviewed-on: https://gerrit.libreoffice.org/15714 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* loplugin:staticmethodsNoel Grandin2015-05-057-15/+15
| | | | Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
* loplugin:staticmethodsNoel Grandin2015-05-051-1/+1
| | | | Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
* Get rid of the initial :: for the vcl namespaceTor Lillqvist2015-04-302-3/+3
| | | | | | | | | | | We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
* Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks2015-04-284-46/+47
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
| * slideshow: convert new to ::Create to get initial ref-counting right.Michael Meeks2015-04-161-3/+3
| | | | | | | | Change-Id: I513dacfa0dd2e902437578611b6d39575f2e7314
| * Automated conversion of VclPtr construction to use Instance template.Michael Meeks2015-04-102-4/+4
| | | | | | | | Change-Id: I8be9141b9653e73ebd23a5a3d810f240c376f97e
| * Fix OutputDevice members / stack allocation: slideshow, starmath, sd, sc.Michael Meeks2015-04-102-41/+41
| | | | | | | | Change-Id: I6d6d41b8a6501ce7d35c78e5b730ea45143d6b73
| * vclwidget: convert lots more sites to use VclPtrNoel Grandin2015-04-101-2/+3
| | | | | | | | | | | | seems there was a lot of shared_ptr usage floating around... Change-Id: Icd05243170eb8493709275fc36bf986fc194b781
* | More loplugin:simplifyboolStephan Bergmann2015-04-272-4/+4
| | | | | | | | Change-Id: I5426400b0831a353336451409103ebeb01dcd946
* | loplugin:simplifyboolStephan Bergmann2015-04-242-3/+2
| | | | | | | | Change-Id: I427b32e79696bbdc521b78f4b4c1e6f4fce119a7
* | fix higher debug levelsCaolán McNamara2015-04-181-2/+1
| | | | | | | | Change-Id: I78a2b74a4e80018a8093457cb15a93d49c0ff8f3
* | remove unnecessary use of void in function declarationsNoel Grandin2015-04-1511-61/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd