384479 Commits

Author SHA1 Message Date
Noel Grandin
abc6071b7a loplugin:unusedfields various
Change-Id: I18f94269a1172cf195ee402384f7144610e1e82d
2015-11-26 13:26:25 +02:00
Pedro Giffuni
7c2edb3a67 i126615 - Allow build on FreeBSD Mac PowerPCG5
These appear to have been missed from earlier effort

Brave attempt by: Curtis Hamilton

(cherry picked from commit abb9cd92ab4614d606df8ced0d57916dcb04289c)

Change-Id: Ia778e090c46220d83388ea1a9485b9009787f191
2015-11-26 11:19:33 +00:00
Stephan Bergmann
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
Noel Grandin
80735fcbb0 com::sun::star->css in xmloff/
Change-Id: Iee6e21e093fb1383f19a0716dbc1c341f446b8c2
Reviewed-on: https://gerrit.libreoffice.org/20192
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 10:47:02 +00:00
Eike Rathke
4112ecadd5 TableRef: write <tableParts> before <extLst>, resolves tdf#96049
Excel expects this order, so let XclExpTables be managed as
XclExpRecordBase in the sheet's XclExpRecordList.

Change-Id: If2cefc255c74688661e861a26218564117b1e3ce
2015-11-26 11:40:06 +01:00
Caolán McNamara
7caa7ed283 restrict this for > cairo 1.10.0 for now
Change-Id: I845a1b045a4e83c35cf1a837c7e520e3b0890c29
2015-11-26 09:42:21 +00:00
Caolán McNamara
5d7bd6b929 default to trying the linux bridge for all linuxy like things
Change-Id: I1fcf3afadefcd5af472523fd8fca123fb3ab4095
2015-11-26 09:33:37 +00:00
Caolán McNamara
4584e3a6df test for IsMouseCaptured before releasing mouse
like the other call sites do

Change-Id: I77250f172f9d9ce97e5982bafbc8f042e9343acc
2015-11-26 09:19:52 +00:00
Caolán McNamara
5e1546ccbc downgrade warning to info
Change-Id: Ia607226f73020396e3f47a13d304272b0143668c
2015-11-26 09:19:52 +00:00
Miklos Vajna
16677bbdb8 compilerplugins: adapt comment
...after 49c2b9808df8a6b197dec666dfc0cda6321a4306
"bin/rename-sw-abbreviations.sh"

Change-Id: Ibd74246403bead8100d181b335f9145013f31e5e
2015-11-26 10:18:52 +01:00
Stephan Bergmann
d972dd9ad8 SfxStyleSheetBasePool::Count returns sal_uInt16
Change-Id: I2485fd38d03bd63ae83e3643771767e533c7da83
2015-11-26 10:11:14 +01:00
Stephan Bergmann
8830956414 Adapt whitelisted names
...after 49c2b9808df8a6b197dec666dfc0cda6321a4306
"bin/rename-sw-abbreviations.sh"

Change-Id: I90cec551bdc52ea4d76dd9e32b45692e8a3be70f
2015-11-26 09:58:15 +01:00
Miklos Vajna
21713893a4 cid#1340232 uncaught exception
Change-Id: Idb80a055aca67a3fb90aef597ace932f47af8e05
2015-11-26 09:45:45 +01:00
Miklos Vajna
ca8a039644 cid#1340231 uncaught exception
Change-Id: I69f2078093c2c23ae0a02a6a292e51fdbdde9ed4
2015-11-26 09:45:45 +01:00
Maxim Monastirsky
ff35d252ff tdf#93837 Add UNO-based SmartTag menu controller
... and use it for the standalone context menu. The sfx2
controller (SvxSmartTagsControl) is still used for the
submenu variation, and is due to be removed after the new
context menu implementation is in place.

Change-Id: I2f889428eb777149f43d74cf3d081e19ab0ebb4a
Reviewed-on: https://gerrit.libreoffice.org/20169
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-26 08:19:23 +00:00
Noel Grandin
8d6136206f Revert "no-one passes explicit values for these defaulted params"
This reverts commit 97978f7f015e042e72ec2bf0f3ba1652ecbcc5c5.

