Commit Graph

822 Commits

Author SHA1 Message Date
8074841146 fdo#39468 Translate German comments in sc/source/ui/miscdlgs
Change-Id: I3b15d653206e7c55422a08951466916947052a24
Reviewed-on: https://gerrit.libreoffice.org/11155
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-28 01:40:30 -05:00
4d32244437 Avoid possible memory leaks in case of exceptions
Change-Id: Ib4a87cab2729e18b2c830cbd7e7a34d62b5f0f45
2014-08-26 19:47:14 +09:00
30ae83c268 fdo#82577: Handle KeyCode
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.

Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
d21d5a7261 drop unnecessary shl.hxx includes
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
2014-08-18 12:59:49 +01:00
a107bdfdfc ErrorBox->MessageDialog
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18 10:57:21 +01:00
6af3bc396e fdo#79116 make paste special easier to use
This patch adds three short cut buttons to the calc paste special
dialog: paste values only (numbers, strings, dates), paste values and
formats, and paste transposed.

Change-Id: Ie70fbaa28976b2311b1d9cf53b094a5083fb42d4
Reviewed-on: https://gerrit.libreoffice.org/10928
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-08-14 19:50:27 -05:00
660931a019 RID_SCDLG_CONFLICTS conversion to .ui
Change-Id: Ibdfa27e834cd8fba0f732233338e5fba699c1e90
Reviewed-on: https://gerrit.libreoffice.org/10778
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-08-06 15:58:47 +00:00
67fa2dc017 coverity#704706 Unchecked dynamic_cast
Change-Id: I22f376f747ffbb7f559d7e0ea631e2baae92138f
2014-07-26 21:25:17 +01:00
2a17daf8a1 move the retype strings to sc.hrc
Change-Id: I70bbbac0dff8c64bedcf8a46006378291a7fac23
2014-07-11 11:28:11 +01:00
91ebd8825b Convert RID_SCDLG_RETYPEPASS to .ui
Change-Id: I5d6e1ba67bf04c4a10e92f203fcbf36b58a8801c
Reviewed-on: https://gerrit.libreoffice.org/10178
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-11 10:01:30 +00:00
d92aa2f445 remove SFX_APP() macro that was a mer wrapper for SfxGetApp()
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-27 17:08:04 +02:00
37e6631cc5 remove whitespace
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-25 05:41:10 +02:00
e2080e70fe new compilerplugin returnbyref
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
   class A {
     struct X x;
     public X* getX() { return &x; }
   }
which can be:
     public X& getX() { return x; }

Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
45f533aee9 loplugin:staticcall
Change-Id: I670fbcd83e368f2821d37a392cbc007b1f4cd55e
2014-06-13 17:54:31 +02:00
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
4c3b36073a Bin ugly (ab)use of preprocessor in headers (final part)
Finish the work of ec8617568ff091026b2f17cce3b547b1633fa6c4

Only one is left: SC_PROGRESS_CXX

Change-Id: Ifdc07ec377d7a84e92bc4b0a66ab82b1fc93f76a
Reviewed-on: https://gerrit.libreoffice.org/9636
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-06 22:15:20 +00:00
c5abfa5fdf coverity#704706 Unchecked dynamic_cast
Change-Id: I74bced4ccbe2e801fe7a3ef8e2fe0c5c39d2a4fa
2014-05-26 15:52:01 +01:00
c623612b0b Avoid possible memory leaks in case of exceptions
Change-Id: Icc1e11e173329fd88898a3d13270406fd651eb2b
2014-05-18 23:11:14 +09:00
a921d38ad4 No more SetCompileForFAP(). Use respective flag setting methods instead.
Change-Id: Ib2256ebac8a7e63e7e24fb35d13d47b811bd8e19
2014-05-14 13:15:11 -04:00
860061de92 coverity#705841 Dereference before null check
Change-Id: I3b0f7530739a084f22f66313c3e1ffe2d60768ea
2014-05-11 21:06:00 +01:00
6074a4f72c coverity#705840 Dereference before null check
Change-Id: I732ded8a169b9bd0be85b193928a39c0a215ec36
2014-05-11 21:06:00 +01:00
2bac61013e fix-includes.pl: sc
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-05-11 01:55:39 +02:00
4f9b21248f simplify ternary conditions "xxx ? yyy : false"
Look for code like:
   xxx ? yyy : false;
