summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)AuthorFilesLines
2015-02-15boost::scoped_array->std::vectorCaolán McNamara2-15/+12
Change-Id: I21aa10e1b4b0aa301f8b3022585e148fb727fbc9
2015-02-14boost::scoped_ptr->std::unique_ptrCaolán McNamara7-63/+59
Change-Id: I0f9d93e945ec554e9ea89621ecd30f683f3f184c
2015-02-12Math: Make use of officecfg API and remove unneeded codeMarcos Paulo de Souza2-102/+28
Change-Id: I8b747588ebde70e322b8e6719fb7e2cf789e8a99 Reviewed-on: https://gerrit.libreoffice.org/14347 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-11coverity#1267649 Logically dead codeCaolán McNamara1-3/+9
and coverity#1267645 Logically dead code coverity#1267651 Logically dead code Change-Id: If92e17708576bf11cefc28f903a24ad271b826c8
2015-02-09Mark it as staticTakeshi Abe1-1/+1
Change-Id: I3193c5b7181f61a9047985f115d2ea49c683cb73
2015-02-07loplugin:deletedspecialStephan Bergmann2-40/+11
Change-Id: I74b07d7e6f38753dfba3d4c89ee6f7f106b2e564
2015-02-06coverity#1267644 Logically dead codeCaolán McNamara1-5/+3
Change-Id: Ida19552cd9163507bea36a189811fdf8c152cae6
2015-02-05Updated all precompiled headers.Ashod Nakashian1-1/+5
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03starmath: Refactor common code inside cfgitemMarcos Paulo de Souza1-138/+82
using initializer_lists with Sequences Change-Id: Ic6177f99b6c083710135348039958d72a6faf327 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara4-18/+0
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-27Fix a single quote slipped inTakeshi Abe1-1/+1
See void SmNodeToTextVisitor::Visit( SmFontNode* pNode ) for comparison. Change-Id: Id7e58fef3b715ef2a4bcb4e1a1d390aadf917b5f Reviewed-on: https://gerrit.libreoffice.org/14193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-26fix coverity#1266487Caolán McNamara2-8/+8
Change-Id: I414dae9b5de83d0e0f9c3195262995cf0f4fd3e2
2015-01-26coverity#1266461 Improper use of negative valueCaolán McNamara1-0/+2
Change-Id: I4f78617129de21f7088d6f0d8b781674faa6b45a
2015-01-26coverity#1266487 Use of untrusted scalar valueCaolán McNamara1-1/+1
Change-Id: I6de5b1e4d363063ec5d9e471c40cf1f943468634
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin1-4/+4
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin3-7/+7
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-24Typo: syncro->synchroJulien Nabet1-1/+1
Change-Id: I0a377f3686e0f8d8f576aacbee49a392b039d3a5
2015-01-21Some more loplugin:cstylecast: starmathStephan Bergmann1-9/+8
Change-Id: I0d1c743343d8f84c0491957ad43d8b16d9490622
2015-01-17Drop unused inline functionsTakeshi Abe2-4/+0
Change-Id: Iba54fb717b4337ffe255d849a1c073f7baf7c921
2015-01-15remove unnecessary castsNoel Grandin1-287/+286
leftovers from conversion of SvStream operator>> to Write methods Change-Id: Id1d1e60ae42afb689910845a3c6ec75e3388fb56
2015-01-15protected -> privateTakeshi Abe1-1/+0
Change-Id: I199f4cd8897e3fa7b794f3d6d96077e98ccff51e
2015-01-15no need to compare it with trueTakeshi Abe1-1/+1
Change-Id: I9c825663508abdc7efa9cf2801770acc2b79174a
2015-01-13fdo#70185: starmath: unit test writingTakeshi Abe8-2/+226
This adds a unit test of importing a simple MathML file. New smdllapi.hxx defines a macro SM_DLLPUBLIC to turn on visibility of symbols required from a CppunitTest. Change-Id: I4f72d7d8f2766751580e5bde7dac4870e8dad62a Reviewed-on: https://gerrit.libreoffice.org/13861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-01-12convert SETTINGS_ #defines to 'enum class'Noel Grandin2-4/+4
and dump the ones that nothing is listening to Change-Id: I253ef284df785812a439dd160edba1b07fdbaac4
2015-01-12fdo#84938: replace DATACHANGED_ constants with 'enum class'Noel Grandin2-4/+4
and drop DATACHANGED_DATETIME because no-one is using it Change-Id: Id5ac9a7fbba0e35501ed82e5252f66858621f7ff
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl1-1/+1
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin2-9/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin3-3/+3
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-06fdo#84938: convert EXPORT_ #defines to 'enum class'Noel Grandin2-9/+9
Change-Id: I2ed239fa073b5fa8fb56c1af9d4b0bac89acfacf
2015-01-06fdo#84938: convert IMPORT_ constants to 'enum class'Noel Grandin2-5/+5
Change-Id: Idaa8f07c62b3ba93c27ca5fe286720254baac10d
2015-01-05fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'Noel Grandin2-3/+3
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
2015-01-03drop unused includesTakeshi Abe2-4/+0
Change-Id: I6652b45a6010a05b59c1f87faaf7c06318f91fc1
2015-01-01starmath: boost::shared_ptr to std::shared_ptrTakeshi Abe2-3/+4
Change-Id: Id077493f9e462a00c427bc493f823fed79617c07
2014-12-30drop an unused defineTakeshi Abe1-1/+0
Change-Id: I8d34dd364de81c7adeddfd3a8ff0fb8c8b08a5d4
2014-12-28kill unused CMD_SID_* definesTakeshi Abe1-4/+0
Change-Id: If263d1e8f5852c03d57c3378084570cfcbb134ce
2014-12-23fdo#39440 reduce scope of local variablesMichael Weghorn1-1/+1
This addresses some cppcheck warnings. Change-Id: I404f121ee2e5020359a662f54ffe341f466cd1d5 Reviewed-on: https://gerrit.libreoffice.org/13608 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-22prefer constant to macroTakeshi Abe1-3/+3
Change-Id: I5e629491b5be9e2de1f72fdbe6887038305d0742
2014-12-18starmath: Use appropriate OUString functions on string constantsStephan Bergmann4-7/+7
Change-Id: I474eef1f76e171c5a016dd0b1fe225dcaeeb0eda
2014-12-17RID_CMDBOXWINDOW is so hacky and src entry so small just hardcode in cxxCaolán McNamara2-26/+6
Change-Id: I63e97e91792fcf2bf8758a1444bb29e3c1ccd541
2014-12-17try to get reasonable sizes for docking windowsCaolán McNamara1-1/+1
start docked, move to undocked start undocked, move to dock, back to undocked start undocked, with and without size saved in settings and restored Change-Id: I0bfdceb11aabdf9fdb855b97433b2af0532e4d03
2014-12-17implement loading docking windows from .ui formatCaolán McNamara6-58/+94
Change-Id: I90375232aefbe40412614ca0f30ba467cf393f2e
2014-12-16Omit unused default valueTakeshi Abe1-1/+1
Change-Id: I2b703312ddff29772b31cf74ab6408dbbe90a5db
2014-12-15starmath: Use appropriate OUString functions on string constantsStephan Bergmann2-7/+7
Change-Id: Iff85fd325211708591c289d083cf3d0ee4269634
2014-12-11Remove resizable:False property from dialogs containing GtkEntry.Jan Holesovsky2-2/+0
As agreed with Adolfo (and others) at the Design hangout on 2014-12-10. Change-Id: Ibe0e8075566523e746866b9d2c15c348c345d2df
2014-12-10Typo: postion(s)=>position(s)Julien Nabet1-1/+1
Change-Id: Id2957f1cb68fc4b2fef9966abeb6745b548bcb75
2014-12-09changed timers to idlesTobias Madl2-20/+20
Change-Id: Ic0d7730f7880dfe2e83c84e773b8cc420249b269
2014-12-09capitalize Infinite tooltip in Elements panel of MathStanislav Horacek1-1/+1
Change-Id: I6bb19e199c1014536e967d427b966afd8ecd0302 Reviewed-on: https://gerrit.libreoffice.org/13345 Reviewed-by: Wesley J. Landaker <wjl@icecavern.net> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-04-Wunused-macrosTakeshi Abe1-2/+0
Change-Id: I40aa11584b76ea2e3d4e0d13690893e340229172
2014-12-03loplugin: cstylecastNoel Grandin20-79/+80
Change-Id: I759f55218538c8d39018626f14e78cd56341d44b
2014-12-01fix the order of arguments: expected and actualTakeshi Abe1-28/+28
Change-Id: Ie7c1dce636df2891f1888aa95cec6d37ed0380b4