summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2015-09-25tdf#93141 Calc/Impress: remove last colon of emoji short namesLászló Németh1-1/+5
AutoCorrect Emoji replacements were incomplete in Calc cells and Impress text boxes, keeping the terminating colon: :omega: -> Ω: Corrected by this patch: :omega: -> Ω Change-Id: I0d1f6f9ec9c31a7b37e0c9afaaad17dcee568dd5
2015-09-23CppCheck : reduce variables scopeMichaël Lefèvre2-4/+6
Change-Id: Ief402017b693a4337f330fb07bb7a6dc6e749f72 Reviewed-on: https://gerrit.libreoffice.org/18753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-22convert Link<> to typedNoel Grandin1-3/+2
Change-Id: I99710933b818ebb0e2d70262c3edd7937e5f03ca Reviewed-on: https://gerrit.libreoffice.org/18772 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin1-4/+2
Change-Id: I2d3ed4e04b19159bd847a925a7296e981a6d468a Reviewed-on: https://gerrit.libreoffice.org/18771 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22convert Link<> to typedNoel Grandin2-6/+6
Change-Id: I684a72cc3eeff0caf27132ff641f0d3b20ff7c08 Reviewed-on: https://gerrit.libreoffice.org/18770 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22remove unused Link<> fieldNoel Grandin4-27/+0
Change-Id: If6c5719adf5240e12e798f72b25c5c19a09bc0f6 Reviewed-on: https://gerrit.libreoffice.org/18769 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20WaE: this method can be declared staticTor Lillqvist1-3/+3
Change-Id: I1b656cc53f00b866ed6e86d291149e7f1790f26f
2015-09-20WaE: rewrite as call of rtl::OUString::isEmptyTor Lillqvist1-1/+1
Change-Id: I7c172d26707d08a438be059648f64b5b5959bacc
2015-09-20WaE: implicit conversion of literal of type 'int' to 'bool'Tor Lillqvist2-4/+2
Change-Id: I9b81f552d24c75eb08e383868293909d584850d2
2015-09-20chained editeng: Convert fprintf to SAL_INFOThorsten Behrens3-31/+22
Change-Id: I8e0cfedd34d7e0d70a30147a3bbf0f1cd8e6d3cc
2015-09-20chained editeng: Handle chaining for cutting and pastingmatteocam1-1/+10
Change-Id: Iec08e339a7f06c5fa56e67b42206b31c766f845b
2015-09-20chained editeng: Add primitive creation methods for chainingmatteocam6-1/+340
Change-Id: I061009a6830c3590e30900b14b2d006f68d237c1
2015-09-20chained editeng: Add interface and implementations for text chainingmatteocam2-0/+265
Change-Id: I378b96581c2b006eb880ca0f11e7ca76b686846e
2015-09-18boost->stdCaolán McNamara7-22/+18
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-17convert Link<> to typedNoel Grandin3-10/+7
Change-Id: I5c629821b7f30caba4d182d45f3f3cd0159acc5c
2015-09-17convert Link<> to typedNoel Grandin3-4/+4
Change-Id: Ida49b6a482efa12703ce294b9665273ad2d8f68b
2015-09-17convert Link<> to typedNoel Grandin3-12/+12
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
2015-09-17convert Link<> to typedNoel Grandin3-7/+7
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
2015-09-17convert Link<> to typedNoel Grandin3-13/+11
Change-Id: Ie9f7f6a5dda1fd23558775b643e5b8fa850f4a89
2015-09-17convert Link<> to typedNoel Grandin4-16/+10
Change-Id: Ie40dff6f1c40bf1866dc9947479299412abfd5ad
2015-09-17convert Link<> to typedNoel Grandin2-4/+4
Change-Id: I51faff15782238620de5abf424aa237648a5c55f
2015-09-17convert Link<> to typedNoel Grandin5-17/+15
Change-Id: Ied8e0b35f193770a6651f1c57dfb8eedd22d837c
2015-09-16convert Link<> to typedNoel Grandin4-23/+23
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-16convert Link<> to typedNoel Grandin3-8/+7
Change-Id: Id5be64f38fa448271a5364c86c32ffddfc309bbf
2015-09-15tdf#62525 editeng: OutlinerParaObjectDaniel Robertson1-110/+54
Convert the pimpled copy-on-write OutlinerParaObject class from editeng to use ::o3tl::cow_wrapper using the default reference counting policy. Change-Id: I7009b9623d5be1bdf806ccaa6781cba82553c302 Reviewed-on: https://gerrit.libreoffice.org/18391 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-14sal_uInt16 to sal_Int32Matteo Casalin1-4/+3
Change-Id: I7010e7daefd1710c41b526c085c892ac13f54cd0
2015-09-14Refactor graphite integration and update graphiteMartin Hosken1-2/+4
Change-Id: I09db7262c2a6180a078620ba086dd7a4c132bd82 Reviewed-on: https://gerrit.libreoffice.org/18459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: László Németh <nemeth@numbertext.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2015-09-13cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I39194062ba68c4cb1ccc9b93c629f005ccd02497
2015-09-13Also get rid of :: prefix for cssTor Lillqvist4-18/+18
Change-Id: Ie767abc36047ba614b3ac39991b3290bc19859b1
2015-09-13editeng: com::sun::star->cssNoel Grandin46-477/+457
Change-Id: Ied65d2de394ce54cb2c35abb152cf58ac3139395 Reviewed-on: https://gerrit.libreoffice.org/18503 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+1
(a use of nStyleNo at the end of SvxRTFParser::ReadAttr had been in a commented- out clode block ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import," and later been cleaned from the code) Change-Id: Ic9e30cc1bccca9c4246deb50fbc6d545e3ea31a2
2015-09-09clang-analyzer-deadcode.DeadStoresStephan Bergmann1-7/+3
...uselessly introduced with 94cac4c58d234fa7f75a115351b6d4dc02edab69 "changed to new clipboard interface" Change-Id: I4e446c7e524f1c80fe82d699d8c16e5cfa59932c
2015-09-07cppcheck: noExplicitConstructorCaolán McNamara11-45/+19
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-03Fix tdf#93781 Impress copy wrong style name to clipboard whenMark Hung1-1/+2
style name contains Chinese character. Encode style name in multibyte sring (ex,Chinese) properly with RTFOutFuncs::Out_String(). Change-Id: Ibdd1010e28c711d7829643b60b32637ebce58bdb Reviewed-on: https://gerrit.libreoffice.org/18247 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03Restored missing includes from source files.Ashod Nakashian1-0/+1
These source files relied on pch to include these missing headers (at least on Windows). Also included the script used to find the missing includes. The script is self-contained and includes unittests. It detects superfluous includes and required includes (which was used to restore the includes in this patch). Change-Id: I7ee09e5c712f42d5f6c3524898bc62dda78f5cc0 Reviewed-on: https://gerrit.libreoffice.org/18208 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-01tdf#93052 - When save, generate unused list-styles in context.xmlJuergen Funk1-1/+1
First Patch do not solved the problem The evaluation of the 0 is here http://opengrok.libreoffice.org/xref/core/xmloff/source/text/txtparae.cxx#615 and this methode "xNumRule->getCount()" get back the 0. Change-Id: I2a8f53199b0819f36a7d3e1887c75089143b29a9 Reviewed-on: https://gerrit.libreoffice.org/18228 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-31Fix tdf#93438 Impress generate abnormal style when copy-pastingMark Hung1-1/+7
from Writer with Chinese UI. When user configure UI language as Chinese, style names are also translated. However when Copy-pasting from Writer to Impress ( select RTF fromat with paste-special), Chinese (unicode) style names are borken into multiparts, where some of them are empty string. Neither deleting the abnormal style nor saving the file can be achieved. The only remedy is to remove style with emtpy name with macro. With this patch: 1) Catch NoSuchElementException and ignores it, so user still has chance saving file. 2) Make sure style has valid number before inserting it. 3) Prevent text breaking into multiple tokens by handling ucN in ScanText(). Change-Id: I417f70b81c23ac63c175cc13c548068873d13a38 Reviewed-on: https://gerrit.libreoffice.org/18148 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-29sal_uLong to sal_uInt32 as SvxEditSourceHint IDMatteo Casalin1-2/+2
Change-Id: Ic53ed8f1b6fd4554259e7b94640bb76b178f52dd
2015-08-27don't write SvxBackgroundColorItem via inherited SvxColorItem::StoreCaolán McNamara2-32/+12
SvxBackgroundColorItem inherits from SvxColorItem and for backwards compatibility with the StarOffice 5 binary file format (yes, really) writes/reads only rgb and not the transparency value, so copying and pasting text from a sidebar comment in writer to itself or another one results in a black character background as the default COL_AUTO turns into black Change-Id: I18b5105dd8e060b9e49dda6026e26d3a0f00d8f5
2015-08-27Help GCCStephan Bergmann1-1/+1
Change-Id: Ibeace7ce7621033cf04e3186c212bbb4a27492a1
2015-08-27Clean up aEmptyStephan Bergmann2-6/+3
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin1-21/+12
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-21tdf#39440 reduce scope of local variablesMichael Weghorn1-2/+1
This addresses some cppcheck warnings. Change-Id: I97726ed32e5aa92e7da7d248380a78b1b201e46e Reviewed-on: https://gerrit.libreoffice.org/17912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-20tweak config-less sysconfig pathCaolán McNamara3-21/+11
Change-Id: I9b93b740aab2e6e2a19612d8ec41e699c1032e9e
2015-08-20more no-config shortcutsCaolán McNamara1-0/+4
Change-Id: Ieb3ae2d0e99e77b23e6826efdf51de56f3543865
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann1-3/+2
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
2015-08-19for testing allow disabling configmgr for time critical pathsCaolán McNamara4-13/+26
Change-Id: I08021f18d53e1748927f8847649994f95252bbc2 Reviewed-on: https://gerrit.libreoffice.org/17844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-17Put Polygon from tools under tools:: namespaceNorbert Thiebaud3-5/+5
Polygon is one of these names that Clash with some system objects A similar work has been done earlier with PolyPolygon. Change-Id: Icf2217cb2906292b7275760f1a16be0e150312f5 Reviewed-on: https://gerrit.libreoffice.org/17789 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-15tdf#93052 Fix abundance of calc annotation stylesJan-Marek Glogowski1-2/+1
This is a regression introduced by fixing tdf#47018, which changed the default NumRule and pushed a lot of SVX_MAX_NUM to the SvxNumRule constructors. The changed NumRule default seems not needed to fix the crash; at least it still doesn't crash as described in the old bug report after reverting this part of the change. Change-Id: I908eeb4a827799419d3f28584fdcbc9272cbc76d Reviewed-on: https://gerrit.libreoffice.org/17527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin2-3/+3
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb