Commit Graph

375639 Commits

Author SHA1 Message Date
Stephan Bergmann
b401a8d9f9 loplugin:cstylecast: deal with remaining pointer casts
Change-Id: If7c99c2ddb98c77bfecf42047fe8798423bb8c9b
2015-06-08 16:23:04 +02:00
Stephan Bergmann
b997705c07 loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I2828f5fe78efffaa5dee19a3d56592d12878d956
2015-06-08 16:22:58 +02:00
Caolán McNamara
43cc6fa1fa Resolves: tdf#91672 Crash in base report - right click in page header section
Change-Id: Ie7f9abc16e07c9ef44916e0cebe67486f3583449
2015-06-08 15:20:31 +01:00
Miklos Vajna
335df40d28 Enable SwUiWriterTest::testEmbeddedDataSource() at least on Linux
Change-Id: I06f684349c774032cfab9a69862213e3077f88ac
Reviewed-on: https://gerrit.libreoffice.org/16149
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2015-06-08 14:16:02 +00:00
Jan Holesovsky
3caa8c6331 Revert "check bounds in RPN tokens, tdf#90694 related and others"
Breaks the Windows tinderbox.

This reverts commit 4baf76ddb3.
2015-06-08 16:08:30 +02:00
Andras Timar
7f4230675c tdf#90804 remove SfxFieldUnit enum
b78d881520 removed unused values
from SfxFieldUnit enum. This broke the mapping between SfxFieldUnit
and FieldUnit. In fact SfxFieldUnit was redundant.

Change-Id: I13c7e7d708c6eeab0de192f4cd110b0a23989a31
Reviewed-on: https://gerrit.libreoffice.org/16150
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-08 13:44:11 +00:00
Khaled Hosny
ca96e9a8c2 Allow building Python on Mac with GNU xargs
GNU xargs executes the command at least once even if the standard input
is empty, unlike BSD xargs, which causes rm -r to be called with no
arguments ween the find command finds nothing leading to an error.
Adding -f to rm allows buikding with either implementation.

Change-Id: I0df5fcb379d2a5a8b1121594ec1a82d917d80dfc
Reviewed-on: https://gerrit.libreoffice.org/16116
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2015-06-08 13:44:00 +00:00
Christian Lohmaier
d32a663dde update credits
Change-Id: I7a491797e21676118199f47b8b3a596b391b873f
2015-06-08 15:40:30 +02:00
Eike Rathke
4baf76ddb3 check bounds in RPN tokens, tdf#90694 related and others
Listeners are set up from references in RPN, so check those for bounds
to catch also references resulting from named expressions, database
ranges, tables, ... and references in the token code array that are not
referenced in RPN.

Change-Id: I54770b45818f4c0541a39815278d3271a77b345d
2015-06-08 15:38:36 +02:00
Matthias Freund
f9bc291f56 tdf#75256 - Add new thesaurus/dictionary icon
Change-Id: Id5d7824026817318960b6403bf0e0a7558fd8c30
Reviewed-on: https://gerrit.libreoffice.org/16143
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-08 13:32:51 +00:00
Caolán McNamara
ff178cca33 Resolves: tdf#91932 enable CaseMap property in impress/draw
I don't see why this was explicitly disabled, works fine
out of the box for me, import/export already hooked up
in odf

Change-Id: I5e6bdbc6a4f3cbcd97330c7d9fb33589489afee2
2015-06-08 13:38:26 +01:00
Noel Grandin
b9dd51782c some spelling fixes, mostly in Java code
Change-Id: Ib9d0522a1f371404ee990348712e2d196049f69f
2015-06-08 14:06:54 +02:00
Rishabh Kumar
c1692f6206 Setting Maximum Value for Transparency spin button in area sidebar tab
Change-Id: Idb1c5051de5ddb0501b8d1440f8abe62074296bc
Reviewed-on: https://gerrit.libreoffice.org/16144
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-06-08 11:57:36 +00:00
Stephan Bergmann
615f4b23c6 loplugin:staticmethods
Change-Id: I22af41840410ee78aee739e0dec49bb43cda874b
2015-06-08 13:48:11 +02:00
Eike Rathke
5d6448a513 tdf#90694 reset group area listeners on correct top
Follow-up on 2f6a06856a, rTop is top of
created group, listening needs to be ended on original (previous) group.

Change-Id: I1f975a0a6c85e649aa07ce5c6e97bc6e917ff9ce
2015-06-08 13:31:50 +02:00
Jan Holesovsky
15feadfb84 Revert "loplugin:staticmethods"
This reverts commit 81d82b78a1.
2015-06-08 13:11:19 +02:00
Jan Holesovsky
601ba26cb5 Fix the Windows and OS X build temporarily.
Change-Id: I3b02b9b09375867f7bbfac4f32f7747a0228581e
2015-06-08 12:56:43 +02:00
Stephan Bergmann
81d82b78a1 loplugin:staticmethods
Change-Id: I22af41840410ee78aee739e0dec49bb43cda874b
2015-06-08 12:55:36 +02:00
Stephan Bergmann
eeddadfa09 typo
Change-Id: I5bba34941d269c728d5d36af8216a481f6939ede
2015-06-08 12:35:48 +02:00
Stephan Bergmann
0329dbd310 Fix Mac OS X install names of external libwpd/libwpg
Change-Id: I25eae3874c7ca4cf4e23673604a1f77e1fa15451
2015-06-08 12:23:20 +02:00
Caolán McNamara
89a28f54a2 Resolves: crash on export of ooo47778-3.sxw to docx
This is a horror where the table in the frame has its cells out
of visual sequence, so the last row appears before the last node
so on hitting the last node we have to really jump backwards to
a previously skipped set of nodes to find the end of the table

