Commit Graph

352600 Commits

Author SHA1 Message Date
Thomas Arnhold
c327acab9e remove globally disabled warnings from source files
Change-Id: Ic7b092a24b4d1e48ca11e53b507da5c2bfdeabe8
2014-05-10 13:03:20 +02:00
David Tardon
90af034821 Related: rhbz#1071604 don't paint anim. effect icon
... unless the slide does have custom animations. This drops dep of Draw
on libanimcore, which is in module impress, so it might not be present.
If it is not present, the Pages panel is not drawn.

Change-Id: I9d7377a4fb3289e230887752bc4a105ca1c9f812
2014-05-10 10:20:06 +02:00
Markus Mohrhard
f1fde869b4 Lsan: fix memory leak in xmlbodyi.cxx
Change-Id: I6274abc6ca3c4452c968d0b2bb775d29fbc8971f
2014-05-10 08:15:33 +02:00
Markus Mohrhard
6b28f7d3bc Lsan: fix memory leak in conditio.cxx
My test file leaks 9MB during import with that.

Change-Id: Ie7aba31878721ad8caef1e301a6b54a42a8c0c54
2014-05-10 08:15:32 +02:00
Miklos Vajna
79a4d09ac2 ISO C++ forbids declaration of ‘rLanguageTag’ with no type
Change-Id: I148b3eff0fc229fec3c6415bd582d10b124e0796
2014-05-10 07:38:00 +02:00
Miklos Vajna
a7e8e0f29e -Werror=parentheses
Change-Id: I2366a8631be276db02392db6b44ee0c47ddf9da6
2014-05-10 07:34:02 +02:00
Julien Nabet
4c0ec2a1dd Blind fix for red Tinderboxes, following
Change-Id: I590a682af7fc1879ae63cda3aea73063ba4c84f4
2014-05-10 06:57:15 +02:00
Julien Nabet
7a5b0aa0a6 Blind fix for red Tinderboxes
Change-Id: I9465943a7e3c0d485e8692e3e1ea0b258d67d120
2014-05-10 06:32:55 +02:00
Julien Nabet
5ec7a589be Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-05-10 06:19:42 +02:00
Kohei Yoshida
83a88b9421 fdo#77056: Treat empty cells as if they have a value of 0.0.
Change-Id: Ibe64cf7177a5298c1878e0014c049dc9c82b1344
2014-05-09 22:20:26 -04:00
Kohei Yoshida
b44f818539 fdo#77056: Modify existing test to cover the reported scenario.
Change-Id: I6d0fe13e6756d8b6c3e7ac9ffba828e3f9c2a7b5
2014-05-09 22:20:26 -04:00
Eike Rathke
07481fd864 add on-the-fly language tags to the language table
Change-Id: I5ca9e212374821de425729863c82f7b4699487a7
2014-05-10 00:39:45 +02:00
Eike Rathke
1564b0fe7c added SvtLanguageTable::AddLanguageTag()
Change-Id: Ic8be508bff3767f2f8ab1146447b3fe4bffff3b3
2014-05-10 00:39:44 +02:00
Eike Rathke
0b2c8a8b2b added ResStringArray::AddItem()
Change-Id: I361cd4256c0816a46ea6e37dd9fd2680d3dba9fb
2014-05-10 00:39:43 +02:00
Andras Timar
de8f5f2af7 Revert "fdo#45260: Objects having line thickness misplaced while pasting."
This reverts commit c35c4769d8cabe0f01ef9911056d7a9d1d2f4b04.
Fixes fdo#78413

Change-Id: If0865cced045410d4e8f9603b55568ade6781b39
2014-05-09 22:48:27 +02:00
Thomas Arnhold
dfbcde1847 clean up
nobody uses those switches

Change-Id: Ifbd6563aae901b4f3d931422e6d4e2369aee0573
2014-05-09 22:32:55 +02:00
Thomas Arnhold
aa3548fba6 prewin.h includes windows.h
Change-Id: I221e9f704f75472234a6ce2b09930aeff6279c7a
2014-05-09 22:32:54 +02:00
Thomas Arnhold
f106f41956 postwin.h handles OPTIONAL already
Change-Id: Ia04bc545f90a093f70bbd7036b7b9403af15daa1
2014-05-09 22:32:53 +02:00
Thomas Arnhold
7f1f1dbfda prewin.h handles WB_LEFT and WB_RIGHT already
Change-Id: I73bbd6ae7343257e63210cb4b5cdfd4e9f612122
2014-05-09 22:32:52 +02:00
Jan Holesovsky
261b1ad80a '!= false' is redundant, and confusing - kill it.
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-09 22:28:44 +02:00
Jan Holesovsky
dd484af7cf fdo#78267: Fix advancing slides by mouse clicks.
Fixes a regression from b45a12c37d.

The confusing logical operation

  ! (maPresSettings.mbLockedPages != sal_False)

