summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2014-12-18editeng: Use appropriate OUString functions on string constantsStephan Bergmann5-13/+13
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
2014-12-02Adapt to int/sal_Int32 mismatch on 32-bit buildTor Lillqvist1-1/+1
Change-Id: I9c5cb458ea7595c1b623ce14ed58fd3d5b3d961e
2014-12-02Adapt to int/sal_Int32 mismatch on 32-bit buildTor Lillqvist1-1/+1
Change-Id: Ifef81d53bee4241be3c0dd6b7ddb2c1bbf419b5e
2014-12-01editeng: don't hide the DbgCheckAttribs() behind OSL_DEBUG_LEVEL > 2Michael Stahl2-13/+15
... and add a check for fdo#85496 too. Change-Id: I235057362bcac23fa64e79f1b47311328e01a81a
2014-12-01fdo#85496: add some asserts to detect this sort of problemMichael Stahl1-0/+5
Change-Id: Iff787c8d2a71bc3082192cc98e3d916badee65dd
2014-12-01fdo#85496: editeng: do not add multiple 0-length attributes...Michael Stahl2-7/+55
... at the same position. Since commit 0d57434180db6c8eda8c5b9b704f8a1c18b371df these will be exported by the ODF filter as duplicate attributes. Change-Id: I8befe55f61c59ab968409fa03359540c300f9198
2014-11-27Factor out OutlinerParaObject::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna1-0/+9
Change-Id: I5e805aa98f643b5a034cdeadb4718af528af022c
2014-11-24Bin commented-out unreachable 'break' statementsTor Lillqvist1-2/+0
Change-Id: If0f47a78bbffec5c2ebd33c552d0d8a300b48eb1
2014-11-24Newly missing #includeStephan Bergmann1-0/+2
Change-Id: Ic6599303fd654d82fd4edbcc933e08408aa798a8
2014-11-24error C2872: 'Locale' : ambiguous symbolMiklos Vajna1-3/+2
Change-Id: I88482566c26218a4b71b8e5652af9fbbad6a8143
2014-11-24Factor out EditTextObject::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna3-0/+15
Change-Id: I1dae910e9d14db56d6388a71d76b1a479d5786b0
2014-11-22This function object can now be hidden.Kohei Yoshida1-4/+7
Change-Id: I22bf2339ba496d5fe433b9df9ef2914860e3350d
2014-11-22Apply pimpl to SvxAutocorrWordList.Kohei Yoshida1-27/+48
And remove <set> and <boost/unordered_map.hpp> header includes from its public header. Change-Id: I7e748009f718f4195bec2348383df07dc67600cd
2014-11-22Make SvxAutocorrWordList explicitly non-copyable.Kohei Yoshida1-0/+2
Change-Id: Idc056fd216bfe0b5e5c0285b1781b0658837f5a2
2014-11-21Resolves: fdo#86392 the assert seems to just want the attrs to be sortedCaolán McNamara1-1/+1
i.e. two at the same position is ok assert added in commit 8220b70fe2dc270188751950ac6d872320db1aa2 Date: Sun Jul 27 00:21:50 2014 -0400 bnc#467459 - fix editeng text search with expanded fields. Change-Id: Ifc65f3301a7d505a7d2d13e5914f53cbe263fc1f
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17editeng: Avoid calling expensive getLineBreak() if possibleMatúš Kukan1-27/+38
ImpEditEngine::ImpBreakLine: if nMinBreakPos == nMaxBreakPos just set nBreakPos to the same value directly. Change-Id: I4544cb6c56f68071cba739260161bb24ef5a3f7f
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl3-1/+3
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-14coverity#1242632 Untrusted loop boundCaolán McNamara1-2/+11
Change-Id: Ib821adfbca149091d4fbe52d05837e232c3caf55
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava6-14/+14
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-14vcl: move the Impl class of MapMode ...uhm... out of the public header?Michael Stahl1-0/+1
And remove the tools/fract.hxx include. grep -l -r fract.hxx workdir/Dep/*Object* |wc -l before: 4569 after: 1851 Shrinks some libraries, example from --enable-dbgutil Fedora gcc 4.8.3: libvcllo.so by 473k (0.35%) libswlo.so by ~1Mb (sadly that is just 0.2%) Change-Id: I09bd025d551a5d2c5528b938a68c6aa5f8f114a0
2014-11-13sw: delete global SwAutoCorrect instance to avoid crash...Michael Stahl1-3/+3
... in exit handlers because VCL and the SolarMutex is gone. (regression from 4404b718bdb547cb9b7b17c73a53574724cdeeb7) Change-Id: I9f33b2cb8c87f7137e3ba0ae033879861f9fe11b
2014-11-12rename variables in makefileDaniel Sikeler1-11/+11
Change-Id: Ie1a7a8d83cc9c1ae4b6d015b77713f446fdd871e Reviewed-on: https://gerrit.libreoffice.org/12388 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini7-7/+7
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-12Guard against wrap-around in SvxFontHeightItemStephan Bergmann1-2/+10
...though the whole design there looks broken Change-Id: I6c3a53d606ea835d34729fcfb661fad0f1897716
2014-11-11Copy the original prop/prop unitStephan Bergmann1-1/+4
...instead of scaling the translated nNewHeight once more by the original prop Change-Id: Iadb53361a79f0b37b3c7c50066e4cfb7d24ed5e8