summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2015-10-01tdf#92341 Make Autocorrect entry actually workSamuel Mehrbrodt
Change-Id: I83e028428933e2153b639ca6b34fd69db88fb53f
2015-10-01Correct title case usageAdolfo Jayme Barrientos
The last word of a title-cased text is always capitalized. Change-Id: I3fba56ba43516f54146b765104a9a04a3ffa8482
2015-10-01loplugin:unusedmethodsNoel Grandin
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-01tdf#92341 Add AutoCorrect entry in context menu for non-swriterYousuf Philips
Change-Id: I415674da3edd94aba0e2b1452bb489f755f5753a Reviewed-on: https://gerrit.libreoffice.org/18887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-01remove old standalone Sun bug numbersNoel Grandin
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I9dbe1e05cf73af20c25392e639a807854e87fc6e Reviewed-on: https://gerrit.libreoffice.org/18946 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Iaa9dd3f02f21947742643349d3b878126017477d Reviewed-on: https://gerrit.libreoffice.org/18947 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-30 tdf#94559: second step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in chart2, connectivity, editeng, extensions, filter, forms, framework, idl Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99 Reviewed-on: https://gerrit.libreoffice.org/18920 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29coverity#1325077 Uninitialized pointer fieldCaolán McNamara
Change-Id: I74121c1cc94edf338cf40a3d186308491e1d2409
2015-09-29coverity#1325068 Resource leakCaolán McNamara
Change-Id: I608140eb05703f6f0cf2920be7ed706ef30e2a7d
2015-09-29coverity#1325050 Resource leak in objectCaolán McNamara
Change-Id: Ifb049feb653d1c345b3d40226e9afb1db877e6a0
2015-09-25tdf#93141 Calc/Impress: remove last colon of emoji short namesLászló Németh
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èvre
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Lillqvist
Change-Id: I1b656cc53f00b866ed6e86d291149e7f1790f26f
2015-09-20WaE: rewrite as call of rtl::OUString::isEmptyTor Lillqvist
Change-Id: I7c172d26707d08a438be059648f64b5b5959bacc
2015-09-20WaE: implicit conversion of literal of type 'int' to 'bool'Tor Lillqvist
Change-Id: I9b81f552d24c75eb08e383868293909d584850d2
2015-09-20chained editeng: Convert fprintf to SAL_INFOThorsten Behrens
Change-Id: I8e0cfedd34d7e0d70a30147a3bbf0f1cd8e6d3cc
2015-09-20chained editeng: Handle chaining for cutting and pastingmatteocam
Change-Id: Iec08e339a7f06c5fa56e67b42206b31c766f845b
2015-09-20chained editeng: Add primitive creation methods for chainingmatteocam
Change-Id: I061009a6830c3590e30900b14b2d006f68d237c1
2015-09-20chained editeng: Add interface and implementations for text chainingmatteocam
Change-Id: I378b96581c2b006eb880ca0f11e7ca76b686846e
2015-09-18boost->stdCaolán McNamara
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 Grandin
Change-Id: I5c629821b7f30caba4d182d45f3f3cd0159acc5c
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: Ida49b6a482efa12703ce294b9665273ad2d8f68b
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: Ie9f7f6a5dda1fd23558775b643e5b8fa850f4a89
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: Ie40dff6f1c40bf1866dc9947479299412abfd5ad
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: I51faff15782238620de5abf424aa237648a5c55f
2015-09-17convert Link<> to typedNoel Grandin
Change-Id: Ied8e0b35f193770a6651f1c57dfb8eedd22d837c
2015-09-16convert Link<> to typedNoel Grandin
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-16convert Link<> to typedNoel Grandin
Change-Id: Id5be64f38fa448271a5364c86c32ffddfc309bbf
2015-09-15tdf#62525 editeng: OutlinerParaObjectDaniel Robertson
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 Casalin
Change-Id: I7010e7daefd1710c41b526c085c892ac13f54cd0
2015-09-14Refactor graphite integration and update graphiteMartin Hosken
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 McNamara
Change-Id: I39194062ba68c4cb1ccc9b93c629f005ccd02497
2015-09-13Also get rid of :: prefix for cssTor Lillqvist
Change-Id: Ie767abc36047ba614b3ac39991b3290bc19859b1
2015-09-13editeng: com::sun::star->cssNoel Grandin
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 Bergmann
(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 Bergmann
...uselessly introduced with 94cac4c58d234fa7f75a115351b6d4dc02edab69 "changed to new clipboard interface" Change-Id: I4e446c7e524f1c80fe82d699d8c16e5cfa59932c
2015-09-07cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-03Fix tdf#93781 Impress copy wrong style name to clipboard whenMark Hung
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 Nakashian
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 Funk
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 Hung
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 Casalin
Change-Id: Ic53ed8f1b6fd4554259e7b94640bb76b178f52dd