summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)Author
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: 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>
2015-06-16Fix typosAndrea Gelmini
Change-Id: Ieaf67cf597e05dbae5affa153af907fda4462a41 Reviewed-on: https://gerrit.libreoffice.org/16295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-06-15cppcheck: silence bogus unusedScopedObjectCaolán McNamara
Change-Id: I033b9e141bde73820972f285e97f5c14d60b1a43
2015-06-15starmath: dispose SmEditController object correctlyLászló Németh
Change-Id: I5d44ff6d514d2e40df23f6c419463b980f39d2c7
2015-06-09cppcheck: variableScopeTakeshi Abe
Change-Id: Id3c2a7f95f4bbcb32203bb4df3610aacfc837a49 Reviewed-on: https://gerrit.libreoffice.org/16189 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Ife37243f051e23ebdd5d8d8692b59a748d491a26
2015-06-08cppcheck: noExplicitConstructorTakeshi Abe
Change-Id: If888f3e0293565ea23158defbb6ac7553226a08f Reviewed-on: https://gerrit.libreoffice.org/16147 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-06-08Unused includesMiklos Vajna
Change-Id: Id8aa8edf775d27ad3ed9fd2370268faf2d7325a6
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin
Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-02loplugin:loopvartoosmallNoel Grandin
Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
2015-06-01tdf#91053 cleanup bogus member ...Takeshi Abe
This replaces pAccessible/xAccesible with a rtl::Reference<<SmEditAccessible>. Change-Id: I7d00acd75fc9598cb7a5ad57357de36877275ad6 Reviewed-on: https://gerrit.libreoffice.org/15987 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-27drop useless field bIsDebugTakeshi Abe
Its last usage was gone with d82fc206c5d27191bc47adc486cf32442908f62d. Change-Id: Ia891dd860edc305689804d02d4c74aa41804e484 Reviewed-on: https://gerrit.libreoffice.org/15911 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-26kill forgotten, unused TDEBUG tokenTakeshi Abe
I remember that, before LibreOffice 4, "MZ23" used to be a magic string which we could not see in the preview window as if there was no node. Change-Id: If80b77e1e24a2c5f8b3528fac8e9209b8c0b5954 Reviewed-on: https://gerrit.libreoffice.org/15893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-26loplugin:unnecessarysuperclass, merge SmMathConfig with SmConfigNoel Grandin
Change-Id: I2c431e9f72f5dee14cf1b603b11972a2e9d88725 Reviewed-on: https://gerrit.libreoffice.org/15902 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-19Update Apache Bugzilla’s URLAdolfo Jayme Barrientos
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2015-05-18Remove include stdio (part2)Julien Nabet
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl
- Move vcl::RenderContext to outdev. - Change some methods on vcl::Window to accept RenderContext as parameter. - Add ApplySettings to vcl::Window - This method is called before painting. Refactor existing classes that use InitSettings to have ApplySettings or mark the classes to be refactored later. - Add RenderSettings for adding defered settings to rendering. This is similar to ApplySettings but for more ad-hoc calls. Change-Id: I4ea58461f3b6b08ccfa3e0ddd1a4a3e04f8c4f45
2015-05-15fix starmath testsTomaž Vajngerl
Change-Id: I0fc6fc4a1ce71507f97797dcfe77a6d5b21e4b80
2015-05-14more refactorings in starmath dialogs..Tomaž Vajngerl
Change-Id: I24b6584a72b4a8db031d9bf8906d8682e32e4545
2015-05-14SmShowFont: change to save the font and use it in Paint + HiDPITomaž Vajngerl
No painting should be performed outside of Paint hierarchy. Change-Id: I97a8d6429abcd6022e9bf89295dc2944485984eb
2015-05-14cleanup starmath view/documentTomaž Vajngerl
Change-Id: Ieda85c0f157a6b299ba10528dd3cee3fe9942783
2015-05-14refactor starmath view/edit classes to use RenderContextTomaž Vajngerl
Change-Id: I741e596a665119b50597586e9b0b5e8339a826ae
2015-05-14refacor starmath dialogs to use RenderContextTomaž Vajngerl
Change-Id: I077fb1fbb3a5b55c50b61235ef9f0315c342faa4
2015-05-14refactor ElementsDockingWindow to use RenderContextTomaž Vajngerl
Change-Id: I3a37883fc7688d4edd978e38e545e2386ae814b0
2015-05-13tdf#68871 Nuke old Elements box from menu, rename new paneAdolfo Jayme Barrientos
Change-Id: I22301e72a8cb8d11ad35ea63e6361b56e7c7e867
2015-05-13convert FRAME_DRAW constants to scoped enumNoel Grandin
Change-Id: I98e52aa56ec063ecc8f3d10baef65eb293c726bf
2015-05-12tdf#68871: Remove the old Elements panel from MathJulien Nabet
Conflicts: starmath/inc/toolbox.hxx starmath/source/toolbox.cxx Change-Id: Ie148d57dc14ed3f38566c24ee027f23e25987810 Reviewed-on: https://gerrit.libreoffice.org/15599 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-12Switch VclBuilder constructors to use VclPtr.Michael Meeks
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
2015-05-11Switch VclBuilder constructors to use VclPtr.Michael Meeks
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-11tdf#91052 - more macros for 'make' constructors.Michael Meeks
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
2015-05-11sw,sc,sd,starmath: convert to vcl::RenderContextNoel Grandin
Change-Id: I5d0a3b8ed1c49ba2806e0fa528d908da45afd58c
2015-05-10No more need for EMPTYARG in C++11Stephan Bergmann
Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorageRef aliasStephan Bergmann
Change-Id: Icd1bf88cefac929916ece9a30b9b65c5297ec2a3
2015-05-07Remove SvStorageStream aliasStephan Bergmann
Change-Id: I9d835e6032e2366e5357240609ff0e60273d475b
2015-05-07Remove SvStorageStreamRef aliasStephan Bergmann
Change-Id: Ic25c39adf8796bb433fa7746f53a68e3e2bfd228
2015-05-07drop unused debugging ColorCaolán McNamara
Change-Id: I02fc8f71543e7fda48fbbce131abd172c8c03259
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a