Change-Id: I93545e0c425267647d5f048c3bd95fe0cfddf8f3
2015-06-08 11:14:38 +01:00
Caolán McNamara
0f71828a95 cppcheck: noExplicitConstructor
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
2015-06-08 11:14:38 +01:00
Noel Grandin
f6e5a0ac09 vclptr fix in ScrollableWrapper
Change-Id: I28b0c9712d3eb35181ccd323e583d947db06094d
2015-06-08 12:12:26 +02:00
Miklos Vajna
df726c8b3e CppunitTest_sw_uiwriter: add embedded data source definition testcase
Fails with the last hunk of commit
4101949b2a (dbaccess: set correct BaseURI
for vnd.sun.star.pkg:// URLs on load, 2015-06-08) reverted.

Change-Id: Ieeaec3b0f925de0d5cf54e08b998038434686b3d
2015-06-08 12:02:13 +02:00
Takeshi Abe
8074bc61c7 cppcheck: noExplicitConstructor
Change-Id: If888f3e0293565ea23158defbb6ac7553226a08f
Reviewed-on: https://gerrit.libreoffice.org/16147
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-06-08 09:52:23 +00:00
Jan Holesovsky
9535d5d1fd \<the the\> -> the
Change-Id: I9d820446411eb7dfca37bb3baf5e994f4ba6f421
2015-06-08 10:29:27 +02:00
Stephan Bergmann
b0168403e2 loplugin:unreffun
Change-Id: Id6171e120094b1f9b08c291b525b80c8670345b6
2015-06-08 09:56:00 +02:00
Miklos Vajna
cd33c5355f dbaccess: avoid pointless ucbhelper::Content instance in case of embedding
Change-Id: Ibc3d7a0d9b3373f17aa8d1da081946814904e6d5
2015-06-08 09:54:40 +02:00
Miklos Vajna
4101949b2a dbaccess: set correct BaseURI for vnd.sun.star.pkg:// URLs on load
With this, in case the embedded data source definition has an URL like:

<db:file-based-database xlink:href="../../calc-data-source.ods/" db:media-type="application/vnd.oasis.opendocument.spreadsheet"/>

That's resolved to
file:///path/to/directory/of/Writer/doc/calc-data-source.ods correctly.

Change-Id: Ieb67f9f5ae104689c6dadc14ec84c66bec70a687
2015-06-08 09:54:39 +02:00
Stephan Bergmann
0648f2c270 loplugin:redundantcast
Change-Id: Ibb641ab458e49a30637f1dff715480c0ed5d8b42
2015-06-08 09:00:24 +02:00
Miklos Vajna
be8512f99b writerfilter: avoid manual realloc in ListDef::CreateNumberingRules()
Change-Id: Icc43c5236551b850908f631bca5583199415dd2c
2015-06-08 07:58:12 +02:00
Miklos Vajna
a15a816fc2 sw: clean up using namespace statements in dbmgr
Change-Id: I5072d8b24384982a445a4a1678d0269601206320
2015-06-08 07:58:12 +02:00
Miklos Vajna
292ec5fe8d tdf#82553 DOCX import: handle table margin when converting floattables
Change-Id: I7a3a233a34453153b3e1c0fe3d60bb0ede65dc86
2015-06-08 07:58:12 +02:00
Miklos Vajna
f89deaaf9a Unused includes
Change-Id: Id8aa8edf775d27ad3ed9fd2370268faf2d7325a6
2015-06-08 07:58:12 +02:00
Stephan Bergmann
e2e058d450 loplugin:unreffun
Change-Id: I7320d86de08215fb656113cdaca71645c4b9bc2e
2015-06-07 21:35:57 +02:00
Julien Nabet
381f21c928 Remove include stdio (part8)
Change-Id: I4ad581158fa68f30d07101697b716dc9b8fab746
Reviewed-on: https://gerrit.libreoffice.org/16139
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-07 19:29:07 +00:00
Yousuf Philips
932d9cd9c9 tdf#85594 Additional tweaks to standard and drawing toolbars
Change-Id: I57b538c0490a1fc8233041fdee51889b62ea0eb7
Reviewed-on: https://gerrit.libreoffice.org/16131
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-06-07 17:20:09 +00:00
Caolán McNamara
6aee70ec90 Resolves: tdf#79780 use SelectHdl instead of ClickHdl
ClickHdl happens on the "down" of the click, not the
"up" of the click, so the up gets lost and control
isn't returned to the parent widget, so extra clicks
are needed to give control back to it

Change-Id: I79023d2959377ff70aa890690dde5ce852c9549e
2015-06-07 17:51:34 +01:00
Caolán McNamara
81fb7720e5 Resolves: tdf#89104 Missing actions from toolbar
Toolboxes derive from Docking Windows, they are
not layout aware, which is ok, but they need
to tell the thing they are inserted in that their
state has changed if the parent is layout aware.

i.e. docking windows are not toplevel things like
dialogs and need to pass on queue_resize to things
above them

Change-Id: If0eeff90314bef4e828355661a75a0d34a6fc1bc
2015-06-07 17:40:54 +01:00
Julien Nabet
16f1477a2d Remove include stdio (part7)
Change-Id: I7058ac53f4bbf96eff9a36a03279ab0753cc42ba
Reviewed-on: https://gerrit.libreoffice.org/16135
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-07 15:33:38 +00:00
Caolán McNamara
29202a16d9 Resolves: tdf#89905 don't copy palettes from shared to user
make this a multi-path element with a shared read-only location
and a user read/write location and don't copy the presets, instead
just keep them in the shared location

Now an admin can copy extra palettes into the shared location
and they magically appear in the user deployments

Change-Id: I7585789c0c59941094f6128368df94b834d3c2a2
2015-06-07 15:39:22 +01:00
Caolán McNamara
2c3bf6bfc2 Related: tdf#89905 these PalettePath uses appear to really be UserConfigPath
which is the same path at the moment

Change-Id: Ifdefa478003a2b5cc5c065b1942194dda1275f5e
2015-06-07 15:39:22 +01:00
Yousuf Philips
bb3286016c tdf#91781 Addition of new commands not found in the menu bar
Change-Id: I3fed4a7ec52d728e8e437774c8b4c018995eb060
Reviewed-on: https://gerrit.libreoffice.org/16122
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Philippe Jung <phil.jung@free.fr>
2015-06-07 12:27:13 +00:00
Yousuf Philips
0fd01e681e tdf#81475 Another round of tweaks to Writer's various toolbars
Change-Id: I573fd274c9d757801036a79b47568a12b8096938
Reviewed-on: https://gerrit.libreoffice.org/16121
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Philippe Jung <phil.jung@free.fr>
2015-06-07 07:21:41 +00:00
Valter Mura
346dd51f1b Typo: Gourand → Gouraud
Change-Id: I6c5d4f97bce8f5b29d979e2508e691948e9399fb
2015-06-06 22:44:06 -05:00
Adolfo Jayme Barrientos
a37ed6710d tdf#91911 Start Center: Use a different icon for Recent Files
Icon imported from Adwaita (32x32/emblems/emblem-documents.png)

Change-Id: I4889644c5d253e1c9b722789336d911b7cdd8af9
2015-06-06 22:20:13 -05:00
Matthias Freund
47cddc662e tdf#75256 - Improve Sifr
New lc and sc version of_arc, pie, circle* and elipse icons.
New lc and sc version of fliphorizontal and flipvertical which I'm taken from tango.
Redo the lc_insertgraphic as svg out of the bitmap from jay philipz and do the sc version of it.
Change the inserthyperlink icons to match each other.

Change-Id: Ifd22c48f2ccfbb7355974c8d267525ca981b39f6
Reviewed-on: https://gerrit.libreoffice.org/16128
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-07 00:10:07 +00:00
andreas_ka
2da066628f Breeze: update icon set
Done Blue arrows - It would be nice to have a blue (or other color) used 
in wrap text, sort, sort ascending, sort descending, pivot table.

Done Spellcheck - Would be good to move the 3 green dots 1 pixel 
lower so its not touching the bottom of the ‘A’. 
(lc_SpellingAndGrammarDialog)

Done Insert Comment - All other insert buttons use a plus sign, 
so it would be good to use the same for this. In the small 
version (sc_insertannotation), there shouldnt be any plus or 
3 dots as this messes up the navigator. Would be nicer if the 
chain was a bit bigger. (lc_InsertAnnotation)

Change-Id: Ie53296c07f1c2373455a47917945ce9e0a188f76
Reviewed-on: https://gerrit.libreoffice.org/16129
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-07 00:08:24 +00:00
Adolfo Jayme Barrientos
d79fcb26fa Remove WITH_AGFA_MONOTYPE_FONTS
Undefined since 62bf424fa8
and 0789ee23ae.

We’ve never bundled these proprietary fonts.

Change-Id: I6ad6e7294504093cd0d64755ec72decf2bacc3f0
Reviewed-on: https://gerrit.libreoffice.org/16125
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-06 20:36:23 +00:00
Noel Grandin
3f72218069 Apply new VclPtr clang plugin to catch potential problems.
Omit the plugin, and sw's FrameControlsManager for now.

Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f
Reviewed-on: https://gerrit.libreoffice.org/16117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-06 20:26:54 +00:00