summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)AuthorFilesLines
2013-11-11remove unnecessary use of OUString constructorNoel Grandin2-6/+6
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-07fdo#65588 - Elements Dock: Scrollbar moves into input windowJosé Guilherme Vanz1-0/+10
This change "solves" the visual problem. But I don't think so this is the best solution Change-Id: I658f7a4182578e49644ae6de281f221499d61ad3 Reviewed-on: https://gerrit.libreoffice.org/6602 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2013-11-05fdo#67862: Add greek symbols to docking windowThomas Arnhold4-12/+231
Those were already present at starmath/source/symbol.src and are merged to the docking window now. Also make use of SAL_N_ELEMENTS. Change-Id: I3e1f082082763168e731c3771c0b71467d095eba
2013-11-05Resolves: fdo#58094 don't crash on attempting mml importCaolán McNamara2-3/+5
Change-Id: I812f2b3e333ea59e9ebfc75a854faca050af8711
2013-11-04remove redundant calls to OUString constructor in if expressionNoel Grandin2-2/+2
Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-03fdo#65586: Add tools tips in Math Elements DockMarcos Paulo de Souza4-148/+641
Change-Id: I304ba9fe0a97f85424d0eb0ee87bf3b4b58179f4 Reviewed-on: https://gerrit.libreoffice.org/6540 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2013-11-03WaE: unused variable 'sExpected' [loplugin]Tor Lillqvist1-1/+1
Change-Id: I32d774640602566c23303a9816fa3c5926449781
2013-11-03improve starmath test codeMarkus Mohrhard1-32/+8
Change-Id: Ife7e1306ce65dc1d935181553803fbc9266b628c
2013-11-02starmath: Check for text length.Jan Holesovsky1-3/+3
Fixes fdo32667-1.doc. Change-Id: Ibe7a9ca83b65e7b13c6b315f1b771f50f0b6fc7a
2013-11-01convert math font dialog to .uiCaolán McNamara6-161/+293
Change-Id: Ib7bf087664b6c8491872dfa37c750485fedabbe2
2013-10-29cppcheck: duplicate break or break which follows a returnJulien Nabet1-1/+0
Change-Id: I0985d28289e31969cb9b048b221abfae1572025d
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza1-10/+2
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b Reviewed-on: https://gerrit.libreoffice.org/6406 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23clean up some include guardsThomas Arnhold2-5/+5
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23starmath: fix include guardsThomas Arnhold32-67/+67
Change-Id: I4f4bd88e8be1f2745ec8c96793a43d93e3f733b4 Reviewed-on: https://gerrit.libreoffice.org/6389 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23convert code to use OUString::endsWithNoel Grandin1-2/+2
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-18random OUString to String conversionsNoel Grandin2-4/+4
Change-Id: I9cfb8e7183b9cce7c690f3a43a64b61a2aa8c754
2013-10-09More OUString::copy out-of-bounds fixesStephan Bergmann1-10/+10
Change-Id: I45762d167d04252e32155a7b23a3290688bccdf6
2013-10-03CID#735395 potential memory leakCaolán McNamara5-9/+14
Change-Id: Ica07e23920d751757ab5d14d5216615d5fcdbfd9
2013-10-03CID#736482 fix leakCaolán McNamara1-1/+3
Change-Id: I51c1e553339810f7de61c2c4a506482339829b31
2013-10-02More SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around std::auto_ptrStephan Bergmann1-0/+2
...as needed by Clang trunk towards 3.4. Change-Id: Ibbfe9cb0ec03e0aed939d769feee9e046af4741f
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-8/+8
Change-Id: Ic37531aa2fe9b0098cf8b027275d314607208154
2013-10-01Add sanity check to avoid crashTor Lillqvist1-0/+1
I got a crash when saving doc from fdo#45349 as .fodt. Change-Id: I704d86e846e78848d914de7b48da6c9fa4075150
2013-09-27cppcheck: redundant conditionJulien Nabet1-1/+1
Change-Id: I751b5c11d51068dd019a74ea29bd3bf9cf9ba51d
2013-09-26typo fixes in commentsAndras Timar2-2/+2
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-22ensure OUString::copy is within boundsCaolán McNamara1-1/+1
Change-Id: I7b8c2e764da01e38fb9f7048bcaeca93a72fafa3
2013-09-22gbuild: add gb_Library_use_restargetMichael Stahl1-2/+1
Change-Id: Ic0a2fd3c1adeb55ec27f6a2eb4709be598120fba
2013-09-20indent: Just some indenting for better readingAndres Gomez1-65/+65
Change-Id: Id840dd00c71afc1930e6bb9b634e888b88fe7391 Reviewed-on: https://gerrit.libreoffice.org/6001 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-20uno: new InteropGrabBag UNO prop in OfficeDocumentAndres Gomez1-1/+17
Added the new InteropGrabBag property to the OfficeDocument service and modified the JUnit UNO unit tests for it. Added specific implementation in the sfx2 module for the SfxBaseModel class. Added specific inherited implementations in the sc, sd, starmath and sw modules for the ScModelObj, SdXImpressDocument, SmModel, and SwXTextDocument classes. This new property is intended by now for its usage on preserving OOX's theming although the aim is to be able to re-create the theming in the future from saved properties. It could also be used for preserving other attributes for interoperability among document formats. Change-Id: Ia822856293c70ae22911afa794e3e38bcaa31f86 Reviewed-on: https://gerrit.libreoffice.org/6000 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-19fdo#65586: Add tooltips to Elements Dock in MathMarcos Paulo de Souza1-0/+4
Change-Id: I54b201834989752460e4b12bc3ac0afd69a9a5be Reviewed-on: https://gerrit.libreoffice.org/6007 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-19OUString::copy second arg is len, not indexCaolán McNamara1-2/+2
Change-Id: I54729ad816efd4e51e13c0a2985c591920750d59
2013-09-18Math: fix name's typo of Magenta color in sidebarMarcos Paulo de Souza1-1/+1
Thanks a lot Gerry for noticing this! Change-Id: I24340e751b476e998ba64402719802aa244de00f Reviewed-on: https://gerrit.libreoffice.org/5986 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11fdo#69111: Set edit window border to 4 again.Thomas Arnhold1-3/+6
But increase the border on top to tear of the edit window easier. Change-Id: I527ede488e4773dd631182d73809fef916b52c1a
2013-09-09OSL_ENSURE -> SAL_WARN_IFThomas Arnhold7-63/+62
Change-Id: I2807797c6906ae5aaa8aabf7298df5fd8604e96a
2013-09-09Math: OSL_FAIL -> SAL_WARNThomas Arnhold17-121/+106
And some cleanup. Change-Id: I2e5239a6f7d0dca5855b80752deae6be27c21af6
2013-09-09Math: Clear up the purpose of both listsThomas Arnhold1-0/+4
Change-Id: Ic19148fbcff40fae6b06e21cae26f0bce0dde5fc
2013-09-08Math: Further cleanup and realignmentThomas Arnhold5-269/+28
Change-Id: I8cf6265c02db03585aaa86e137e328317f995e4d
2013-09-08Math: Remove obsolete GetConversion()Thomas Arnhold2-115/+6
CONVERT_NONE is the default case, as SetConversion() gets never called. We dropped the support for legacy filetypes with 4.0 anyway. Change-Id: Ic49ae7b53497e8198c8b61eab0b0cdc120c2bdd7
2013-09-08Revert "Math: Remove not needed header file"Thomas Arnhold2-8/+37
This reverts commit 5ab959017665e3f74ec4be8245827f3de92dd512.
2013-09-08Math: Remove not needed header fileMarcos Paulo de Souza2-37/+8
This header is used in just one place, so move all used data to that file. Change-Id: Ic3927c2bd91f71c8800f5af298de3ed640d2c263 Reviewed-on: https://gerrit.libreoffice.org/5832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar1-1/+1
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-06fdo#68956: Be safe and warn if there are other users of GetText()Thomas Arnhold1-1/+1
Because GetText() now returns a value. Change-Id: Iafee193771a56b2b3c25f8655fa35a66f31eebe8
2013-09-05update pchThomas Arnhold1-2/+4
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05fdo#68956: fix string conversionThomas Arnhold2-3/+4
Added the SetText method to make it absolutely clear. Regression from 150c9f8bbcffacc687a5603e2a589d2a3816dccb Change-Id: I4e9935fd13fca8f9cfdfda65c980d08b1e85b459 Reviewed-on: https://gerrit.libreoffice.org/5819 Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-05String to OUStringThomas Arnhold8-95/+84
And removed nearly all xub_StrLen in starmath. Some sal_uInt16 which were xub_StrLen before 9a0d753b84aed53083bed3ed460308b771f432a8 are also converted to sal_Int32 where applicable. Change-Id: I31d7794f4c7aa840545edff41a102b76bb39e042 Reviewed-on: https://gerrit.libreoffice.org/5817 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-05String to OUString for SmDocShell::ReplaceBadCharsThomas Arnhold1-18/+11
And simplify a little bit. Change-Id: I3b3cf2ea29f59f173e74b59a8e999f19f86e9a0a Reviewed-on: https://gerrit.libreoffice.org/5818 Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-04Some more fixesThomas Arnhold1-7/+7
Forgotten in 150c9f8bbcffacc687a5603e2a589d2a3816dccb Change-Id: I177c3bcb15bf789a68b8758a8a545d4c6bdf5d85 Reviewed-on: https://gerrit.libreoffice.org/5820 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-04remove intermediate Strings on res loadingCaolán McNamara4-9/+9
Change-Id: I5ae2f445bb2c0e3fa3dd42f972dae54dfee42cc8
2013-09-04String to OUStringThomas Arnhold18-132/+128
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166 Reviewed-on: https://gerrit.libreoffice.org/5790 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-03fdo#68877: Select "<?>" as Elements window doMarcos Paulo de Souza1-2/+22
Elements Dock needs to have the same behavior of Elements window. After insert some symbol, if this symbol have some placeholder, select the first placehold to user put some data. This increases usability of Elements Dock. Change-Id: Idc57cc6817d94f698632eb938600a55c8f9afbd8 Reviewed-on: https://gerrit.libreoffice.org/5780 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>