Commit graph

362852 commits

Author SHA1 Message Date
Michael Stahl
f3616065a7 installer: let's make missing FileID a fatal error
... because the upcoming AutoInstall conversions introduce dependency
from FolderItem to auto-installed executables, and we want to ensure
that that keeps working.

Change-Id: I08d4aeddd28b93f080e201716597315e9a6ec2d6
2014-10-29 11:37:49 +01:00
Michael Stahl
368729decb scp2: move python executables to AutoInstall
Change-Id: I94919f11150f39148219afc613ced99f74c539c0
2014-10-29 11:37:49 +01:00
Michael Stahl
f4fac5eed2 scp2: move xpdfimport executables to AutoInstall
Change-Id: I9b75436a03c06252530bbd54a7011fb553ceb9be
2014-10-29 11:37:48 +01:00
Michael Stahl
7c898c933c scp2: move brand executables to AutoInstall
... except for soffice.exe which is referenced by some FolderItem.

Change-Id: Ie5788aa950f0b8526220fb2c8b9281ce934b8a5d
2014-10-29 11:37:48 +01:00
Michael Stahl
0183dc88e2 scp2: move crashrep executables to AutoInstall
Change-Id: Ib9fba534491ce67d329a375a359eef4520c0a3a1
2014-10-29 11:37:48 +01:00
Michael Stahl
f801b7f07d sw: translate "Rekursiv"
Change-Id: Ib40dcbda3b2b9c8c196303f3f0c49e0ab05e0404
2014-10-29 11:37:47 +01:00
Michael Stahl
31ca7f6d71 tools: remove DBG_ERRORFILE and replace all callers
Change-Id: Ic76ccc49b9291fe82c56974eb6237cd3b85d91c8
2014-10-29 11:37:47 +01:00
Michael Stahl
8efc8f6801 sw: convert some silly assertions and remove stupid debug-only returns
Change-Id: I872cf1b9fada3292724934d608497ecb5f864745
2014-10-29 11:37:46 +01:00
Michael Stahl
ba3f13151e sw: prefix members of SwTxtInfo
Change-Id: Ifd3a4e5f4b84b6f8a74e59a7bcdf8ddc35dfe408
2014-10-29 11:37:46 +01:00
Michael Stahl
4023e69403 sw: translate Netto to Net
Change-Id: Ia9a11eb8266b602c334b774d4794ff71d29754bc
2014-10-29 11:37:46 +01:00
Caolán McNamara
c090ecc4aa coverity#735663 Division or modulo by zero
Change-Id: I69410ebe3dcded9951bfa9e83844644147f4416a
2014-10-29 10:40:10 +00:00
Caolán McNamara
6fa813da67 coverity#1078538 Division or modulo by zero
Change-Id: I4f8f66689b46f594664c44da4e892983f38ad32e
2014-10-29 10:40:10 +00:00
Caolán McNamara
c4e53fadbd coverity#1078537 Division or modulo by zero
Change-Id: I63e8168efe169e506b3be65ca150a779404f0885
2014-10-29 10:40:09 +00:00
Caolán McNamara
54ba9587c0 coverity#1202781 Division or modulo by zero
Change-Id: I2908c57badd079c8f19c679f40ed815ce2cba374
2014-10-29 10:40:09 +00:00
Caolán McNamara
b7e999e2e9 coverity#1202880 annotate Dereference before null check as false positive
and

coverity#1202881 Dereference before null check as false positive

Change-Id: Id2c1ff2a5913755e9160807eace3219be3b35fd1
2014-10-29 10:40:09 +00:00
Caolán McNamara
3d4c086b50 coverity#705921 Dereference before null check
Change-Id: Ied523c0ea680fa7d1fe147e7f2e7a78758bc1f14
2014-10-29 10:40:08 +00:00
Caolán McNamara
a152988126 coverity#1028106 Dereference before null check
Change-Id: I77a910542cf1b7889f69a1d3b7989779d9ecc7e8
2014-10-29 10:40:08 +00:00
Caolán McNamara
836023dedc coverity#1242433 SdrMakeOutliner alway derefs pMod
so change from a pointer to a reference

Change-Id: I81eb2c9e4df8353fbbdad7058c6ca7ea22286e62
2014-10-29 10:40:08 +00:00
Caolán McNamara
9b8f91d348 coverity#1247624 oslModule -> osl::Module
should silence warning, still actually
avoid dlclose on the non-error path

Change-Id: Ibc522bf1067feb04def7d7284eee59878ddc6f47
2014-10-29 10:40:07 +00:00
Caolán McNamara
97bb460a68 callcatcher: more ww1 removal fallout
quite pleasing