should translate to

  !maPresSettings.mbLockPages

Change-Id: Iaba62ee001dd57194c1a17421d8632330eab1345
2014-05-09 22:28:43 +02:00
Thomas Arnhold
569ff6727e update_pch: add a bunch of pch files
I had to fix some source files because of macro redefinitions and such stuff.

Small modules like basic have a great win, too:

make basic.clean && time make basic:

                with    w/o
                 pch    pch
accessibility    23s  1m59s
basctl           30s  1m42s
basic            56s  1m35s
comphelper       23s    51s
editeng          48s  2m04s
forms            40s  1m40s
unotools         19s    38s
sd             3m37s  4m33s

Change-Id: Id24cdcddbe2ff64820b42266325c25af1355558f
Reviewed-on: https://gerrit.libreoffice.org/9293
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-09 19:50:42 +00:00
Thomas Arnhold
9037e2289d remove presys.h and postsys.h
Both files are nearly identical to prewin.h and postwin.h

Change-Id: I1f45e46dfcc00043a9e2df82e0070cd1b976c4af
Reviewed-on: https://gerrit.libreoffice.org/9294
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-09 18:17:19 +00:00
Kohei Yoshida
f4673ccd5e fdo#77379: Don't return from the call. Notes are handled at the end.
Returning prematurely would end up skipping pasting of notes.

Change-Id: I79e0968023342a68fe729f31eb6cfc3cfacd5850
2014-05-09 14:06:11 -04:00
Kohei Yoshida
71cd1ca57f fdo#77379: Write test for this.
Change-Id: Iccc0b499abae90f5b780aebab17ff6315b5690ec
2014-05-09 14:06:11 -04:00
Julien Nabet
4975284254 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: I6d15c7869e94b8b6d92b0a4c65bbc5866a657889
2014-05-09 19:21:48 +02:00
Michael Stahl
ece80453d5 warning C4389: '==' : signed/unsigned mismatch
Change-Id: Ie8bb8a422c2fdda85d2478dd029c2091267212c2
2014-05-09 18:35:55 +02:00
Thomas Arnhold
77e07086c9 add missing border to GradientLB
Change-Id: I72651d514e2cf5abdce4a3323fa515426ff0438a
2014-05-09 18:14:44 +02:00
Thomas Arnhold
17ad6fcdab bring Tile and AutoFit back to the leven of Position
before ui-conversion both checkboxes were at the level of Position options.

Change-Id: Ie56937d64e657fba68ac8ffe44e5c42f2a576388
2014-05-09 18:14:43 +02:00
Thomas Arnhold
a529fe4273 set border_width to 6 px
otherwise Width and Height fields in Fill -> Bitmap will
be directly at the tab page border.

Also 12 px was too large on the left.

Change-Id: I4ae17020333d61bf80e02ea29989fbb4693da591
2014-05-09 18:14:42 +02:00
Jan Holesovsky
e47fef4b5e Kill sd::any2bool: cppu::bool2any does the same thing (extracts, or throws).
Change-Id: I477f2888fba585f41bb70309247a3e4fa9bf7517
2014-05-09 17:55:10 +02:00
Kohei Yoshida
a45973a906 fdo#77806: Check the boundaries before accessing an array....
Change-Id: I0878f734599f566cde83183947cd7613c0f8d5c6
2014-05-09 11:46:06 -04:00
Kohei Yoshida
cd87cd92b9 fdo#77806: Write test for this.
Change-Id: Ic05b6fec2bfc89688cb1670a163f27caccc7f213
2014-05-09 11:46:05 -04:00
Caolán McNamara
ad26e7b2ed convert apply columns page to .ui format
Change-Id: I14f12809d2e78a184ed53d6d9cee81d5f4e79ae6
2014-05-09 16:29:14 +01:00
Caolán McNamara
c6ee91b9c1 Updated core
Project: help  ec761d90416db68a0e8e683c3df44e43f593bb17
2014-05-09 15:29:01 +00:00
Stephan Bergmann
68a75f02ed Record patch upstream notification
Change-Id: I5aecdd1d1f19f6588cf91d8c009ffa760fae739e
2014-05-09 17:17:04 +02:00
Stephan Bergmann
90a30ddf68 external/redland: Missing NUL
Change-Id: I388d8a37a0b7f95f21ccbbe04144f39c0fff533f
2014-05-09 17:08:09 +02:00
Kohei Yoshida
2c64e08aa3 Best effort of blindly placing axes and background objects.
Change-Id: I3a7c77ee8d9c6ff033b112158daec3923ed27034
2014-05-09 10:57:13 -04:00
Kohei Yoshida
aa26f8b6c7 No need to store these text objects separately.
Change-Id: I0ee63480fa0f15f42c81818d89ff5b5a3407ece4
2014-05-09 10:57:12 -04:00
Caolán McNamara
1d188294fd use vcl::unohelper::CreateBreakIterator consistently
Change-Id: I69eee7804ffe0b0c8ae8e8bc628bf35585f5e69c
2014-05-09 15:45:53 +01:00
Stephan Bergmann
c149c6cc30 compilerplugins/clang: filter out -fsanitize=address
Change-Id: I3e78bd86c8010124a2d006f288095aac26e60797
2014-05-09 16:35:23 +02:00
Chr. Rossmanith
2c9d68ff56 move INetContentTypes::scan() to INetMIME::scanContentType()
to avoid circular dependencies between svl and tools when using
INetContentType::scan functionality for future handling of data urls in
urlobj.cxx

