summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2014-12-10Resolves: fdo#87141 Remove deletes the node, release doesn'tCaolán McNamara
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 McNamara
Change-Id: If859352a7d8d409e5c3c651e0ffea0b3687007db
2014-12-09changed inherited timers to idleTobias Madl
Change-Id: I1d70d4d2fe8573d0f120f2a1ece83f504d5efde5
2014-12-09changed timers to idleJennifer Liebel
Change-Id: I5846940cc45781f4a0264047107dbb568604d543
2014-12-09changed timers to idlesJennifer Liebel
Change-Id: Iebde351b3bfca907a7730b7af379efb040cbeae2
2014-12-09Factor out SvxRsidItem::dumpAsXml() from swMiklos Vajna
Change-Id: I60c57fa6a9f3619de717e7b2383dc420706b2886
2014-12-08Resolves: fdo#86931 wrong offsets used to set languageCaolán McNamara
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 McNamara
Change-Id: If9eaf54c2d706144e2b7c34a3004ad9604dd420f
2014-12-08Factor out SvxWeightItem::dumpAsXml() from swMiklos Vajna
Change-Id: I97ccc04190b1f75c54e725e0612724a2ef62fe3e
2014-12-05-Werror=format on AndroidMiklos Vajna
Probably 32bit vs 64bit. Change-Id: I3ca93e88393538ba20cce23a7165d406db3144c4
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann
Change-Id: Ibe4613e2fd77eec8e6e6d1c5e880b596e103a7b8
2014-12-05Factor out SvxPostureItem::dumpAsXml() from swMiklos Vajna
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 Stahl
Change-Id: Idf3a1eb821b3b938f1bdd04bf449ade190703ab3
2014-12-03editeng: it's like there's a nest of these thingsMichael Stahl
Change-Id: Iceef908e8cc1e7a2849398bd2d9e6e7cb1a9e9c9
2014-12-03editeng: there's yet another checking function hidden at dbglevel=3Michael Stahl
Change-Id: Idd54bd4fd87cd138a2daf363bd692440a01e2624
2014-12-03editeng: convert that to assertMichael Stahl
Change-Id: I03e43d35efb813f985b93bc05c3b50c4462f9111
2014-12-03editeng: activate some more assertions hidden behind dbglevel=3Michael Stahl
Change-Id: I46c168946c51f1c8064f5902aa97fb0c5b7a3934
2014-12-02Adapt to int/sal_Int32 mismatch on 32-bit buildTor Lillqvist
Change-Id: I9c5cb458ea7595c1b623ce14ed58fd3d5b3d961e
2014-12-02Adapt to int/sal_Int32 mismatch on 32-bit buildTor Lillqvist
Change-Id: Ifef81d53bee4241be3c0dd6b7ddb2c1bbf419b5e
2014-12-01editeng: don't hide the DbgCheckAttribs() behind OSL_DEBUG_LEVEL > 2Michael Stahl
... and add a check for fdo#85496 too. Change-Id: I235057362bcac23fa64e79f1b47311328e01a81a
2014-12-01fdo#85496: add some asserts to detect this sort of problemMichael Stahl
Change-Id: Iff787c8d2a71bc3082192cc98e3d916badee65dd
2014-12-01fdo#85496: editeng: do not add multiple 0-length attributes...Michael Stahl
... 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 Vajna
Change-Id: I5e805aa98f643b5a034cdeadb4718af528af022c
2014-11-24Bin commented-out unreachable 'break' statementsTor Lillqvist
Change-Id: If0f47a78bbffec5c2ebd33c552d0d8a300b48eb1
2014-11-24Newly missing #includeStephan Bergmann
Change-Id: Ic6599303fd654d82fd4edbcc933e08408aa798a8
2014-11-24error C2872: 'Locale' : ambiguous symbolMiklos Vajna
Change-Id: I88482566c26218a4b71b8e5652af9fbbad6a8143
2014-11-24Factor out EditTextObject::dumpAsXml() from SwDoc::dumpAsXml()Miklos Vajna
Change-Id: I1dae910e9d14db56d6388a71d76b1a479d5786b0
2014-11-22This function object can now be hidden.Kohei Yoshida
Change-Id: I22bf2339ba496d5fe433b9df9ef2914860e3350d
2014-11-22Apply pimpl to SvxAutocorrWordList.Kohei Yoshida
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 Yoshida
Change-Id: Idc056fd216bfe0b5e5c0285b1781b0658837f5a2
2014-11-21Resolves: fdo#86392 the assert seems to just want the attrs to be sortedCaolán McNamara
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 Stahl
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17editeng: Avoid calling expensive getLineBreak() if possibleMatúš Kukan
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 Stahl
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 McNamara
Change-Id: Ib821adfbca149091d4fbe52d05837e232c3caf55
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava
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 Stahl
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 Stahl
... in exit handlers because VCL and the SolarMutex is gone. (regression from 4404b718bdb547cb9b7b17c73a53574724cdeeb7) Change-Id: I9f33b2cb8c87f7137e3ba0ae033879861f9fe11b
2014-11-12rename variables in makefileDaniel Sikeler
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 Gelmini
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 Bergmann
...though the whole design there looks broken Change-Id: I6c3a53d606ea835d34729fcfb661fad0f1897716
2014-11-11Copy the original prop/prop unitStephan Bergmann
...instead of scaling the translated nNewHeight once more by the original prop Change-Id: Iadb53361a79f0b37b3c7c50066e4cfb7d24ed5e8
2014-11-11Revert "Some SvxFontHeightItem clean-up"Stephan Bergmann
This reverts commit d5f93eb47ec4c27e93ad908b0199790c702491a0, SvxFontHeightItem::SetProp was used to override "dummy" 100% nProp/ePropUnit values that did not match the computed nHeight value with nProp/ePropUnit values that are supposed to match the computed nHeight value. Yuck. Change-Id: Ic12e824054b3c5da7aca766b9b3eb076d1837d9a
2014-11-11Some SvxFontHeightItem clean-upStephan Bergmann
...and operator= shall probably copy rSize.ePropUnit... Change-Id: I112c02b3a3b2ce23f3d03f03881136e05be29017
2014-11-11callcatcher: dropping SwChapterNumRules binary Load/Store has knock-on effectCaolán McNamara
Change-Id: I2567026af23dd5fc42812b90bd6098c4c74a4f92
2014-11-11WaE: 'register' storage class specifier is deprecatedTor Lillqvist
Silly gperf generates 'register' storage class specifiers. So ignore those warnings from the generated tokens.cxx file. Change-Id: Ia80139f904f949bd2ae0267b6790d17b7f0e93d0
2014-11-11fdo#80403: TokenHandler impl. FastTokenHandlerBaseDaniel Sikeler
getTokenFromUTF8: calls getTokenDirect getTokenDirect: uses perfect hash New makefile creates perfect hash table with perl-script gentoken.pl. I found the script on https://wiki.openoffice.org/wiki/XFastTokenHandler and made some changes. XMLTokens are defined in tokens.txt Change-Id: Id04134a896ee082e2d0ba55a715fede19ff04928 Reviewed-on: https://gerrit.libreoffice.org/12335 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-05coverity#1242632 Untrusted loop boundCaolán McNamara
Change-Id: I4ec2e1a21a6a27c31c3308a5f72dbdcb33a62f39