breaks unit test CppunitTest_sw_ooxmlimport
2015-11-26 10:02:21 +02:00
Miklos Vajna
c13f5bc2bc Use comphelper::containerToSequence()
Change-Id: I8c8277d47c2ab0e2bf5fad68bbfc45dea71d6c34
2015-11-26 08:54:55 +01:00
Noel Grandin
ce5024ad52 loplugin:redundantcast
Change-Id: I3fd7b6f8215bdd9e482cc81522a70cabc0080c4f
2015-11-26 09:26:13 +02:00
Noel Grandin
3d8a01b0c8 expression result unused [-Werror,-Wunused-value]
Change-Id: I57b44c1997ac286fcb4caf8e3027e3b5996fc377
2015-11-26 09:17:21 +02:00
Takeshi Abe
b2b4184edb starmath: Prefix members of SmCaretDrawingVisitor
Change-Id: I9d033a67f6073f3da368f8241ac48c7d391b89c9
Reviewed-on: https://gerrit.libreoffice.org/20080
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 06:46:38 +00:00
Noel Grandin
97978f7f01 no-one passes explicit values for these defaulted params
so just remove them

Change-Id: I9b883d9e10bf5bf156fa4b85f45ade54ccd50878
Reviewed-on: https://gerrit.libreoffice.org/20168
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 06:44:02 +00:00
Michael Meeks
766524b13b vcl: further fix debug name cleanup.
Change-Id: Ia95c4893773bec77fe2ddf1a85e8687ab6776e10
2015-11-25 23:38:49 +00:00
Andrzej Hunt
1abd8d9e00 Convert to range based for
(This was also used for testing loplugin:rangedforcopy)

Change-Id: I246994feb7bf66d337b76e3f02d7fea2cb13d42a
2015-11-25 15:26:43 -08:00
Andrzej Hunt
96ee91aea6 add const in ranged for
Change-Id: I0f55705e101e39e9e6e5286f21cad8ccb96e7fad
2015-11-25 15:26:43 -08:00
Michael Meeks
87d41e3b7d vcl: cleanup scheduler debug name usage.
Change-Id: I94975d220452ca91cbbd9db5e7895fa0b3a88e4a
2015-11-25 23:33:21 +00:00
Michael Meeks
10a451e979 vcl: don't treat non-ready timers as idle handlers.
Fixes the busy-loop - 100% CPU all the time.

Change-Id: I965f62d6a6f2ec1830c0897dd97179a739c70afc
Reviewed-on: https://gerrit.libreoffice.org/20186
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25 23:22:06 +00:00
Michael Meeks
9c554c2c8c vcl: improve scheduler debugging information.
Change-Id: I6f7d7d3b5b027097417a15804a42aaaab4a03158
Reviewed-on: https://gerrit.libreoffice.org/20185
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25 23:15:42 +00:00
Michael Meeks
458f01c577 vcl: timer - avoid expensive and pointless re-fetch of current time.
Change-Id: I1423de820ec40340d2ddb9030106b813e488f2f3
Reviewed-on: https://gerrit.libreoffice.org/20184
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25 23:04:58 +00:00
Jan Holesovsky
55d0a5e43c rename-sw-abbreviations.sh: Avoid test documents in complex tests.
Change-Id: I596cac73218c30edc6e9c41555a120877cd5ee47
2015-11-25 22:49:32 +01:00
Pedro Giffuni
c6dbbdf851 i125711 - Illumos port: generalize MAX_ALIGNMENT for Solaris
GCC in Ilumos appears to behave exactly like the Solaris SUNPRO
compiler so generalize the case for Solaris.

(cherry picked from commit e1da117c49fc02af9543e32526bf1c04657534c4)

Change-Id: I3fa619f34c35608b187c3aa394552ac78c3f0c20
2015-11-25 20:59:45 +00:00
Damjan Jovanovic
d5443023ef #i117960# Basic: Line Input doesn't work in single-line If
i92642 added the ability to use certain keywords as variable names (eg. name = 1, line = "hi"),
but also caused a regression where "Line Input" is broken in single-line If statements.
This patch fixes that by allowing Then and Else to also be the start-of-line tokens expected to
immediately preceed the "Line" token in order for that "Line" token to be recognized a keyword instead
of a variable name. Also added FVT spreadsheet tests for "Line" as both a variable name and as "Line Input".

Patch by: me

(cherry picked from commit f8a51d0f5a645704bc2bdc939474ac931d55559c)
2015-11-25 20:46:26 +00:00
Caolán McNamara
db884459a0 gtk3: use cairo to do drawAlphaBitmap with scaling
now we're beautiful

Change-Id: If688a89c3a65b7f9bb01890f8ddc81fc6cc8c2b8
2015-11-25 20:43:01 +00:00
Michael Stahl
ce79da8333 sw: un-break JunitTest_sw_complex
49c2b9808df8a6b197dec666dfc0cda6321a4306 changed a binary test doc

