Commit Graph

434 Commits

Author SHA1 Message Date
fb8a3fac5d loplugin:nullptr: More NULL -> nullptr automatic rewrite
Change-Id: Ie83819e2bcdc5fa160b39296b005ca9a5ff74b1d
2015-12-10 08:06:06 +01:00
2e512174f2 tdf#34449 : ability of deleting borders of a cell from adjacent cell
Change-Id: Ieb13a9ea88faa220d1ee352b0e47268a7fda5f38
Reviewed-on: https://gerrit.libreoffice.org/19715
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2015-12-07 13:49:53 +00:00
958b9a7fbd Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_API
Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d
2015-12-07 09:26:19 +01:00
bb1b341c94 Avoid implicitly declared members of EDITENG_DLLPUBLIC class
...implicit definitions of which, under the MSVC ABI, would need to be emitted
into every editeng .cxx that happens to include this file, but which would fail
for the

  VclPtr<vcl::Window> pWin;

member wherever vcl::Window happens to be incomplete.

Change-Id: I0a1cc61af086f3a3235a995c34834bc131531b84
2015-11-26 12:15:25 +01:00
e78bb6d545 loplugin:unusedfields in include/comphelper,include/editeng
Change-Id: I619c2cf1765df97159fc52ee84e0e9e8d16a22fe
2015-11-24 14:20:25 +02:00
2e9277c050 use unique_ptr for pImpl in editeng/
Change-Id: I43ae9f706db15594b3a0c5cba41436d009588393
2015-11-18 08:35:34 +02:00
fa91dd31f3 5th step to remove tools/rtti.hxx
tools/rtti.hxx removed
completed the interface of some Sdr.*  Items
and removed pseudo items

Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a
Reviewed-on: https://gerrit.libreoffice.org/19837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11 10:49:30 +00:00
217f7f236f loplugin:nullptr (automatic rewrite)
Change-Id: I9fe00eef7ddcd4a3c87e497a8d62f98e71a0d6d8
2015-11-10 10:31:24 +01:00
16e4bbf44c remove remaining boost/noncopyable includes from /include
Change-Id: I2dfed038d97f91df9e86828620df1a46dd158292
Reviewed-on: https://gerrit.libreoffice.org/19773
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-04 08:18:13 +00:00
f57a6593e2 editeng: Eliminate unecessary padding in classes
Edit the order of SvxLRSpaceItem and PaintFirstLineInfo members to
remove unecessary padding due to data alignment.

Change-Id: Icf2c92ef86a32384e51d1cb6f1a079b10995dfd5
Reviewed-on: https://gerrit.libreoffice.org/19763
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-04 08:16:13 +00:00
20635ed90b Reduce scope of #include <tools/stream.hxx>
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27 13:59:10 +01:00
644487a115 loplugin:unusedmethods
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-27 08:20:43 +00:00
fd9d9976bf fix includes that are not stand-alone
includes should be able to be included on their own
fix some of the ones that do not respect
that rule.

Change-Id: Id161224a1978461d3cea43252f232f18888a4f61
Reviewed-on: https://gerrit.libreoffice.org/19612
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-26 21:04:30 +00:00
a673713bb3 more removal of com::sun::star typedefs
Change-Id: Ia73f1b4f1dcfa3f0936359e744afe76e02dcd2eb
2015-10-21 15:10:24 +02:00
e6424f14f3 com::sun::star->css in include/editeng
Change-Id: I2a46f2128ef86ea0d692240b968ea52ab8e09dcc
Reviewed-on: https://gerrit.libreoffice.org/19489
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-21 08:31:52 +00:00
f7764214f2 editeng: add EditView::GetSelectionRectangles()
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-13 16:42:41 +02:00
b36963c0a6 Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
bff4c13475 Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12 17:52:26 +02:00
5dbbb498b5 loplugin:mergeclasses
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07 12:32:23 +02:00
a3eacae95a loplugin:mergeclasses
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07 12:32:23 +02:00
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