summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2015-10-27loplugin:unusedmethodsNoel Grandin
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27Replace boost::bind by lambdas in editeng tree.Mario J. Rugiero
Change-Id: I3e0383757fb50e9223b5b87558e880859de7f396 Reviewed-on: https://gerrit.libreoffice.org/19619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23get rid of erroneous 0x7ff language maskCaolán McNamara
Change-Id: I2b3501967fc0088e0bebf6c366e033c61b652921
2015-10-23more tdf#76964 fall back to primary language via getLanguageCaolán McNamara
Change-Id: I7718ff6f93f704e37e9a046cb07c497b2d533a2a
2015-10-23Resolves: tdf#76964 fall back to primary language via getLanguageCaolán McNamara
instead of bittwiddling which ends up trying to resolve the system language Change-Id: I545bd5e39f99003ddedf3c90031e8b818edc1de2
2015-10-21more removal of com::sun::star typedefsNoel Grandin
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: Id5e399309144b99757e172e69e8e6dbc5fbff365
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I62e0ec63ff09c200e0b621c8b042a976e8ce630e
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-19WaE: loplugin:defaultparamsTor Lillqvist
Change-Id: I65f4cc10c4a3dc5ffc21b64d76dc32f1613a0062
2015-10-19fix cppcheck:nullPointerRedundantCheck commitNoel Grandin
fix my commit 2d64fcf4c8d3316ad9ae2232601678553dcad6a3 "cppcheck:nullPointerRedundantCheck" Change-Id: I0875005d938b43a91e15c564a23d70cb097548a9
2015-10-19cppcheck:nullPointerRedundantCheckNoel Grandin
Change-Id: I00a58a90f96e9eaf681239146213706e278ea5e1 Reviewed-on: https://gerrit.libreoffice.org/19421 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-16editeng tiled rendering: avoid selections callbacks in Paint()Miklos Vajna
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 Grandin
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 Vajna
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 Grandin
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-08editeng, sw, sc: use comphelper::string::join()Miklos Vajna
Change-Id: I9b0a32271a965bc4089720ccb61b26b67ceab7b2
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07Reduce variable scopeStephan Bergmann
Change-Id: I6a8e4b8f132acff5d75859de570a969ad8c3fa4b
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Id6698ecef885e37412dc88f8bdbc25ff0da8af21
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: I211ff9c4f64e97f3b397fe2b384f06d18026e1e4
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ib184b06cbf83ec582aa50fded3795daac37c7869
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ic36598f30efd04b4084c0ffa1f4616687abf4d29
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Id2062ffd309f534f7c0dedf185569cfe5741c303
2015-10-06clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ibec716d78425d32b7341eb608c08202364b84ba4
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
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 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>