summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)AuthorFilesLines
2015-10-16editeng tiled rendering: avoid selections callbacks in Paint()Miklos Vajna1-1/+4
Given that we emit selection callbacks on each logical operations (set selection, deselect all, etc) already, it's not necessary to emit callbacks in DrawSelection() when it's called from Paint(). Change-Id: I6781c71ee2f292de2a1c7d129fc49b514aca2be1
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin1-4/+2
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-13editeng: add EditView::GetSelectionRectangles()Miklos Vajna4-5/+28
This gives sd access to the selection rectangles as well (as opposed only to the document model positions of selections). Change-Id: Icb903e91f9e868573403b360bbe839705ddf2916
2015-10-13remove some useless commentsNoel Grandin1-1/+1
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann23-204/+204
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann4-5/+5
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-08editeng, sw, sc: use comphelper::string::join()Miklos Vajna1-5/+4
Change-Id: I9b0a32271a965bc4089720ccb61b26b67ceab7b2
2015-10-07loplugin:mergeclassesNoel Grandin1-1/+1
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07loplugin:mergeclassesNoel Grandin3-24/+5
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07loplugin:mergeclassesNoel Grandin3-25/+11
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07Reduce variable scopeStephan Bergmann1-2/+2
Change-Id: I6a8e4b8f132acff5d75859de570a969ad8c3fa4b
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: Id6698ecef885e37412dc88f8bdbc25ff0da8af21
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-17/+17
Change-Id: I211ff9c4f64e97f3b397fe2b384f06d18026e1e4
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: Ib184b06cbf83ec582aa50fded3795daac37c7869
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+0
Change-Id: Ic36598f30efd04b4084c0ffa1f4616687abf4d29
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: Id2062ffd309f534f7c0dedf185569cfe5741c303
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann1-1/+0
Change-Id: Ibec716d78425d32b7341eb608c08202364b84ba4
2015-10-06loplugin:unusedmethodsNoel Grandin1-5/+0
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht3-9/+9
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-01tdf#92341 Make Autocorrect entry actually workSamuel Mehrbrodt1-1/+5
Change-Id: I83e028428933e2153b639ca6b34fd69db88fb53f
2015-10-01Correct title case usageAdolfo Jayme Barrientos1-1/+1
The last word of a title-cased text is always capitalized. Change-Id: I3fba56ba43516f54146b765104a9a04a3ffa8482
2015-10-01loplugin:unusedmethodsNoel Grandin2-6/+0
- 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 Philips2-14/+21
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 Grandin4-11/+0
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 Gelmini8-12/+12
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 Gelmini5-6/+6
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 Specht8-14/+14
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 Heinemann1-6/+6
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 McNamara1-5/+4
Change-Id: I74121c1cc94edf338cf40a3d186308491e1d2409
2015-09-29coverity#1325068 Resource leakCaolán McNamara1-0/+1
Change-Id: I608140eb05703f6f0cf2920be7ed706ef30e2a7d
2015-09-29coverity#1325050 Resource leak in objectCaolán McNamara1-0/+7
Change-Id: Ifb049feb653d1c345b3d40226e9afb1db877e6a0
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