Which can be simplified to:
   xxx && yyy

Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
f6b53bb08e coverity#1210199 Uninitialized scalar field
Change-Id: Ia07d39191a4676f0ba2381bde0a03925bb6c8931
2014-04-29 11:39:30 +01:00
6dda3d45c9 sc: sal_Bool->bool
Change-Id: I70aad0b38979f45a313b8ac36890fb6c64d11bb0
2014-04-23 11:11:51 +02:00
aa39d21107 clean up hrc files
Change-Id: I76756fe539589d2ab086fd1f1aeec50a9f39af37
2014-04-22 13:03:18 +02:00
699148abdb CID#1093227: check for (unlikely) null return value
Change-Id: Idca2df07ffdc41b67bf7e126ebec3243501b9cb5
2014-04-15 20:11:51 +02:00
c4c51709ea whitespace cleanup in sc
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
2014-04-06 17:19:54 +02:00
5f0321b3d0 fix creating com.sun.star.sheet.Solver instance
Change-Id: I100d45b8f749ece5496d8e5a0e3343dee96f7138
2014-04-04 15:44:32 +02:00
85ed65f839 coverity#1194921 Overflowed return value
Change-Id: I872835c3a20eda807d571fa27794dbe2bf858e7a
2014-03-30 21:21:30 +01:00
cbedb5a642 coverity#1194916 Overflowed return value
Change-Id: I26614f6d95276ec2b3b57301bd38ac53ea8f225d
2014-03-30 21:21:29 +01:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
436cd90095 svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
f516cff220 Avoid possible resource leaks by boost::scoped_array
Change-Id: I7b72c5680d5665b3f1f720f50a2d3ea6fc0c3e39
2014-03-24 03:10:18 +09:00
71c88f02a0 sc: prefer passing OUString by reference
Change-Id: I85e8823e872bf53182ce90576225e462edb1930a
2014-03-17 13:30:50 +02:00
5fe7ecc04f sfx2: sal_Bool->bool
Change-Id: I56a50ee4a169c8f82c830ebf498f7ead1335f0b5
2014-03-14 07:50:34 +02:00
69f0c5f03e convert calc autoformat dialog to .ui
this dialog is hauntingly similar to the writer
one, a copy and paste job

Change-Id: Ic873038dba4ca4fd737690b917f6cd0d5144218a
2014-03-06 11:26:40 +00:00
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
794f5c6874 remove unused code ScSimpleRefDlg::GetRefString()
Change-Id: I1d5660560844e6e05be7ac20af3a420cae7de2b5
2014-03-05 09:17:51 +02:00
84862db95a Remove visual noise from sc
Conflicts:
	sc/source/ui/inc/docfunc.hxx

Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8
Reviewed-on: https://gerrit.libreoffice.org/8301
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-03 11:04:44 -06:00
1849f54b45 coverity#704707 Dereference after null check
Change-Id: I28bf5dfb37b1283e6f04b44841395f49542a0f47
2014-03-02 20:08:18 +00:00
fd997b360f coverity#1187869 Uninitialized pointer field
Change-Id: Ie516d7850b2d415c7d16a2f46f4d552bd14d546f
2014-02-27 12:58:49 +00:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
b32658e7c4 cid#708091 Uninitialized pointer field
Change-Id: Ibc068d4a077d3715f4f8c28d20f53167686cbbee
2014-02-21 11:59:11 +02:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
ee5a859262 sal_Bool->bool
Change-Id: If54ff898eab251c44901de67280e6d7fcb491966
2014-02-19 13:05:08 +02:00
3ee9f196a1 sal_Bool->bool
Change-Id: I14854ed1c5e4fe7789a410b6073abef514bb15e6
2014-02-19 13:05:07 +02:00
9d03b8e998 sal_Bool->bool
Change-Id: Ifc8520239c95433218f2676106759f8ee809d42c
2014-02-19 13:05:05 +02:00