Commit Graph

14344 Commits

Author SHA1 Message Date
f586542c3d Related: #i57936# Added refresh to update LayerTabBar...
when attributes like Layer visibility were set

(cherry picked from commit 2f6673f38d76df1a26c658b20e9c180c7bfd4d14)

Change-Id: Iafc6be8070b69a01a80425fdafa2c55e7560f924
2014-03-01 11:29:59 +00:00
b1cf64fe51 Resolves: #i87182# secured usage of LayerTabBar in Draw...
ensured initialization when used as OLE

(cherry picked from commit 903afaa8ea0766e01ba41a227d2794c2c40b129a)

Conflicts:
	sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
	sd/source/ui/view/drviews3.cxx
	sd/source/ui/view/drviews7.cxx
	sd/source/ui/view/drviewsb.cxx

Change-Id: I86bb17bf422356247a319f89e54d1ead97b368b8
2014-02-28 16:51:04 +00:00
757996c46e WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'
Change-Id: If6112c0b91bd040830818a69e599dfbce315d271
2014-02-28 14:44:21 +02:00
ba9562d6b4 coverity#1187866 unused bStartWithActualPage
Change-Id: I62b44a640ab6f21d51613672f46cb2e612b300f3
2014-02-27 12:58:48 +00:00
d9404f150d coverity#1187661 Unchecked dynamic_cast
Change-Id: I66f8382c7dd7ab8d115204fe45d6a33ff77adb78
2014-02-27 12:58:26 +00:00
44c90b3d75 Improve usability of the outline
If you had data in the outline and would scroll to the bottom then it would be
an empty view at the bottom. The width of the outline was defined as a fixed
with twice. Once in the outlnvsh and one (even smaller) in the outlview. I have
changed the with of the outlview to take the with of the outlnvsh.

Change-Id: I1376a135acd92dbe8966b29ccb075e6b74412a8c
Reviewed-on: https://gerrit.libreoffice.org/7832
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:27:54 -06:00
c521f07208 editeng: sal_Bool->bool
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27 12:30:30 +02:00
2a4a74a499 editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
2014-02-27 12:30:28 +02:00
57779aa019 editeng: sal_Bool->bool
Change-Id: Id4174904487fc153d8e80471da7c829c52092f78
2014-02-27 12:30:26 +02:00
ef16d954c2 editeng: sal_Bool->bool
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-27 12:30:25 +02:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
6fc2bd0094 Fixup whitespace changes, remove commented code.
This is a light touchup of 2ef9df8aee696993d9eb235fd36caa4cbcfd3624

Change-Id: Icfaf6fb0111c85b5f78010b16bdda0e237419323
2014-02-26 17:50:46 +01:00
2ef9df8aee Remove visual noise from sd
Change-Id: I0957cabd66ddc4e25c7e6ff54ec2a555eda0792c
Reviewed-on: https://gerrit.libreoffice.org/8306
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 06:53:03 -06:00
27c3b8bca2 Don't write compound header to zero length files
Change-Id: Ie964ca8b870714d1c3e92469a771fab9a71f0633
Reviewed-on: https://gerrit.libreoffice.org/8220
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 16:23:32 +00:00
011df3eeee coverity#983796 Uncaught exception
Change-Id: Idba161eb74fb9b474b2f41fbc0fdf0eef55b7599
2014-02-25 16:12:23 +00:00
6fbe00f9b6 coverity#983702 Uncaught exception
Change-Id: I3a0b4c8fe4208d0945860f6b4e1b31852aef8502
2014-02-25 16:12:23 +00:00
94ffeed68f coverity#737807 Uncaught exception
Change-Id: Ibee829b4d2cc4d93453f47cc59dfbaec012ffc6e
2014-02-25 10:45:26 +00:00
76e14408ab coverity#737805 Uncaught exception
Change-Id: I61ca610f7183d7e72a5b36fb0bf1fe0fcd1210fe
2014-02-25 10:45:26 +00:00
47f4eead5d coverity#737802 Uncaught exception
Change-Id: I844e712f82890a4018c4ae45e7d79daaf4f6937a
2014-02-25 10:45:26 +00:00
75864819af coverity#737772 Uncaught exception
Change-Id: Idbff7a4dd1da93d16f85325ae992efce0b37dfee
2014-02-25 10:45:26 +00:00
c47496fdf9 Add config_libraries.h definitions to get library names easily.
Works for libmerged too, so we can get rid of LIBO_MERGELIBS.
And remove few more #defines in vcl.

It's generated by gbuild, so probably abusing config_host directory.
Open to improvements.

Change-Id: I87ab109bf109e42751766011daf076e9cdf8f5ee
2014-02-25 09:05:09 +01:00
523fcec55d Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I72b0e8b07bd7309a23d5635b7e0b7dbdc9c2c721
2014-02-25 11:15:06 +09:00
76b114f849 implicitboolconversion: warn about implicit conversion of call args to bool
...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f
"sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it"
earlier when converting occurrences of sal_Bool to bool.

