summaryrefslogtreecommitdiff
path: root/starmath
AgeCommit message (Collapse)AuthorFilesLines
2014-02-07coverity#708822 unused pointer valueNoel Grandin1-3/+2
Change-Id: I6797d11a09baa4f86826d8740301bb8d66bb247a
2014-02-03fdo#74455 - hide direct printing button and replace with new print dialog.Michael Meeks1-1/+2
Change-Id: I7ae80079f4bd5fed1234753b521a680498ec43e1
2014-02-03xub_StrLen and tools/string.hxx final strawNorbert Thiebaud2-33/+33
Thre is still some 0xffff limit left and possibly some less than gracefully handled overflow/error cases Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638 Reviewed-on: https://gerrit.libreoffice.org/7787 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-01-30fdo#63154 Removed unused solar.h ref. in linguc., sfx2, starmath, svl and svxAlexandre Vicenzi1-10/+0
Change-Id: I241661119371b75804fcf9215ff5e5da2a5b9265 Reviewed-on: https://gerrit.libreoffice.org/7732 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-28bool improvementsStephan Bergmann8-20/+20
Change-Id: I3f0749caeae8a772e6fb668eefc9d8784e7f22b5
2014-01-28coverity#705892 Dereference before null checkCaolán McNamara1-2/+2
Change-Id: I8dddc52e5b9af2f97bb41aec6e666d0ae0fcbbb5
2014-01-27coverity#1038499 : Uninitialized scalar fieldNorbert Thiebaud1-5/+6
Change-Id: I51b25a89a6f5184516a17819673e9b52c781eb09
2014-01-27coverity#1038500 : Uninitialized scalar fieldNorbert Thiebaud1-19/+18
Change-Id: I9cc5df332b9bdff59e78a7779496575d44351319
2014-01-27coverity#1038501 : Uninitialized scalar fieldNorbert Thiebaud1-0/+5
Change-Id: I6449fcdfd12355713f07a751f2e95883c7c76bce
2014-01-23Let C++ inline functions return bool instead of sal_BoolStephan Bergmann1-2/+2
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Missing overloads of insert() for bool have been added to OStringBuffer and OUStringBuffer (which required dropping one !VALID_CONVERSION check that would now pick that overload, but would be flagged by compilerplugins/clang/pointertobool.cxx). Change-Id: I2d64cd923b8f47bfaa31e753def6515c29a3f8c9
2014-01-22remove SvStream::operator<< methodsNoel Grandin1-8/+8
.. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-20Related: #i121289# printer options should have SID_SAVE_ONLY_USED_SYMBOLSTsutomu Uchino1-0/+1
(cherry picked from commit 5c6ef989906c6aa51b2e3702bac0323ef97e9f2d) Change-Id: Ida372f0558fd7e5cdb9c98384c21544e197f88a9
2014-01-20Remove space before percent signKhaled Hosny1-3/+3
Seems to be merge artifacts in 260df50ae67e0d9f9d80e0686e6a12903c53c130. Otherwise, I really like how Caolán implemented this in a proper, per-locale way. Caolán, you rock! Change-Id: I42e70b240fdf013316ad282e70b8e42eec8225a8
2014-01-20Related: #i56998# use FUNIT_PERCENT instead of FUNIT_CUSTOM...Tsutomu Uchino2-5/+4
with percent CustomUnitText on metric fields (cherry picked from commit 4f5b26a97dbaef964af1fe323f24109b987cb952) Conflicts: chart2/source/controller/dialogs/tp_3D_SceneGeometry.src chart2/source/controller/dialogs/tp_SeriesToAxis.src cui/source/dialogs/zoom.src cui/source/options/optgdlg.src cui/source/tabpages/autocdlg.src cui/source/tabpages/backgrnd.src cui/source/tabpages/chardlg.src cui/source/tabpages/grfpage.src cui/source/tabpages/numpages.src cui/source/tabpages/paragrph.src cui/source/tabpages/tabarea.src cui/source/tabpages/tabline.src cui/source/tabpages/tparea.cxx cui/source/tabpages/tplnedef.cxx sc/source/ui/pagedlg/pagedlg.src sd/source/ui/animations/CustomAnimationDialog.src starmath/source/dialog.cxx starmath/source/smres.src svx/source/dialog/fontwork.cxx svx/source/sidebar/area/AreaPropertyPanel.src svx/source/sidebar/graphic/GraphicPropertyPanel.src svx/source/sidebar/line/LinePropertyPanel.src svx/source/tbxctrls/fontworkgallery.src sw/source/ui/frmdlg/column.src sw/source/ui/misc/pgfnote.src Change-Id: I8acc5f7fc80d4366750ad38fabbf49b02f013f7c
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin1-295/+295
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-09Consolidate XServiceInfo for classes derived from SvXMLImportStephan Bergmann2-34/+6
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
2014-01-08Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann2-37/+9
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin1-2/+2
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-06Typo fixes in Math tooltipsAndras Timar1-19/+19
Change-Id: I7623fd53dd60fdfd9afb99135b79adfb434aa72a
2014-01-04Resolve fdo#72632 by adding missing breakArnaud Versini1-0/+1
Change-Id: I7e27b685f2e6e1e1b96aee907f4c634252b0e17b Reviewed-on: https://gerrit.libreoffice.org/7270 Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org> Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2013-12-31starmath: whitespace fixes in wordexportbaseMiklos Vajna1-115/+115
Change-Id: Ie0756d882347912f4beb38dde25ff6d598766a7b
2013-12-29starmath: whitespace fixes in rtfexportMiklos Vajna1-173/+181
Change-Id: Ia27b17b39b2e69f1e397f7f38a2e7a81058dac2f
2013-12-28fdo#73008 enable localization of tooltips in Math Elements DockAndras Timar1-224/+896
Change-Id: Ia30f9884bd95c14116bc52f0c4cf7107f2238653
2013-12-20typo fixesAndras Timar1-1/+1
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2-4/+4
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in OUStringBuffer::append callsNoel Grandin1-1/+1
Convert code like aStrBuffer.append(OUString(" AS ")); to aStrBuffer.append(" AS "); Change-Id: I8c1884b5a875f40f0b5e511b6ef38c6c8eeee656
2013-12-17remove unnecessary double calls to OUString constructorNoel Grandin1-4/+4
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-17fdo#61638 SmParser::NextToken: don't crash on ending dotMiklos Vajna1-16/+22
Change-Id: Ia9c168e52a99286910c9e63e0e052671c5259ba8
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-1/+1
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-12simplify - use OUString::startsWith where possibleNoel Grandin1-1/+1
Convert code like if( !aStr.isEmpty() && aStr[0] == 'x' ) to if( aStr.startsWith("x") ) Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann3-87/+87
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann3-87/+87
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann3-87/+87
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-09fdo#54938: Convert starmath to use cppu::supportsServiceMarcos Paulo de Souza2-12/+5
Change-Id: If5ba86d421ce876071df39ce8dec1bebe7ebae81 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-12-05typo: Align Right -> Align LeftAndras Timar1-1/+1
Change-Id: I8a347394bff7767a8d2b1b548ea9d9b8848bb1ae
2013-12-05Remove obsolete SEQTYPE workaroundStephan Bergmann1-9/+1
Change-Id: I366b29038be034b03a16fa6d7f6873dc78d8d88f
2013-12-03Revert "fdo#67862: Add greek symbols to docking window"Thomas Arnhold4-219/+1
This partially reverts commit e9a7ff1a5ba9d5ba34eeca9d622d8a3a9c68ade8. Leave the SAL_N_ELEMENTS changes in. I forgot about the translation of those symbol names. The en-US %alpha is %alfa in pt-br. See starmath/source/symbol.src. One list get's translated, the other not. For UI purpose GetUiSymbolName gives the tranlated one and for export GetExportSymbolName gives the untranslated english string. Feel free to implement this or maybe drop the translation of those symbols. Conflicts: starmath/inc/starmath.hrc Change-Id: I74d667a727536e1caf35f32af6a5c9cc64ca7015 Reviewed-on: https://gerrit.libreoffice.org/6884 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-12-03fix spelling delimeter -> delimiterNoel Grandin1-2/+2
Change-Id: I12a330e922f8f6ffe9c746a26e5b32c0bbae626a
2013-11-30mark non-translatable .ui strings explicitely as suchAndras Timar1-4/+4
so bin/ui-translatable.sh will not find false positives Change-Id: I35e98ba22ba8c0cc9bbf0de40b31be421acc4c15
2013-11-27no need to escape tilde in glade dialogsChristian Lohmaier1-1/+1
Change-Id: I7a7c059c7a6925204aeef19c3640d9ffbff4e6de
2013-11-26Integrate branch of IAccessible2Steve Yin2-5/+5
WaE: Reorder initializations to prevent compiler warnings. (cherry picked from commit c05431aa92fa2c7c7258418a6ecd651b5c26d982) WaE: unname unused variable to prevent compiler warnings. (cherry picked from commit 2259256a390c4b6f83cfb5dbe4a65df5032aee47) Conflicts: editeng/source/accessibility/AccessibleEditableTextPara.cxx ad61537527a74670af266feb9e4d26d2d654daf7 66044902b8d94fc15d4c30270e6cc419fb7d3565 Change-Id: I3ec9798f2c7d854824722c0cf44b62128b4f4cb4
2013-11-25Fix some typos for "Right"Julien Nabet2-3/+3
Change-Id: I6bcdb57ab45d5571bde53a6c43fe104551197086
2013-11-23widht -> widthJulien Nabet1-1/+1
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-1/+4
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-11-14starmath: Elements dock: add missing reverse circumflexThomas Arnhold2-1/+2
Change-Id: I63c7caec6c2c630cf1ce67a4e0f71694475e83bc
2013-11-14starmath: Elements dock: add missing scalable bracesThomas Arnhold2-4/+5
RID_SLRBRACEX was missing in the Elements dock. Change-Id: Id8b2035b603938dea774ac2cfe1ef5aaff4dae54
2013-11-14starmath: use global resource stringThomas Arnhold5-129/+60
In favor of many getters and setters :) Change-Id: Ibdfe6e2cb70ec2e743def2f898c1b56713af2661
2013-11-14starmath: some improvementsThomas Arnhold1-16/+16
Change-Id: I9dbeb16a527094bb8b32f8b8926f2a511e6190ba
2013-11-14fdo#71580: Elements dock: Alignment items are missingThomas Arnhold4-8/+37
Also add << and >> to the Elements dock. Change-Id: Id58d64c8ab938259e84ce1a178644c6d4a6ee95d
2013-11-14starmath: remove unused resource idsThomas Arnhold1-8/+0
Change-Id: I9dee3cf5591df19cd0189e32ae7be024b07020f3