summaryrefslogtreecommitdiff
path: root/editeng/source
AgeCommit message (Collapse)AuthorFilesLines
2015-01-20Some more loplugin:cstylecast: editengStephan Bergmann2-3/+3
Change-Id: I047212dfd7ae330d6cd8149e3c7110d67b9e79e9
2015-01-17Factor out SvxULSpaceItem::dumpAsXml() from swMiklos Vajna1-0/+12
Change-Id: I52d7a7aaf304b7d698705cda7d3e70e723811fb2
2015-01-16loplugin:implicitboolconversionStephan Bergmann1-3/+3
Change-Id: I31e3753c722f98cd7b6ffbf87839bbea8de4b740
2015-01-16Factor out SvxLRSpaceItem::dumpAsXml() from swMiklos Vajna1-0/+17
Change-Id: Id28c3e1617f2e73c36f13b506488d401a22b00a8
2015-01-16remove unnecessary parenthesesNoel Grandin3-26/+26
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-15loplugin:implicitboolconversionStephan Bergmann1-2/+2
Change-Id: Idbee7d8c96082a88c9653556ec7f88f4e7ced973
2015-01-15remove unnecessary castsNoel Grandin1-4/+4
leftovers from conversion of SvStream operator>> to Write methods Change-Id: Id1d1e60ae42afb689910845a3c6ec75e3388fb56
2015-01-14classic draw rectangles "fit to contour" utterly brokenCaolán McNamara1-1/+1
regression from commit 3cbfcee36dd16e451d76c561eaaaee0ff29b01a5 Date: Sun Feb 2 22:16:48 2014 -0600 xub_StrLen and tools/string.hxx final straw There is still some 0xffff limit left and possibly some less than gracefully handled overflow/error cases Change-Id: I82bdcb6951c42fdcaa68808a251f9b2f76f8ed0b
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin2-2/+2
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-13debugging assert about unsorted properties on loading ooo59216-14.odsCaolán McNamara1-0/+4
Change-Id: I30e7dcddcce188edef0d2affb148a3dba6f62c1d
2015-01-12Factor out SvxProtectItem::dumpAsXml() from swMiklos Vajna1-0/+10
Change-Id: I780afa7c5faa0f594257200c5c2c132cc49388b6
2015-01-12no need for DeletedNodeInfo class to be type unsafeNoel Grandin4-11/+11
Change-Id: Idab8eacf8fa06d902c9186995b249e871bc54067 Reviewed-on: https://gerrit.libreoffice.org/13860 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl2-2/+3
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-07fdo#84938: convert COMPRESSMODE_ #defines to 'enum class'Noel Grandin1-1/+1
Change-Id: Ica501fc73e7e5f9dbd30dd9da3f337b2dc7e6f02
2015-01-07fix windows buildNoel Grandin1-1/+1
and a handful of other currently uncompiled spots, after my commit 7f8f277b94704a289fbbd1b836e4e5d66311580d "fdo#84938: convert STREAM_ #defines to 'enum class'" Change-Id: I550f6fb850e1d71a6f08767eeb222a18071b89d5
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin4-11/+11
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-07fdo#84938: convert VCL_INPUT_ #defines to 'enum class'Noel Grandin2-2/+2
Change-Id: I155e45f58974a2b946c4a7703b350bcbfbad342e
2015-01-07fdo#84938: convert INDICATOR_ #defines to 'enum class'Noel Grandin1-1/+1
and replace SalIndicatorState, it serves the same purpose Change-Id: I618b8946b8e2527883eecb13060b2256abc505b6
2015-01-07fdo#39440 reduce scope of local variablesŁukasz Hryniuk1-5/+5
Beside scope changes, it fixes lack of initialization in a few places. Change-Id: Ia09fdb9845d8ac17256330a5ec5168401c84f0f2 Reviewed-on: https://gerrit.libreoffice.org/13755 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-06fdo#84938: convert EXPORT_ #defines to 'enum class'Noel Grandin1-1/+1
Change-Id: I2ed239fa073b5fa8fb56c1af9d4b0bac89acfacf
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann1-2/+2
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
2015-01-05Resolves fdo#87968 : Assertion failed: false rtl_uString_newFromSubStringJulien Nabet1-3/+3
aNewText already contains the good string so calling copy method is wrong (same pb for i18n::TransliterationModulesExtra::TITLE_CASE and i18n::TransliterationModulesExtra::SENTENCE_CASE) Change-Id: Ifce92f33e98af3a58a70d25da9c60cf3d584a001 Reviewed-on: https://gerrit.libreoffice.org/13724 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03Typo: translitaration->transliterationJulien Nabet1-5/+5
Change-Id: If722e7d025db65b72419499f1443d5f0cda609dd
2015-01-02Fix simple typos.Andrea Gelmini2-2/+2
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara3-5/+6
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-18editeng: Use appropriate OUString functions on string constantsStephan Bergmann4-12/+12
Change-Id: Iab879390c18a3ce2c5bfc49548ca273ce0b907da
2014-12-18Factor out SvxFontHeightItem::dumpAsXml() from swMiklos Vajna1-0/+10
Change-Id: I8dc3a0ed7bfce62b0d20c6bff143d77c0f26963f
2014-12-17Factor out SvxBrushItem::dumpAsXml() from swMiklos Vajna1-0/+14
Change-Id: I5421cf5a7d1a2ff4db81d028f44a490c234b9ccf
2014-12-16Factor out SvxFontItem::dumpAsXml() from swMiklos Vajna1-0/+12
Change-Id: I8283ddd868639e6535e27798d91a7273d77f048c
2014-12-12fdo#39440 reduce scope of local variablesMichael Weghorn5-10/+5
This addresses some cppcheck warnings. Change-Id: Ifbc5a7a562e714f48dcfd51a75e9a4e0bfcde81c Reviewed-on: https://gerrit.libreoffice.org/13443 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-11coverity#705150 Missing break in switchCaolán McNamara1-0/+1
Change-Id: I5df9dff9ef6940b15c899d13f1a358e47dbd8b2b
2014-12-11Factor out SvxCharRotateItem::dumpAsXml() from swMiklos Vajna1-0/+8
Change-Id: I52bca77e8ff0d4fccf8423f01dac9b6a7498f8d1
2014-12-10Typo: postion(s)=>position(s)Julien Nabet2-2/+2
Change-Id: Id2957f1cb68fc4b2fef9966abeb6745b548bcb75
2014-12-10Resolves: fdo#87141 Remove deletes the node, release doesn'tCaolán McNamara1-1/+1
regression from introduction of boost::ptr_vector originally one had to Remove and delete the return to delete it, while now the Remove automatically delete it. This bare Remove to just "release" it seems to have been overlooked Change-Id: I175f7c95862ce47402993e5e3b8feaa93af43e75
2014-12-10fdo#76776 crashes after paste a table from WriterCaolán McNamara1-0/+7
Change-Id: If859352a7d8d409e5c3c651e0ffea0b3687007db
2014-12-09changed inherited timers to idleTobias Madl1-1/+1
Change-Id: I1d70d4d2fe8573d0f120f2a1ece83f504d5efde5
2014-12-09changed timers to idleJennifer Liebel4-9/+9
Change-Id: I5846940cc45781f4a0264047107dbb568604d543
2014-12-09changed timers to idlesJennifer Liebel1-1/+1
Change-Id: Iebde351b3bfca907a7730b7af379efb040cbeae2
2014-12-09Factor out SvxRsidItem::dumpAsXml() from swMiklos Vajna1-0/+11
Change-Id: I60c57fa6a9f3619de717e7b2383dc420706b2886
2014-12-08Resolves: fdo#86931 wrong offsets used to set languageCaolán McNamara2-5/+4
after Chinese conversion. the _aOldSel is the one that has the start and end index set to the end of the replacement text and so the calculation only makes sense on that selection Change-Id: I152067550d7741579bfc6ca026072b16ac7c2dd6
2014-12-08kater->laterCaolán McNamara1-1/+1
Change-Id: If9eaf54c2d706144e2b7c34a3004ad9604dd420f
2014-12-08Factor out SvxWeightItem::dumpAsXml() from swMiklos Vajna1-0/+8
Change-Id: I97ccc04190b1f75c54e725e0612724a2ef62fe3e
2014-12-05-Werror=format on AndroidMiklos Vajna1-1/+1
Probably 32bit vs 64bit. Change-Id: I3ca93e88393538ba20cce23a7165d406db3144c4
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann1-0/+5
Change-Id: Ibe4613e2fd77eec8e6e6d1c5e880b596e103a7b8
2014-12-05Factor out SvxPostureItem::dumpAsXml() from swMiklos Vajna1-0/+9
Again, the motivation is that dumper for something in editeng should be in that module as well, before home-grown dumpers are invented and duplicated e.g. in all sw/sc/sd. Change-Id: Icfeed9549efbd80226ff04e9070766188cc8646e
2014-12-03editeng: let's assert attribute consistency in some more placesMichael Stahl2-2/+54
Change-Id: Idf3a1eb821b3b938f1bdd04bf449ade190703ab3
2014-12-03editeng: it's like there's a nest of these thingsMichael Stahl3-15/+14
Change-Id: Iceef908e8cc1e7a2849398bd2d9e6e7cb1a9e9c9
2014-12-03editeng: there's yet another checking function hidden at dbglevel=3Michael Stahl4-14/+17
Change-Id: Idd54bd4fd87cd138a2daf363bd692440a01e2624
2014-12-03editeng: convert that to assertMichael Stahl2-20/+14
Change-Id: I03e43d35efb813f985b93bc05c3b50c4462f9111
2014-12-03editeng: activate some more assertions hidden behind dbglevel=3Michael Stahl3-11/+12
Change-Id: I46c168946c51f1c8064f5902aa97fb0c5b7a3934