summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2014-08-18drop unnecessary shl.hxx includesCaolán McNamara6-6/+0
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-17coverity#1132709 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: If828f82e36d12ceca7e6392de5757a131c99462c
2014-08-15editeng: initialize mnRefCount in all ctors, fix sw.check crashes...Michael Stahl1-1/+3
(regression from aa3babb42fa88840706f5b487ca0e88552cd8f83) Change-Id: I5de9f4d79fa81c95c6f5dc9890485d91ea8fb97f
2014-08-14Build fix when DEBUG_EDIT_ENGINE is on.Kohei Yoshida1-1/+1
Change-Id: Ie3271400862bfca7ecbefbab2d3fcdc60a893818
2014-08-14Use boost::intrusive_ptr in lieu of manual ref-counting.Kohei Yoshida1-69/+57
Change-Id: I0a29a1e490f5aa52a9057be71164573e403affe9
2014-08-14Apply a simple pimpl idiom and rename the old Impl to make it non-Impl.Kohei Yoshida1-60/+74
The old Impl instance is ref-counted, which I'd like to convert to using boost::intrusive_ptr. But to make it happen, we need to really hide this from public header... Change-Id: I1f1e9e500f2112eea04e3e6d661a7dfa74655c62
2014-08-13WaE: C4245: 'argument' : conversion from 'int' to 'size_t'Tor Lillqvist1-1/+1
Change-Id: I43d15b84f78d9904b09e8df9e36013878e7a4147
2014-08-11-Werror,-Wundefined-bool-conversionStephan Bergmann3-5/+5
Change-Id: I3efdef9a6581fcb1d5e8da7a86445d2f2401e9f9
2014-08-07cppcheck: Exception should be caught by referenceJulien Nabet1-1/+1
Change-Id: Ie6438d67aa09fd1dfb746b4ac7ff34d6494ee453
2014-08-07loplugin:staticcallCaolán McNamara1-2/+2
Change-Id: I966c0d6e61e1815252a83e22d142837e26302b30
2014-08-07coverity#982278 Resource leak in objectCaolán McNamara1-1/+9
Change-Id: I0d0cf666ac8ecd55b4d3ba783b1e17670d6eb566
2014-08-01fdo#55292 add middle wildcard autocorrectionLászló Németh1-13/+45
Syntax: .*text.*, eg. for f-ligature replacements: .*fi.* -> fi (U-FB01) .*fl.* -> fl (U-FB02) For en-dash replacements between numbers ("2014–15"), instead of em-dash: .*1--.* -> – .*2--.* -> – ... Change-Id: I8992a751e2c1fbdd96a36cf555eb4349d5f80276
2014-07-31fix some dodgy FieldUnit conversionsNoel Grandin1-1/+1
the FieldUnit enum was being converted in some dodgy ways and in some places the MapUnit enum values were being used. Change-Id: Ic9aacb84058d1c14c3a4a79ef6676082df9a7270
2014-07-29fdo#81812 Kill PIMPE and PIMPEEJoren De Cuyper2-89/+86
Change-Id: I12a4a91d580f95912f2c2cb2a352b21b272a480d Reviewed-on: https://gerrit.libreoffice.org/10611 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2014-07-29drop use of SFX_ITEM_PRESENTATION_NONENoel Grandin8-829/+267
since none of the call sites specify it Change-Id: I9c15f0e042e21f6f78560c1962a533112d588c90
2014-07-29simplify return argument of SfxPoolItem::GetPresentationNoel Grandin9-232/+232
since all two of the actual call-sites only care about whether it is a valid presentation or not, not what kind of presentation it is. Change-Id: I75717c88878d37b2897741b0c833ff283b3fee59
2014-07-29fdo#55292 paragr. start. autocorr. with a single character (eg. ---A)László Németh1-1/+1
Change-Id: Ic0e67b3e78fe6f38e8a255981c9aa9cfd939fd4b
2014-07-28WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist1-1/+1
Change-Id: I18274d920865f8e28377acce8084eb1629ff8127
2014-07-27bnc#467459 - fix editeng text search with expanded fields.Michael Meeks5-61/+224
Change-Id: If59d0e2f886e94148b81cb6cfcad067733fcb918
2014-07-26Massive 'Dialogdiet fail' and similar to 'Dialog creation failed'Matteo Casalin1-1/+1
Change-Id: I6ca6914e80c186699df42253de46a3690c5130f2
2014-07-23convert SfxItemState constants to a proper enumNoel Grandin5-16/+19
and while we're at it - use the enum type all over the place instead of passing around sal_uInt16 - don't use bitwise logic on enum values - use enum values instead of numeric constants Change-Id: I7f24cb4d242e1c00703e7bbcf1a00c18ef1e9fd4
2014-07-22Fix the font handling esp wrt font colors.Kohei Yoshida2-2/+2
Change-Id: I7dda03368f67ea6a12dfb39115f4546277abb76b
2014-07-20vcl consitent use of long for corrdinateNorbert Thiebaud11-66/+70
most of length in vcl are calculated in 'long' but array of X position tend to be in sal_Int32. As a prep work to be able to support 'double' as the base type of Device Coordinate, harmonize the use of 'long' for non-float coordinate. Change-Id: I7cb33301ff6a5e2c62247b36a4e07e168a58a323
2014-07-17Related: rhbz#1117853 nStartPara of EE_PARA_NOT_FOUNDCaolán McNamara1-2/+1
we know that nStartPara is EE_PARA_NOT_FOUND so rOutliner.GetAbsPos must have returned that, but we don't know the circumstances that lead to that yet. Change-Id: I53a488317d154b4a3c050248b8737da0a611ca43
2014-07-17Renamed brdcst.[hc]xx to SfxBroadcaster.[hc]xxTobias Lippert3-3/+2
- Remove includes from files where they are not needed. - Update pch files Change-Id: I0188e3934ef429008c1ef495ab1d5b27f38664d5 Reviewed-on: https://gerrit.libreoffice.org/10342 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-07-11fdo#81058: Revert "Fix: EE_CHAR_COLOR to EE_CHAR_BKGCOLOR"Matúš Kukan1-1/+1
Obviously, it's not safe to touch editeng :-/ This reverts commit f2d6eb4d96918de9b29a96749506b83b0e59293f.
2014-07-11new loplugin: externalandnotdefinedNoel Grandin3-2/+31
Find "missing headers," where a function is declared directly in the .cxx (as extern) and not defined, and should arguably instead be declared in an include file. Change-Id: I6d83ee432b2ab0cd050aec2b27c3658d32ac02a2
2014-07-07DBG_ASSERT->assert when followed by dereferenceCaolán McNamara1-1/+1
Change-Id: Ic1c999ffdc391ea01be5711721e7c9e63179473e
2014-07-06coverity#706504 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I727779317672fe58c440aee76762d0a9ae28d8ca
2014-07-04Fix: EE_CHAR_COLOR to EE_CHAR_BKGCOLORmatteocam1-1/+1
2014-07-03Resolves fdo#79276 Add fallback system for autocorrection of French variantsJulien Nabet1-6/+18
1) Replace the creation of acor_fr-FR.dat by acor_fr.dat since there's no specific for variants of fr 2) Add a fallback system to use it Change-Id: Ia3e11fff0f266839dc148077b50c1b2f798d1c50 Reviewed-on: https://gerrit.libreoffice.org/9825 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-03WaE: -Werror=unused-variableCaolán McNamara1-1/+0
Change-Id: I910c2262f031f7916fbf242f31c193d8b030468b
2014-07-03coverity#738958 Unused pointer valueCaolán McNamara1-3/+2
Change-Id: Ic0c7f1c3ccb17f11135facda9197f8dc82436549
2014-07-03use assert when followed by derefCaolán McNamara1-55/+37
Change-Id: I8405e4d8f9fa1de3ef6ee474321b4ac2b4ce1624
2014-07-02drop UniReference in favour of rtl::ReferenceNoel Grandin1-2/+2
since they're doing the same thing. Change-Id: I76134b6b848db8628f315fe5bd9eb972a6bf0cb6
2014-07-01clang scan-build: various warningsCaolán McNamara1-1/+1
Change-Id: I4bdfb074b3cf6fcb49765322308dfa4b9ed67713
2014-07-01error: 'SvxColorBackgroundItem' was not declared in this scopeMiklos Vajna1-1/+1
Change-Id: I296a1ba4128d5e1c9178a20df25875fd8baaefe5
2014-06-30Cleanup: removed comments and debugging outputmatteocam4-20/+1
Change-Id: I41f13d33da641153784725344f5bd526ca69542b
2014-06-30Removed assertion in EditCharAttribBackgroundColormatteocam1-6/+5
Change-Id: Ic9b41eed686ca8bf07c8e3e1555fc6953093a2d4 (cherry picked from commit e68c18f1afe93eba5e79829510df16a78d66c95e)
2014-06-30VclProcessor's text rendering looks at fill colormatteocam1-0/+2
Change-Id: I96dcafd01fb6d8a5e873719ee617008b5f2cbc13 (cherry picked from commit 74fa26c85ef79020a889d14db04130e52635b81e)
2014-06-30Set transparency besides color for text with fill (i.e. underlined text)matteocam1-0/+1
Change-Id: I88a90facac656f846a88315951b4769f502662a0 (cherry picked from commit d4c1c038dbc554dcce9c081e736a72359e80d33f)
2014-06-30DbgOutItem supports Font Background Colormatteocam1-0/+11
Change-Id: I1067e73593fdd116c3fc264b07f8bfd77057af0f (cherry picked from commit 2bcaa1ca791ff64a1629d2451bd52323e7e814e3)
2014-06-30CreateFont supports Background Colormatteocam1-0/+2
Change-Id: I3413c77db8e822aeb957909a661d175320555f6d (cherry picked from commit a7f27d468dd92a2ffbe114a5bdedf423f657f1ad)
2014-06-30ItemSet includes Background Color in SetFontInfoInItemSetmatteocam1-0/+1
Change-Id: I0a5f5cebccc73eb3c0877fae0086861ac5b93d3d (cherry picked from commit c52d374be19130c123d8316be6dac51219296abd)
2014-06-30Minor changes.matteocam1-0/+2
Change-Id: I3b8c51690eb14601435653e9a2255a5c6ed4fd7e (cherry picked from commit 0b8fe9834b398db7550f30718b3cb63860c6165d)
2014-06-30Debugging outputmatteocam1-1/+1
Change-Id: I4e9418746ad50e1bdb1336459c00a4cf614e2350 (cherry picked from commit 4b2d62f02a386013d0004058a02fed80eb8df675)
2014-06-30Added case in editdoc.cxxmatteocam2-5/+11
Change-Id: I572d79dfd770eaa13d24b27f1c689a059cb79153 (cherry picked from commit 073be3ab511a33e639135703caa2229c1f105b54)
2014-06-30Added body of EditCharAttribBackgroundColormatteocam1-5/+1
Change-Id: Ieac410809b33b1b489cb7563f3fed133d32832d0 (cherry picked from commit 8fd668c43982f683dca945277a6c9d4bc8ea720a)
2014-06-30Added EE_CHAR_BKGCOLORmatteocam1-5/+6
Change-Id: If11271f4b3b8f9ab67961206856938046ea2a416 (cherry picked from commit c2580813426a58cd2ab22efacec9d28423201562)
2014-06-30Added class SvxBackgroundColorItemmatteocam3-1/+74
Change-Id: If10795bbbd9fc911896b57bbab5410bc1e62f71f (cherry picked from commit ad6a2607f09d2f770e683a21ad7243a077d65a7a)