Commit Graph

343183 Commits

Author SHA1 Message Date
Stephan Bergmann
6f9976db93 bool improvements
Change-Id: I266d7ce86a30cedd1ae388a69b87f1b43d96e00c
2014-01-28 20:26:19 +01:00
Stephan Bergmann
2cfe889453 bool improvements
Change-Id: I7b599df68b5004b5a1c9e5328e40d07bf3f388b4
2014-01-28 20:26:19 +01:00
Stephan Bergmann
c1d37365c4 bool improvements
Change-Id: Iede12ed1e35581cf48d64b898f22949d0c1aa6de
2014-01-28 20:26:19 +01:00
Stephan Bergmann
946f6132f9 bool improvements
Change-Id: If3d99591d9da95c5c64de416e4d2e72ec4295d69
2014-01-28 20:26:19 +01:00
Stephan Bergmann
aee7aa2b5c bool improvements
Change-Id: Iae9e3840b89b6204fc458226ba0e046d5303dd52
2014-01-28 20:26:18 +01:00
Stephan Bergmann
ff4e258ba2 bool improvements
Change-Id: I6caec041ce671aeeb9de86ea620774fb2e28f765
2014-01-28 20:26:18 +01:00
Stephan Bergmann
25570b1853 bool improvements
Change-Id: I550337b24e6efe96bb8ac40bd6e574065e84b135
2014-01-28 20:26:18 +01:00
Stephan Bergmann
fa189d7447 bool improvements
Change-Id: I238ab0ebe54cc804c85356a3de9fbdcc396057d3
2014-01-28 20:26:18 +01:00
Stephan Bergmann
9d1c20259f bool improvements
Change-Id: I7020537797b181b0fcbf78de3d7b962b96744895
2014-01-28 20:26:17 +01:00
Stephan Bergmann
b4c2496f44 bool improvements
Change-Id: Ia3fd76aa70564cbc683d0d66cc39aa368bea29d9
2014-01-28 20:26:17 +01:00
Stephan Bergmann
5b70503620 bool improvements
Change-Id: I27174aeadb37e56c701c46fe7f97853b98ba7333
2014-01-28 20:26:17 +01:00
Stephan Bergmann
0d957046f1 bool improvements
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
2014-01-28 20:26:17 +01:00
Stephan Bergmann
bd9581d46d bool improvements
Change-Id: I23e29995bc7af791067de4996923b6279f7f8892
2014-01-28 20:24:40 +01:00
Stephan Bergmann
9d29f9913f bool improvements
Change-Id: I6cf511b92383f3cd60923620518b9233b82850c0
2014-01-28 20:24:40 +01:00
Stephan Bergmann
c35616dd73 bool improvements
Change-Id: I4a09bffccc0049d81ea3113e79184f64b026a4ba
2014-01-28 20:24:40 +01:00
Stephan Bergmann
f0dc6cda75 bool improvements
Change-Id: Ib0f16e57ce84a40412fd95bffd4f41a113810a96
2014-01-28 20:24:40 +01:00
Stephan Bergmann
6bdd60462f bool improvements
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
2014-01-28 20:24:39 +01:00
Stephan Bergmann
ead1525417 bool improvements
Change-Id: If35c939adede6a912dee14714a7ceeab84ac977e
2014-01-28 20:24:39 +01:00
Stephan Bergmann
1b574435a5 bool improvements
Change-Id: I17c451d33d6d5e4edf0304ff47d63ac878d7e5d9
2014-01-28 20:24:39 +01:00
Stephan Bergmann
0b4e1c9402 Fix apparently broken OSL_ASSERT (that would have never fired)
Change-Id: I5db308219aab173c5ed27c2f61908472aa1b697e
2014-01-28 20:24:39 +01:00
Stephan Bergmann
91de3d1a75 Better check this with a static assert
...check had been introduced with ac14ac29a4
"fdo#69450 - IDF_ATTRIB & IDF_CONTENTS must be disjoint" but confuses
compilerplugins/clang/literaltoboolconversion.cxx.

Change-Id: I6577e127a02b9007d098dc6201e48e8dbd5b6a55
2014-01-28 20:24:38 +01:00
Stephan Bergmann
d18827e266 Presumably "eType ==" is missing here
Change-Id: I7af8cabac09369a9be605413b799289d48cb3f57
2014-01-28 20:24:38 +01:00
Stephan Bergmann
f4aadeac07 Fix apparently broken OSL_ASSERT (that would have never fired)
Change-Id: Id766129caefc845d3c9318ee0d9178657200d226
2014-01-28 20:24:38 +01:00
Stephan Bergmann
c1be13dafe Apparently missing "cChar =="
Change-Id: Id99ed7633e960bc690b3e37e958485486658f88a
2014-01-28 20:24:38 +01:00
Stephan Bergmann
16d83688f8 Fix apparently broken OSL_ASSERT (that would have never fired)
Change-Id: I0a79282466879f00f47e00aa646f827dfe028712
2014-01-28 20:24:37 +01:00
Stephan Bergmann
6d4181b152 !STATE_CHECK shall presumably be STATE_NOCHECK
Change-Id: Ic037c105a8867585489671bab71a6db9186bada4
2014-01-28 20:24:37 +01:00
Stephan Bergmann
21e8b11070 Fix odd bSimple = ThreeDLookScheme_Simple arguments
...where ThreeDLookScheme_Simple == 0, so actually passing bSimple = false, but
ultimately this argument gets ignored anyway in the implementations of those two
getDefault*LightColor calls that each pass in a null xChartType.

