Commit Graph

414 Commits

Author SHA1 Message Date
7e776c0027 loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 10:17:02 +02:00
89d39bc100 tdf#94559: 4th step to remove rtti.hxx
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-06 07:29:37 +00:00
a8a812997f tdf#92341 Make Autocorrect entry actually work
Change-Id: I83e028428933e2153b639ca6b34fd69db88fb53f
2015-10-01 14:55:05 +02:00
d344d2b1f5 Fix typos
Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835
Reviewed-on: https://gerrit.libreoffice.org/18955
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30 12:38:10 +00:00
34180700b2 loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
d49430893e coverity#1325077 Uninitialized pointer field
Change-Id: I74121c1cc94edf338cf40a3d186308491e1d2409
2015-09-29 11:10:34 +01:00
32cbfd1add convert Link<> to typed
Change-Id: Ifb8ccbbed6d7d00f15fa8cff5dfdcd5d55de0d5f
Reviewed-on: https://gerrit.libreoffice.org/18773
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-22 18:56:06 +00:00
a829ba593c convert Link<> to typed
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-22 18:55:43 +00:00
5645960113 convert Link<> to typed
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-22 18:55:17 +00:00
a19f981ea1 convert Link<> to typed
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-22 18:54:52 +00:00
c439d55042 remove unused Link<> field
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-22 18:49:07 +00:00
cc3e899fab WaE: this method can be declared static
Change-Id: I1b656cc53f00b866ed6e86d291149e7f1790f26f
2015-09-20 16:28:11 +03:00
3efdb083bf chained editeng: Add Chaining-related UNO attribute
Definition and mechanisms for UNO API.

Change-Id: I7fd3969804ca9b04881ced0b1e43ab6236cbefcc
2015-09-20 13:05:15 +02:00
0c0dedb9e4 chained editeng: Add primitive creation methods for chaining
Change-Id: I061009a6830c3590e30900b14b2d006f68d237c1
2015-09-20 13:05:14 +02:00
e705b13b9b chained editeng: Add interface and implementations for text chaining
Change-Id: I378b96581c2b006eb880ca0f11e7ca76b686846e
2015-09-20 13:05:14 +02:00
fcb5512751 convert Link<> to typed
Change-Id: I5c629821b7f30caba4d182d45f3f3cd0159acc5c
2015-09-17 08:19:32 +02:00
bc9d5eb566 convert Link<> to typed
Change-Id: Ida49b6a482efa12703ce294b9665273ad2d8f68b
2015-09-17 08:19:32 +02:00
7ffa218458 convert Link<> to typed
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
2015-09-17 08:19:32 +02:00
81bec2e553 convert Link<> to typed
Change-Id: I87d4697fe032e3095406becdda026447edd1d68a
2015-09-17 08:19:32 +02:00
c784b1a339 convert Link<> to typed
Change-Id: Ie9f7f6a5dda1fd23558775b643e5b8fa850f4a89
2015-09-17 08:19:32 +02:00
073b5e877e convert Link<> to typed
Change-Id: Ie40dff6f1c40bf1866dc9947479299412abfd5ad
2015-09-17 08:19:32 +02:00
cd015186a0 convert Link<> to typed
Change-Id: I51faff15782238620de5abf424aa237648a5c55f
2015-09-17 08:19:32 +02:00
b98fb89598 convert Link<> to typed
Change-Id: Ied8e0b35f193770a6651f1c57dfb8eedd22d837c
2015-09-17 08:19:32 +02:00
69a06ca6bf convert Link<> to typed
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-16 08:38:55 +02:00
e9e5fee720 tdf#62525 editeng: OutlinerParaObject
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-15 06:28:56 +00:00
4fbda7634b sal_uLong to sal_uInt32 as SvxEditSourceHint ID
Change-Id: Ic53ed8f1b6fd4554259e7b94640bb76b178f52dd
2015-08-29 16:57:04 +02:00
3bc69b1d0d don't write SvxBackgroundColorItem via inherited SvxColorItem::Store
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-27 14:45:02 +01:00
167bc621ef Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-26 11:15:35 +02:00
0db25f68ab remove default value from SfxPoolItem::PutValue
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
2015-08-14 09:16:06 +02:00
4275056a90 tdf#93041: Resolve clashing SID_OFFER_IMPORT vs. SID_ATTR_CHAR_BACK_COLOR
...introduced with c1b9d61bacaf676d69a0f49a79fb086535f79a48 "tdf#88276: Add slot
and handlers for toolbar|sidebar buttons"