Change-Id: I3eaf711e8d5a42358922c16bfc82d0e32d0bc44b
2014-10-29 10:40:07 +00:00
Caolán McNamara
6aea1876a8 improve coverity#1242796 calculation
Change-Id: I0a462d043aaa67863d5f1906451e66d01b634a8f
2014-10-29 10:40:07 +00:00
Caolán McNamara
52d98d8e71 coverity#735609 Division or modulo by zero
Change-Id: Iaa765c4ed0aa7bb11e74c1c2be48b336158249cc
2014-10-29 10:40:07 +00:00
Caolán McNamara
27277d76bb coverity#1078542 Division or modulo by zero
Change-Id: I3325328c01b23d43c774db4af080df535f47787b
2014-10-29 10:40:06 +00:00
Caolán McNamara
1ed46f6cb7 coverity#1078539 Division or modulo by zero
Change-Id: Ifbe3cbd8fa93ee828ed95c19893c52b8134d3fd1
2014-10-29 10:40:06 +00:00
Caolán McNamara
683ecd2816 coverity#735611 Division or modulo by float zero
and

coverity#735612 Division or modulo by float zero

Change-Id: I805d59a88a6a9fea11a4cb9890a50f0b649a7ad3
2014-10-29 10:40:06 +00:00
Stephan Bergmann
87f5486dcb Don't use output rArea when TableLayouter::getCellArea returns false
...when xCell->isMerged, as happens during CppunitTest_sd_filters_test.
aCellArea will be "empty" (i.e., getMinX()==SAL_MAX_INT32 etc.) and the
aCellRect.Move calculation will overflow for 32-bit long.

Change-Id: I12649234c060edd9f2cab1792cf75335ae22b730
2014-10-29 10:50:44 +01:00
Noel Grandin
ff037a8c09 fix spelling
Change-Id: I08a5fb662a4a5d756b72340cb9328fc1dc1fe9fe
2014-10-29 11:46:01 +02:00
Noel Grandin
bacee60a59 ref-counting vcl::Window subclasses
Points of discussion
--------------------

(*) where in the Window destructor should dispose() be called?
   It's a seriously large method.

(*) we're going to need similar typedefs and declarations for every
single sub-class of vcl::Window, I assume that I will need to create a
macro to make it less verbose.

TODO
----

Update clang plugin to verify that:
(a) dispose() methods always call their superclass dispose()
(b) dispose() methods don't forget to clear any references owned
    by that class.

Change-Id: I873d5d5166f811e2f65e49327cc98862559fcf30
2014-10-29 09:36:17 +02:00
Miklos Vajna
7344923ffd sw: convert last usage of switchHeaderFooter() to DocxTableExportContext
Change-Id: I47c5c60b0ffef3923c1d2830de992e1a67eb76ff
2014-10-29 08:32:33 +01:00
Noel Grandin
4586a3f564 cid#1242749 Unused value
Change-Id: I3227a05a4cafdcca23c32a62fdb72245cdf493d6
2014-10-29 09:24:30 +02:00
Yousuf Philips
cc81115c93 OXYGEN: Refreshing icons from main source and added a few new ones
Change-Id: I7c5ca8cb9533a1df07a86909a6993bc36eda5253
Reviewed-on: https://gerrit.libreoffice.org/12129
Reviewed-by: Matthew Francis <mjay.francis@gmail.com>
Tested-by: Matthew Francis <mjay.francis@gmail.com>
2014-10-29 06:44:28 +00:00
Maxim Monastirsky
3efc3cc5b0 colorwindow: try to fix initial layout
Change-Id: Ic69bbcd877d248afd0f23a867d4c57d801479b74
2014-10-28 22:46:37 +02:00
Maxim Monastirsky
7ff283c6b3 colorwindow: Use exactly one row of recent colors
Right now one row of SvxColorValueSet is 12 colors.

Change-Id: I9be6e8487d5325866e17f578b7abb08f7c338fb1
2014-10-28 22:46:09 +02:00
Maxim Monastirsky
2c3c7529b5 colorwindow: Update recent colors list immediately
Change-Id: Ieb6277f0962f88dfa55b6af80535ec8af497433e
2014-10-28 22:45:07 +02:00
Maxim Monastirsky
2b54af3b64 colorwindow: Unify SelectHdl and SelectRecentHdl
Change-Id: I680517bc7d91ef15593d235a7ff72588c7513b15
2014-10-28 22:44:21 +02:00
Maxim Monastirsky
a48145a854 Rename loadColorVector to addEntriesForColorVector
So it will be similar to addEntriesForXColorList

Change-Id: Ie352e0cf05fa6875ed76e69478131a57293b39a1
2014-10-28 22:42:45 +02:00
Kohei Yoshida
9b1dda187b Windows build fix.
Change-Id: Ia118c81e39f5f48d4678cc375bad45f31ba8322e
2014-10-28 15:10:25 -04:00
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