summaryrefslogtreecommitdiffstats
path: root/starmath
Commit message (Collapse)AuthorAgeFilesLines
* 5th step to remove tools/rtti.hxxOliver Specht2015-11-117-8/+0
| | | | | | | | | | | tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
* starmath: Assert FindIndex()'s preconditionTakeshi Abe2015-11-101-5/+5
| | | | | | | | | by using std::assert rather thatn DBG_ASSERT. Change-Id: I8fca2b82f8d86a843c024556a0a29c7848b1e602 Reviewed-on: https://gerrit.libreoffice.org/19294 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* tdf#43090: Add option to disable auto close bracketsMarcos Paulo de Souza2015-11-1010-2/+59
| | | | | | | | | | | | | As many users asked, now there is a checkbox inside Tools->Math called "Auto close brackets, parentheses and braces". This option is enabled by default, but can be turned off now. Change-Id: I6f96201c0720fb62fc2dce99222f97194e930fbe Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/19750 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-1035-315/+315
| | | | Change-Id: Ife1eef04d905f12308b64b971176c2f045a1b268
* starmath: replace boost::ptr_deque with std::deque<std::unique_ptr>Michael Stahl2015-11-093-150/+168
| | | | Change-Id: I1d2671a0b355bd4dbb195d69af2c432c50df904e
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-069-15/+15
| | | | Change-Id: Id5b78aa78fc585a67712fa44329479a86230d194
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-052-20/+9
| | | | Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
* yyyyyNoel Grandin2015-11-042-5/+5
| | | | Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
* com::sun::star->css in starmath,stoc,svgio,svlNoel Grandin2015-10-2915-231/+223
| | | | | | | Change-Id: If4308b358a55351f6e951ebf055df076ce4ad4ce Reviewed-on: https://gerrit.libreoffice.org/19667 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:defaultparamsStephan Bergmann2015-10-205-10/+10
| | | | Change-Id: Ib596b759e876a4a7d341e1b476bfec9f7a54069e
* loplugin:defaultparamsStephan Bergmann2015-10-194-4/+4
| | | | Change-Id: I7a836a62f5614415e7aa982133ef7b34262e0bf9
* convert Link<> to typedNoel Grandin2015-10-162-17/+15
| | | | | | | Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#73691 - add alt-x support to mathJustin Luth2015-10-153-0/+76
| | | | | | | | | | At the request of bug tdf#94957, adding unicode conversion shortcut (alt+x) to Math also. Change-Id: I5b4d17543a819f035ade0d9a516eeef8542a286e Reviewed-on: https://gerrit.libreoffice.org/19323 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* convert Link<> to typedNoel Grandin2015-10-152-20/+16
| | | | Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
* Fix gb_Library_use_externals callStephan Bergmann2015-10-141-1/+4
| | | | | | | ...from d8f46f854ee64ad9fe6356a8d4b30f98f3b20135 "enable ICU_HEADER includes for starmath" Change-Id: Idcafaeb6a43c4aa423a2c7a7ea4669d4fdaf3744
* enable ICU_HEADER includes for starmathJustin Luth2015-10-131-1/+1
| | | | | | | | | | | Although $include <i18nutils/unicode.hxx> compiles on Linux, it doesn't compile on the Mac without this. Change-Id: I56eae77b1c293b2348ca1fd7b38b543ea713557d Reviewed-on: https://gerrit.libreoffice.org/19355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1225-658/+658
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-124-19/+19
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* convert Link<> to typedNoel Grandin2015-10-126-21/+14
| | | | | | | Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: Prefix members of SmNodeTakeshi Abe2015-10-092-52/+52
| | | | | | | | Change-Id: I2658b8fc9d36fe92dd91e0f5adc27612ce1dc438 Reviewed-on: https://gerrit.libreoffice.org/19268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* starmath: Represent ownership by std::unique_ptrTakeshi Abe2015-10-082-6/+4
| | | | | | | Change-Id: I7ce39cbdc0199d3508e7d16d1ce0b78f8d8ca620 Reviewed-on: https://gerrit.libreoffice.org/19230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: Prefix members of SmCursorTakeshi Abe2015-10-072-117/+117
| | | | | | | Change-Id: Ib3407b5457f4d69294c95879455553dc013cc340 Reviewed-on: https://gerrit.libreoffice.org/19186 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#94559: 4th step to remove rtti.hxxOliver Specht2015-10-066-12/+10
| | | | | | | | | | replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
* starmath: Simply add elements to the end of the vectorTakeshi Abe2015-10-051-15/+5
| | | | | | | | | No logic changed. Change-Id: I5df80d6c31f1c103c49ac4310a7d06da57d1a05f Reviewed-on: https://gerrit.libreoffice.org/19142 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: Kill c-style castTakeshi Abe2015-10-051-2/+2
| | | | | | | Change-Id: I6f65c2518b25fbe3a08070e81c33ce346ffb0801 Reviewed-on: https://gerrit.libreoffice.org/19117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: Avoid unnecessary castTakeshi Abe2015-10-051-6/+3
| | | | | | | Change-Id: I18abd676b81c714e21ad83acbe4a4163fd5830fb Reviewed-on: https://gerrit.libreoffice.org/19116 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: it is just a stack that is needed hereTakeshi Abe2015-10-021-10/+10
| | | | | | | Change-Id: I5b929a462f8084105ba6254e53e9d5bfa0a96c79 Reviewed-on: https://gerrit.libreoffice.org/19096 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* starmath: SmAlignNode has only one childTakeshi Abe2015-10-022-1/+3
| | | | | | | | | So, do not bother to extend its children array. Change-Id: I9550501469aec5c4420f127ab64003c5ab14f9c1 Reviewed-on: https://gerrit.libreoffice.org/19089 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2015-10-022-14/+0
| | | | | | | Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typosAndrea Gelmini2015-09-308-9/+9
| | | | | | | Change-Id: Ic3d2171521e308261c354d8f699b44b26c95f1ea Reviewed-on: https://gerrit.libreoffice.org/18978 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Fix typosAndrea Gelmini2015-09-302-4/+4
| | | | | | | Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* starmath: ClaimPaternity() is only for SmStructureNodeTakeshi Abe2015-09-292-10/+9
| | | | | | | | | | rather than SmNode. Change-Id: I2c4765500f077007979417b90f47cc22c6362491 Reviewed-on: https://gerrit.libreoffice.org/18917 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* starmath: tdf#93240 replace boost::ptr_vectorTakeshi Abe2015-09-292-10/+11
| | | | | | | | | with std::vector<std::unique_ptr> Change-Id: I72f96b08273c73cbd11c7796c34a45b262325209 Reviewed-on: https://gerrit.libreoffice.org/18820 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* convert Link<> to typedNoel Grandin2015-09-242-8/+7
| | | | | | | Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: Use member initialization lists for SmTokenTakeshi Abe2015-09-231-11/+16
| | | | | | | Change-Id: I3c5389135054ee866ebac3122edc71ec8c163124 Reviewed-on: https://gerrit.libreoffice.org/18785 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* starmath: Prefix members of SmErrorDescTakeshi Abe2015-09-234-13/+13
| | | | | | | Change-Id: I4910561e3671f546f2e36344016e2b50fd2a70eb Reviewed-on: https://gerrit.libreoffice.org/18788 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* convert Link<> to typedNoel Grandin2015-09-172-7/+11
| | | | Change-Id: Idc8e9b0ad0032940b98357b07f3e6caf26c5c2d7
* convert Link<> to typedNoel Grandin2015-09-172-13/+17
| | | | Change-Id: If9d4ec8d33719a76603a266c14990897fbbc11a7
* Use member initialization lists for SmParserTakeshi Abe2015-09-171-2/+3
| | | | | | | Change-Id: I421794df067314dbfc56f8651be6225bbb9683e2 Reviewed-on: https://gerrit.libreoffice.org/18659 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* convert Link<> to typedNoel Grandin2015-09-172-12/+7
| | | | Change-Id: Ied8e0b35f193770a6651f1c57dfb8eedd22d837c
* convert Link<> to typedNoel Grandin2015-09-162-11/+6
| | | | Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
* Avoid getTokenCount in SmViewShell::DrawTextMatteo Casalin2015-09-141-3/+7
| | | | Change-Id: I1a4ee666900c3c412777ea2e8c01a4f38dc58b3a
* Avoid getTokenCount in SmViewShell::DrawTextLineMatteo Casalin2015-09-141-8/+6
| | | | Change-Id: If2c059b1284257c73e64f30ffe845ee4d1ccc84d
* Avoid getTokenCount in SmViewShell::GetTextSizeMatteo Casalin2015-09-141-3/+6
| | | | Change-Id: Ic81b961ae2360ea3fe40c9e536a6f10a5788fe1a
* String tokens do not include token separatorMatteo Casalin2015-09-141-6/+0
| | | | Change-Id: I03ab73e5f53b2068efc3c4cdaed15f2ec3854c76
* Avoid getTokenCount in SmViewShell::SetZoomFactorMatteo Casalin2015-09-141-8/+6
| | | | Change-Id: Idb874a60868595ccc648da86c8bd32c28b92547b
* String tokens do not include token separatorMatteo Casalin2015-09-141-2/+0
| | | | Change-Id: Ia469f84412bdaed59b9e9eb3c8942de3d14270b9
* Update many ListBox users to its sal_Int32 interfaceMatteo Casalin2015-09-122-3/+2
| | | | Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
* convert Link<> to typedNoel Grandin2015-09-082-4/+2
| | | | Change-Id: I1140910c8e90a3022cc88ff33fa37db62007b745
* Fix harmless, historic mis-mergeStephan Bergmann2015-09-071-2/+0
| | | | | | | | | ...between 6037a79c3791e41578c384481acec48904951ae0 "cws tl82: #i74049# math symbols should be able to handle 20 bit Unicode characters (surrogates)" and a93c9517dc52b1d9c22a0e69f9d92c119983f7fe "Removes a fair amount of BOOL variables in starmath." Change-Id: Id146defb7231458b945629d4e4dcb7fc8de69f0e