Change-Id: Ic63a7766b7f0ccae9144a0ef276e2df63fc22f2e
2015-08-04 18:45:15 +02:00
f17f89aadc include: inline some use-once typedefs
Change-Id: I064e95c72e5f67178cf2875f457adac241cee529
2015-08-04 08:55:57 +02:00
e646e614e2 tdf#88206 replace cppu::WeakImplHelper* etc.
with the variadic variants for editeng.

Change-Id: I28373dd31b8b922f59b99bf1c12faa31c72b9906
Reviewed-on: https://gerrit.libreoffice.org/17416
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-30 13:15:51 +00:00
a45827b230 loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-30 06:23:00 +00:00
4eeeec899f convert RGCHK constants to scoped enum
Change-Id: Iafeae0f85f751469900471cf8fccd5f763407890
2015-07-28 08:35:34 +02:00
95548d827d remove some unused EDITUNDO_ constants
Change-Id: Ia2c2f5f42a9d8e2d6041aac415d253f096d47f43
2015-07-28 08:35:34 +02:00
d29e1960f4 convert EE_ACTION constants to scoped enum
Change-Id: Iaa51c235a2118e0d808400eba622fbe021571b38
2015-07-28 08:35:34 +02:00
38023af6c1 loplugin:unusedmethods
Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a
Reviewed-on: https://gerrit.libreoffice.org/17312
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-24 10:36:20 +00:00
3d2f43438d loplugin:unusedmethods sd
Change-Id: I9b5399ace50db3259df2e619f28ae547a38e6c6d
Reviewed-on: https://gerrit.libreoffice.org/17254
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-21 09:05:41 +00:00
ba9e005e71 editeng: need to prevent MSVC from generating SvxRTFParser copy too
Change-Id: Ia6bea0834ebca3ed51c19c0165a3be1373c46d26
2015-07-20 15:00:58 +02:00
4fc6a0e770 editeng: try to prevent MSVC from generating copy assignment
Change-Id: I9d7928298a6f769f840db51c89ffbe12b443a1dc
2015-07-20 14:00:46 +02:00
a0021a7fbf editeng: replace boost::ptr_vector with std::vector<std::unique_ptr>>
Change-Id: I29923bc78100d4b196d285dd78f664f7bcf3df19
2015-07-20 13:47:41 +02:00
d2726959ff editeng: replace boost::ptr_map with std::map<std::unique_ptr>>
Change-Id: Ia6fce8eceb364d83cbbf5abcf734be262614e792
2015-07-20 13:47:41 +02:00
144d82434d editeng: replace boost::ptr_map with std::map<std::unique_ptr>>
Change-Id: Id59fb4ee59872e60094bde85746416c83f058b00
2015-07-20 13:47:40 +02:00
9f4f237a38 loplugin:unusedmethods svl
Change-Id: If86cc43fda4d138cf7f678d81fa2b35f68f3c03b
Reviewed-on: https://gerrit.libreoffice.org/17162
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-20 06:33:44 +00:00
9b1e55fe02 editeng: replace boost::ptr_map with std::map<std::unique_ptr>
Change-Id: I343071cc29c2041bc98456954b0aa32fff324d82
2015-07-17 20:26:59 +02:00
7ab881a57d loplugin:unusedmethods editeng
Change-Id: I15b2be5a9cd6e72447b674a65eabe9f89cb6ff12
Reviewed-on: https://gerrit.libreoffice.org/17115
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16 08:37:25 +00:00
4cb59a867f Fix IndentingPagesHdl type (and GetIndentingPagesHdl is unused)
Change-Id: Ide5398040678a81e032e91e582b39d516e8c08a8
2015-07-13 11:21:01 +02:00
2970ec8438 editeng: make Link<> usage typed
Change-Id: Iec36c7e4f4fbc2ee2ee25d4d0c8488340ba7d8c4
Reviewed-on: https://gerrit.libreoffice.org/16968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13 06:58:14 +00:00
26ac3ee8b2 editeng, convert to typed Link<>
and remove SvxBrushItem::SetDoneLink since the field it sets
is unused.wq

Change-Id: Ide95a295fa8004f1ddab5e560f01d36d36658a72
Reviewed-on: https://gerrit.libreoffice.org/16943
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13 06:58:01 +00:00
799cc41b53 Fix typos
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0
Reviewed-on: https://gerrit.libreoffice.org/16834
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-07-08 05:48:18 +00:00