Restricting this check to function call arguments avoids too much noise while
hopefully still catching all the relevant problems.

(This check partially overlaps the pointertobool check, so implicit conversions
from pointers to bool call arguments will now generate two loplugin warnings,
but that's harmless.)

Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24 17:25:05 +01:00
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
b7259532d8 Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
2014-02-24 08:08:00 +01:00
ad73967e99 Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24 08:08:00 +01:00
3b45f92ba6 Resolves: #i119985# date/time is displayed as different language
(cherry picked from commit 977a050343fc836fc3e7bd876afaee931c47252c)

Change-Id: I1f31f6731353b2d8b8fd684fc6ea29becfd4a814
2014-02-23 21:01:19 +00:00
8d5def6dc4 coverity#707114 Uncaught exception
Change-Id: I556c326e537faeb3d125a0a8f1cb0c749df29f24
2014-02-23 15:33:48 +00:00
379b98741a coverity#707113 Uncaught exception
Change-Id: I612503ef40682820821dbf61dd12afbc62e4eb39
2014-02-23 15:32:57 +00:00
66c8930012 coverity#704737 Dereference after null check
Change-Id: Icf30f9acf70c0dd367bad3f5711e71d9ab125ce9
2014-02-23 14:47:18 +00:00
6cccfd6c63 coverity#704736 Dereference after null check
Change-Id: Ib11b59696135f29375ec53332c526f0b5bcd638d
2014-02-23 14:45:55 +00:00
ad346fb791 coverity#704735 Dereference after null check
Change-Id: Ib2804949024dc3967d3eb2bcc7a82844f225be2f
2014-02-23 14:43:37 +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
599472a13e at least fix the crash when calling SdXImpressDocument::dispose for now
Can an experienced Impress developer please check the crash?

Change-Id: I84f532dde6aa61b997b949f6d7ef55026ced604c
2014-02-23 01:59:40 +01:00
2955607604 loplugin:literaltoboolconversion
Change-Id: I8e99c9c2566af224566c704982b43bf8565f49a2
2014-02-22 11:57:00 +01:00
c7a6e0645a coverity#1132721 fix exception specs
Change-Id: I1c499f8b994d29e265a66f4219d4c3fddb237a89
2014-02-21 15:30:27 +00:00
ad0c4bf579 Related: #i123197# Fixed selection problems when switching...
between normal and master mode.

(cherry picked from commit 163d414311b0c8bcb1b0ad7c7cbf364e0ad4e4c4)

Change-Id: Ibabee4c67367c367a9ce1c5afffa76efa3f66bd7
2014-02-21 15:30:24 +00:00
eb7e473e79 coverity#738812 Uninitialized scalar field
Change-Id: Ia3c46e5c2f443cd7fb196f651e2ae0b22816c769
2014-02-21 12:40:24 +00:00
7be107378b coverity#738813 Uninitialized scalar field
Change-Id: Ibd63cdba123a1171b40780bb8a9ab6ef1af6e8a0
2014-02-21 12:40:24 +00:00
11a671ac5b coverity#738815 Uninitialized scalar field
Change-Id: I64379b438718ac1043fe7583a9eba966d8d83853
2014-02-21 12:40:23 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
b7180bd14f editeng: sal_Bool->bool
Change-Id: Ia9b76985ea0b9c511208b8283c8487c89aa67b88
2014-02-21 12:19:24 +02:00
32ef676504 editeng: sal_Bool->bool
Change-Id: I1b215ef78bcade675a2f80def0d6d5afe0ff3d2c
2014-02-21 12:19:23 +02:00
4692d28e90 sal_Bool->bool
Change-Id: I83a9267cc461c2921b5da04a1122539ba0ac7d2d
2014-02-21 12:19:19 +02:00
5c3a6d383e callcatcher: update unused code
Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
2014-02-21 09:05:21 +00:00
dbfc495a9a Add config option used when we try to link one huge object file.
In theory, it should not be used, we use it now to mark duplicated
symbols from sdi slots as weak. See idl/source/objects/types.cxx.

Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
2014-02-21 07:52:24 +01: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
52e99e9e95 Rename functions to avoid name collisions more generally.
Luckily, in this case it's easy to find the only place where we load the symbol.

Change-Id: I224fd1e08f268095f8be58b089a643d434bc7a98
2014-02-20 11:24:21 +01:00
bce04e5193 cid#1078827 Dereference before null check
Change-Id: Id35992113a8e8f2d06bda7f2287227afeec62313
2014-02-20 09:31:13 +02:00
c39c621978 cid#1078825 Dereference before null check
Change-Id: I9daa1e3a294db0b205fe5b2ec247bbf550d2dca1
2014-02-20 09:31:13 +02:00