Tor Lillqvist
bdd22c4e53
WaE: C4101: 'unused' : unreferenced local variable
...
Change-Id: I511c2df37c7feda8a3ffa311074bcf2fe669a73a
2014-10-28 20:49:54 +02:00
David Tardon
ddc7f5dda5
fix build on android-arm tinderbox
...
Change-Id: If528f3cbaab66ceec07e35b479b4fe2ed55aa3c7
2014-10-28 19:02:37 +01:00
Juan Picca
2ce0aedede
fdo#81356: use boost::rational internally in Fraction
...
Change-Id: I6f40eafee7652209395bd471e3508fe3a3d19d73
Reviewed-on: https://gerrit.libreoffice.org/12085
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2014-10-28 17:15:10 +00:00
Kohei Yoshida
8c5f640308
Move these headers from include to svx; they are not used outside svx.
...
Change-Id: I8685b451a39e890250a3309ddb70346bac4084b2
2014-10-28 12:58:49 -04:00
Stephan Bergmann
2b4ffd8e33
Fix -fsanitize=signed-integer-overflow (when long int is 32-bit)
...
Change-Id: Ia6f1b60108784660c4a2dfd311592207e6bf5d88
2014-10-28 17:42:48 +01:00
Stephan Bergmann
acd62e055e
external/icu: workaround -fsanitize=signed-integer-overflow warnings
...
Change-Id: I7d8e3be80f04ec0a9d1dbd394ac0e2ab2f1a4551
2014-10-28 17:29:53 +01:00
Miklos Vajna
431d2e3aaf
cui: clean up gradient parts of the background tab page
...
I forgot to clean this up when cherry-picking
6e61ecd096
(Merge back branch
alg_writerframes to trunk, 2014-03-19).
Change-Id: I531dea63d3b62d16f11d414758012432bb4b2503
2014-10-28 17:23:46 +01:00
ᚉᚐᚑᚂᚐᚅ McNamara
911faa4db7
coverity#1242844 Untrusted loop bound
...
Change-Id: I64a805503d0c044b5c5a80df1513e35df5c39171
2014-10-28 16:10:42 +00:00
Caolán McNamara
d49755ba3a
lastAnchorPos got renamed to mpLastAnchorPos
...
Change-Id: Icfb055123e049cdc16a5825e4be4f18a42d6cb7f
2014-10-28 16:08:31 +00:00
ᚉᚐᚑᚂᚐᚅ McNamara
5356d06f5c
coverity#1242796 Untrusted loop bound
...
and throw ogham at the bugzilla bot for kicks
Change-Id: I50cdf676e59e4e966f999218837dabfdd2008b6e
2014-10-28 16:04:48 +00:00
Miklos Vajna
6cee94ba6b
fdo#84692 SwXAutoStyleFamily::insertStyle: don't throw on unknown property
...
Regression from commit 7d9bb549d4
(Related: #i124638# Second step of DrawingLayer FillAttributes...,
2014-06-02), the problem was that the new branch (used for paragraphs)
in the method does not tolerate unknown properties (it throws), while
the behavior was just a warning.
Adapt the new branch to the old behavior, so that the document can be
opened again.
Change-Id: I5d849987602fb8aa0cbbda92ce07c050067473b3
2014-10-28 17:02:13 +01:00
Andras Timar
5f447bb015
fdo#37960 fix shift+click to select multiple drawings
...
I simply didn't get the logic behind calling GotoNextFly(). It caused
not only this bug. For example Ctrl+click on a background text frame
did not select the text frame, but an image on the previous page.
Change-Id: I85ccbbda2f324de55417d6199b4abe79e59bf295
2014-10-28 16:46:05 +01:00
Caolán McNamara
e9566f27c8
fix a big pile of the crash tester .doc import failures
...
wrt the blasted SwIndexReg dtor assert
Change-Id: I4b3eeab76d5d76f7b769b458baeadbc0a9bd4238
2014-10-28 15:25:48 +00:00
Miklos Vajna
9b01059f6e
SwXTextPortionEnumeration ctor: avoid dynamic_cast in the common case
...
For a document of 1000 pages and with 1000 bookmarks, this brings a
considerable speedup on ODF export:
before:
real 3m28.187s
after:
real 2m51.565s
Change-Id: Ic3f85c727a8ea4b5012d5c3f0a5887ff47762fb8
2014-10-28 16:09:07 +01:00
Caolán McNamara
7acb634f58
Resolves: fdo#85081 terminate if can't load kde addressbook
...
Change-Id: I3b1b78127d7d4080a23c0ac9f7d37706197de62c
2014-10-28 15:06:36 +00:00
Caolán McNamara
aa0499cefd
coverity#982593 experiment with silencing Infinite loop
...
etc.
Change-Id: I1548d60280ab4f74fe023d026435a05f7865b516
2014-10-28 15:06:36 +00:00
Caolán McNamara
9e67149741
coverity#735332 Unchecked return value
...
the !isAfterLast should be sufficient
Change-Id: Iab45b70c24ae1f90c38178d261e467d9b1e3fa6c
2014-10-28 15:06:36 +00:00
Caolán McNamara
5651dd471e
coverity#1157745 Unchecked return value
...
Change-Id: I06e8e946063dc54335f3b672105d5cd0b3ff71a4
2014-10-28 15:06:35 +00:00
Caolán McNamara
664d05f8a5
coverity#1078486 Unchecked return value
...
Change-Id: I762796b848aa8d8dd35b401e03bf40af18fb8e72
2014-10-28 15:06:35 +00:00
Caolán McNamara
85d0d3d0c2
coverity#1078448 Unchecked return value
...
Change-Id: Icbdd0b6b19a91a3339c8635c112729b46232069e
2014-10-28 15:06:35 +00:00
Caolán McNamara
2eab2dac4e
coverity#735309 Unchecked return value
...
Change-Id: I15cbfb15054962998a058da1381a84bb667944ef
2014-10-28 15:06:35 +00:00
Caolán McNamara
f338acb77c
coverity#735305 Unchecked return value
...
Change-Id: I0f03b67a5df3427e78f70f2b86aba26024ea575f
2014-10-28 15:06:34 +00:00
Caolán McNamara
459e080067
coverity#704090 Unchecked return value
...
going to assume that this is correct
Change-Id: I47072dc668f200eacf0f6a6d7ccdad0c9d6bfa68
2014-10-28 15:06:34 +00:00
Caolán McNamara
313e304b67
coverity#704089 Unchecked return value
...
rework code a little to help coverity out
Change-Id: I4aa253a579153ad389d4667a9676fff04aa00a34
2014-10-28 15:06:34 +00:00
Caolán McNamara
7694719ce2
coverity#704086 Unchecked return value
...
following check is sufficient
Change-Id: Ibcf53293c8e862ab823ed422d1a7a59dcc0977cf
2014-10-28 15:06:33 +00:00
Caolán McNamara
5d78c65851
coverity#704085 Unchecked return value
...
other patterns aren't really the same as this one
Change-Id: Ie26fd5c01d156004f755017a859679e904a29520
2014-10-28 15:06:33 +00:00
Caolán McNamara
d1f00da63c
coverity#704072 Unchecked return value
...
Change-Id: I3bd198fc21bb414a0b80e8234e22782e24e0477e
2014-10-28 15:06:33 +00:00
Caolán McNamara
98b83c6a29
coverity#704067 Unchecked return value
...
and
coverity#704068 Unchecked return value
those are ok I think
Change-Id: I7869c3f4200792d4bafafdff49735e8563d2e822
2014-10-28 15:06:33 +00:00
Caolán McNamara
bdec3d22b6
coverity#704066 Unchecked return value
...
that's ok I think
Change-Id: Ie8dd3b938a058d771791471833fde4ef4ceef252
2014-10-28 15:06:32 +00:00
Caolán McNamara
576aff2aa8
coverity#704052 Unchecked return value
...
that's ok I think
Change-Id: I8ad2f3eab55d5a5907c431532768c9080fccfcf5
2014-10-28 15:06:32 +00:00
Caolán McNamara
ea7a0b359c
coverity#704001 silence Unchecked return value
...
that's definitely ok, it returns if its an
advanced query, and we don't care as we're going
to force it to be anyway
Change-Id: I5c5fec3f0978bc7f66db0b746dd69b60dc4c9026
2014-10-28 15:06:32 +00:00
Caolán McNamara
8e3e99bbad
coverity#703988 silence Unchecked return value
...
its not really like the other checked patterns
Change-Id: Ied788b5bad93581bf687d7b3d230971095959bb1
2014-10-28 15:06:31 +00:00
Caolán McNamara
04343704ae
coverity#1000600 Division or modulo by zero
...
Change-Id: I38fb8a7072eb7905f5dccc8697b3176d8b34c6c2
2014-10-28 15:06:31 +00:00
Caolán McNamara
1f6aefcf2d
coverity#1242531 Untrusted loop bound
...
Change-Id: I94308a517028a62ecf7018f6d7a4e9d37c0f56a6
2014-10-28 15:06:31 +00:00
Caolán McNamara
95e93e9a16
coverity#1242653 Untrusted loop bound
...
Change-Id: I911685ea84e0b2dbee1f18aaba425f5d18677687
2014-10-28 15:06:30 +00:00
Caolán McNamara
4aa33cac14
coverity#1242656 Untrusted loop bound
...
Change-Id: I229701ad12d33f2fe73b2db5fce217abbb6ea155
2014-10-28 15:06:30 +00:00
Caolán McNamara
4673bbef97
coverity#1242656 Untrusted loop bound
...
Change-Id: I1b06497065fa52b928f99c2955391af68f4ff1b7
2014-10-28 15:06:30 +00:00
Stephan Bergmann
1f03a8d48c
external/icu: workaround -fsanitize=signed-integer-overflow warnings
...
Change-Id: I44b5d74a3c1addaec77e724a3e7356e3648fc10c
2014-10-28 16:00:16 +01:00
Stephan Bergmann
3025a28bc2
external/icu: More workaround UBSan flexible array member detection
...
Change-Id: Ie83e3104bd639be42ac0c6e25fc2eafd88cf0c6f
2014-10-28 14:33:46 +01:00
Tor Lillqvist
1b1c11f519
Bin dead and commented-out code
...
Change-Id: I4c3d666155af4bd36e819c077f660a30dbe72cdb
2014-10-28 13:42:43 +02:00
Tor Lillqvist
e901c15c63
Bin unused SingleVectorFormula and DoubleVectorFormula types
...
Change-Id: Ia71a4aec6097a6dd07716438d7647dff4252e190
2014-10-28 13:34:30 +02:00
Tor Lillqvist
7aa411f0b4
This is C++
...
Change-Id: I10e8be566fc0814e81938b878e14849cfef31986
2014-10-28 13:32:16 +02:00
Tor Lillqvist
ca0670c5bb
Bin unused cl_kernel_function typedef
...
Change-Id: I42c944bdeb93dd0fdbc582ef48d8722380915bf1
2014-10-28 13:26:00 +02:00
Tor Lillqvist
ed929e63aa
Bin unused strcasecmp macro
...
Change-Id: Ia6f24bb6e84680aa0f8ba4709a16dc41df05ccdd
2014-10-28 13:25:10 +02:00
Tor Lillqvist
af0694e645
If we #define MAX_CLKERNEL_NUM 200, we know that it isn't <= 0
...
Change-Id: Ieadc73ce2bd6f7d11b434312d3ff872a1489307a
2014-10-28 13:22:32 +02:00
Tor Lillqvist
c22b6d1d13
Bin unused macros
...
Change-Id: I3a9ae0187e7421aaccdbdd93b5a9c916bfbbc738
2014-10-28 13:21:52 +02:00
Tor Lillqvist
cce9bc2390
Bin unused macros
...
Change-Id: I71aa24b21d7f39fd5ae65615a94a70ab3a8ed4e2
2014-10-28 13:19:25 +02:00
Tor Lillqvist
726ff5d2e8
Bin unused OPENCLWRAPPER_CL_MAP_WRITE_FLAG
...
Change-Id: I004836b811ddac5a62215507e280e460ad50e8fa
2014-10-28 13:10:20 +02:00
Tor Lillqvist
2435dfef42
Bin unused macros
...
Change-Id: I5271367d5c0acb5620d07043167d1df99687ed49
2014-10-28 13:03:38 +02:00
Stephan Bergmann
a00bae79f9
Fix --disable-sal-log builds
...
Change-Id: Ie0250745c9bd39e6e81f5f9eb96e661de2e4e2ef
2014-10-28 11:54:34 +01:00