Change-Id: I77cd86ce3eccfc701f54630870045e04244ac048
2015-11-25 21:34:55 +01:00
Michael Stahl
ba369045f6 vcl: SalEnumFontsProcExA is unused since 2010
Change-Id: Id1b1de27752a6b8a74ea3521b53c38f032bfa24b
2015-11-25 20:34:19 +01:00
Caolán McNamara
4fee13c30e gtk3: of course we have a different 1 bit mask format as well
Change-Id: I02763bc1dfeec4a04f40fa0246cdc93eab6d6d33
2015-11-25 16:46:08 +00:00
Caolán McNamara
528417fb3c presumably if only one theme has an icon, it should be in the base theme
Change-Id: I90e1e147357d6509024f807bc2f777141e79b586
2015-11-25 16:46:07 +00:00
Caolán McNamara
213c0267c8 downgrade these warnings to info
quartz doesn't impl them either, so presumably its not too bad to
not have them. Can't see anything visually ugly at the moment
to warrant the effort.

Change-Id: Ibf6119f549ab6712d3f1aca18e2cdab905f00030
2015-11-25 16:46:07 +00:00
Michael Meeks
40e597bcab Fix thinko; thanks to mst.
Change-Id: I6dde11f291b09db82f14674d69b84093989eed28
2015-11-25 16:52:03 +00:00
Caolán McNamara
713850c478 coverity#1340224 Logically dead code
Change-Id: I206701fa068c788f77307a649a607316473e6105
2015-11-25 15:45:59 +00:00
Caolán McNamara
f339cd6118 coverity#1340229 try and silence Resource leak
Change-Id: I5babf6365c50b7c5ad58cdb74729b9a8ac1c4ebc
2015-11-25 15:45:59 +00:00
Caolán McNamara
3c100a9c61 coverity#1340228 try and silence Resource leak
Change-Id: I654fc22bbab2301e74cf200577f934e56f77fb58
2015-11-25 15:45:58 +00:00
Caolán McNamara
8244fc2655 coverity#1340230 Dereference before null check
ah!, the original code had a type in it. That's
why it was refactored to remove the null check.

Now a proper fix for cids: 1326180<->1326190

Change-Id: Iba7fd47c03eb5c157f878e0e297e8688f20ae348
2015-11-25 15:45:58 +00:00
Caolán McNamara
378f500bf6 coverity#1340222 Logically dead code
This is (worrying) fall-out from

commit 229fc164dc1773484b74eca016863cf68860e81b
Author: Philippe Jung <phil.jung@free.fr>
Date:   Fri Jul 10 17:02:44 2015 +0200

    Impress: Rework the way the display modes are presented.

Change-Id: I00d19b2d3cec4d505d17ba4031f6763c86395f74
2015-11-25 15:45:58 +00:00
Caolán McNamara
f4ac785494 coverity#1340227 Missing break in switch
Change-Id: I30ea6cea81ae1b4f344e253c7a51cfef4d844128
2015-11-25 15:45:58 +00:00
Caolán McNamara
c5bfac3f26 coverity#1340226 Missing break in switch
Change-Id: Ibd1c15ce65501d4dc6d0cea8c8e5f4e683d1b7a4
2015-11-25 15:45:58 +00:00
Caolán McNamara
43e2b41797 coverity#1340225 Missing break in switch
Change-Id: I9f76340ccdb32f4337d0ebe85e9957fe8a3b19f9
2015-11-25 15:45:58 +00:00
Caolán McNamara
d05ae55031 crashtesting: failure on File_1404.docx
Change-Id: Id984cc1f5954be38fbe3a1a15bfe811d7cdfe99d
2015-11-25 15:45:58 +00:00
Caolán McNamara
c1774eb6a3 gtk3: implement drawAlphaBitmap for svp/gtk3 backend
mostly anyway

Change-Id: I21d7f46ba018c3ed81093873da35b883efa44d66
2015-11-25 15:45:57 +00:00
Caolán McNamara
872c1b7654 gtk3: it's the *Original* device we care about, not the temp clip hack devices
Change-Id: I2ac61cd2a99da25122165af692154fdbc2ac6d2e
2015-11-25 15:45:57 +00:00
Caolán McNamara
3d22df17b3 gtk3: implement drawPolyLine for svp/gtk3 backend
by stealing the quartz impl

Change-Id: I548042328144e23c68b83e461a63cdb0d7d8ff2c
2015-11-25 15:45:57 +00:00