Change-Id: I7940321562254a2b58064c160f9c18ecc129f2d5
2014-01-28 20:24:37 +01:00
Stephan Bergmann
b777130dba Fix apparently broken OSL_ASSERTs (that would have never fired)
Change-Id: I10c5152ca09be49625f960e6dc3228ec2284ce58
2014-01-28 20:24:37 +01:00
Stephan Bergmann
98bb12e112 Apparently missing "nPos <"
Change-Id: Id334f044d475de7ef14503e1a45190a0021d58be
2014-01-28 20:24:36 +01:00
Stephan Bergmann
460c15be2e Apparently broken bitmask operation
Change-Id: Id4dfa3d4676b50a86fd6044d501de15b122bb7f1
2014-01-28 20:24:36 +01:00
Stephan Bergmann
11be200a8e Whatever this dead code was ever supposed to be good for
...it would never fire as ARGS_ARE_XY_VALUES is a non-zero enum member.  The
code had been like that since the initial import.

Change-Id: Icc3c329218b3105123b2a1448ff9a2838ecd4912
2014-01-28 20:24:36 +01:00
Stephan Bergmann
645751bcab Apparently broken bitmask creation
Change-Id: I001a529b6690fe421d626133e0257c71df1d5ddf
2014-01-28 20:24:36 +01:00
Stephan Bergmann
62e67d1a0a Apparently broken bitmask checks
Change-Id: Ie5749b43de5e47cfede4662e346dee194c454b2f
2014-01-28 20:24:36 +01:00
Stephan Bergmann
3a5ad6fd36 Apparently missing "== nError1"
Change-Id: I9096e00db4c94b318406b022f675bb866f568d7e
2014-01-28 20:24:35 +01:00
Matúš Kukan
945c08e35e using cppu::WeakComponentImplHelperBase::rBHelper; does not work here
Change-Id: I07422d10f7a3e84fdbe62e93b6c5a59323d8a7a8
2014-01-28 20:10:39 +01:00
Matúš Kukan
fb92c8d6a4 copy&paste typo
Change-Id: I528a6a747e88fe2a4b4abfd9372daddf4e8aa502
2014-01-28 19:47:27 +01:00
Matúš Kukan
d3dce837fa fwk: Constructor feature for one instance UICommandDescription.
Change-Id: I3b772ce36492e89451597b3c7dadc5e5b5b22de7
2014-01-28 18:52:23 +01:00
Matúš Kukan
ba8413d262 Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
Matúš Kukan
b2c89e7236 fwk: Constructor feature for one instance UICategoryDescription.
Change-Id: I56c906c9eeafb625dee65eec9fe39ea3aee66251
2014-01-28 18:52:22 +01:00
Matúš Kukan
54f606c666 Introduce com.sun.star.ui.theUICategoryDescription singleton.
Change-Id: I79a78f208b2aa5eaacbd2e349b2b5066afa1ad23
2014-01-28 18:52:22 +01:00
Matúš Kukan
dd1c991bd9 Introduce com.sun.star.frame.theAutoRecovery singleton.
To replace com.sun.star.frame.AutoRecovery single-instance service,
incorrectly converted in 279859fdbc

Unfortunately needs a lot of changes in autorecovery.cxx.

Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-28 18:52:21 +01:00
Matúš Kukan
3774a6fd94 Support direct ctor calls for singletons too.
Change-Id: I6db797c950b8222b3ad95faff86adf5e7b41ff4b
2014-01-28 18:52:21 +01:00
Stephan Bergmann
478ec0126b This has always only converted the condition of ?: to long
...not the resulting value, and seems unnecessary anyway.

Change-Id: I8c58b180af2bd36f2c3dbcad888c3dd0b9e4c87d
2014-01-28 18:31:05 +01:00
Kohei Yoshida
67cab85483 fdo#74014: Better fix, to re-use existing method.
Change-Id: Ib62270f695d90190be03aed694a4d2cf395b35b5
2014-01-28 12:13:52 -05:00
Caolán McNamara
d7a10b9c99 coverity#707723 Uninitialized scalar field
Change-Id: I137d29a05efaa4b709a362a02ca0c78bd7a3e048
2014-01-28 17:06:24 +00:00
Caolán McNamara
be3df1df76 coverity#707747 Uninitialized scalar field
Change-Id: I6bc4dbdd46a945d77b85ef8ec9c6333784cd0039
2014-01-28 17:06:24 +00:00
Jan Holesovsky
ba9b0e9c1a hidpi: Set the mnDPIScale during initialization too, of course.
Change-Id: I71b4607d08c7f764670903c5c8e66f451fe2eb57
2014-01-28 17:12:40 +01:00
Caolán McNamara
780eb9f704 Related: fdo#73051 make font size drop down of optimal width
presumably keithcu felt the font size was too wide, so lets
try and implement the desired effect of an optimal width.

Change-Id: Idc1741de04b3559fa415ebcf2289f96ba240ca8f
2014-01-28 16:55:18 +00:00
Caolán McNamara
677a42301e coverity#705167 Missing break in switch
Change-Id: Ia87d4dce6780ce1f69b031599c1a211436f4f819
2014-01-28 16:55:18 +00:00
Stephan Bergmann
424717f44c MSVC apparently does not pack bitfields of different type
...so c963d7e642 "bool improvements" changed the
size of some structs in sw/source/filter/ww8/ww8struc.hxx that are used for raw
IO and thus have fixed layout requirements.  Reverted that part of the commit
and instead use explicit conversion between bool and sal_uInt16 where necessary.

Also added static asserts for those structs that were easily identifiable as
being used for raw IO.  (Also reverted the bools in some other structs that were
not (easily) identified as being used for raw IO even if that might thus not be
necessary, but better safe than sorry.)

Change-Id: I60e17a2821d67961f50691625999f2aa72c5ebce
2014-01-28 17:14:22 +01:00