Change-Id: Iad13286769e8906aebf8208e4f532151ff2f3d13
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-09 16:01:30 +02:00
Andrew
797c8e71e9 Icon Redux 02: Optimised Sifr theme
Lossless optimisation of Sifr PNG files, primarily removing superfluous metadata (ImageOptim.com). Saved 303.6KB out of 555.6KB. 54.6% overall (up to 97% per file).

QA- Inspect icons with Sifr theme selected, using all aspects of the office suite. There should be no visible changes.

Change-Id: Ie5f1c73165d7b3373e7f10015eedb1d4a865ded9
Signed-off-by: Andrew <dent.ace@gmail.com>
2014-05-09 14:29:20 +01:00
Andrew
8bb090e3c4 Icon redux 01: Tidy hicontrast icons
- Delete placeholder (red-X) images; it's better we fallback to the main icons from the Galaxy theme.
- Delete non-hicontrast (normal) images, duplicated from the Galaxy theme. These were introduced by the Sidebar mainly, and 2 in Report Designer.
- Lossless optimisation of png images (imageoptim.com).

QA - Test icons throughout application using the hicontrast icon theme.

Change-Id: I45256563653792538d24bc3139b303de624544c2
Signed-off-by: Andrew <dent.ace@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/8794
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-05-09 14:26:45 +01:00
Caolán McNamara
ae520fa4c0 back to 90 char wide now that the fontsize is fixed
Change-Id: I8ae524f6c7b74a09a3bcce982642bd72dadf7bf8
2014-05-09 13:47:58 +01:00
Caolán McNamara
60eff2f442 Revert font initialization foo
this reverts 081a085463

because the heights and widths of the non .ui-converted dialogs are all too low
and everything is squished in them

Change-Id: I103eda4b3d43365c02ecedb6f37b995a682b2cf9
2014-05-09 13:47:57 +01:00
Jacobo Aragunde Pérez
f6422b3dfc ooxml: Preserve shape 3d effects: top and bottom bevel
Shapes 3D effects can specify top and bottom bevels like in the
following example:

  <a:sp3d z="488950" extrusionH="63500" contourW="50800">
    <a:bevelT w="139700" h="88900" prst="cross"/>
    <a:bevelB h="88900" prst="relaxedInset"/>
  </a:sp3d>

This patch preserves the a:bevel* tags and their attributes using the
shape grab bag and modifies an existing unit test to add this check.

Change-Id: I4762111e4d2f75ba2fd3721a126aa324a28a853c
2014-05-09 14:11:38 +02:00
Jacobo Aragunde Pérez
6566c218af ooxml: Preserve shape 3d effects: z, contour and extrusion
Shapes can contain 3D effects like in the following example:

  <a:sp3d z="488950" extrusionH="63500" contourW="50800"/>

This patch preserves the a:sp3d tag and its attributes using the shape
grab bag and modifies an existing unit test to add this check.

Change-Id: Ice3cae39c71784be0f6c7f2700b07c21a5e1fb6e
2014-05-09 14:10:46 +02:00
Jacobo Aragunde Pérez
0df9ec782e oox: preserve scene3d/lightRig effects on shapes.
Shapes can contain 3D effects like in the following example:

  <a:scene3d>
    <a:camera prst="isometricLeftDown" zoom="150000"/>
    <a:lightRig rig="threePt" dir="t">
      <a:rot lat="0" lon="0" rev="4800000"/>
    </a:lightRig>
  </a:scene3d>

This patch preserves the a:lightRig tag, its attributes and the child
element a:rot using the shape grab bag. It also adds a unit test for
this case.

Change-Id: I66b6de3c2b5ef89223b10da54006e28113b8ba5f
2014-05-09 14:10:46 +02:00
umeshkadam
273e73c896 fdo#78292: Tags related to checkbox r being written in text tag for sdt cntnt.
- The parent node for checked, checkedState, uncheckedState is getting overwritten by "text"
- text node is a leaf node, and should not have any children.

Change-Id: Ic269525001e914adc1aa328c92be5fe4d5d1b3e7
Reviewed-on: https://gerrit.libreoffice.org/9278
Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Tested-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2014-05-09 12:08:17 +00:00