399050 Commits

Author SHA1 Message Date
Caolán McNamara
2734a6ce77 getNonLayoutRealParent is unused
Change-Id: Ie003bc7ccc9985162ea52a1b0164118d9c2ce437
2016-11-02 13:58:03 +00:00
Caolán McNamara
fd40e3ea09 lock tab-cycling inside the WB_DIALOGCONTROL widget
activate the color selector in the toolbar in the sidebar panel, press tab
to cycle between its widgets, when it hits the bottom it will
not return to the first widget, but escape out of the floating
window into the next sibling of the toolbar

Change-Id: I806fd4d94c477e9cfb2ea238830f7b646ea274d2
2016-11-02 13:52:50 +00:00
Caolán McNamara
c7b0d2f107 drop SvxColorWindow::Resize
Change-Id: I22ed6ace464cdfd4ee0c12e8269d8141efce57a6
2016-11-02 13:50:52 +00:00
Caolán McNamara
eb153b8f1a move SvxColorWindow to include/svx
Change-Id: Ie2e11c8582cbb204178c0616580f942d1ce773fb
2016-11-02 13:50:03 +00:00
Caolán McNamara
4778444d20 rename SvxColorWindow_Impl to SvxColorWindow
Change-Id: I84941f4566792e11a9070f8623857a3fac44591d
2016-11-02 13:43:30 +00:00
Khaled Hosny
1260bf28fc Add a comment here
Change-Id: I07f2fe400f20d8f52588db326851f310245b7d8d
2016-11-02 15:12:59 +02:00
Noel Grandin
b1f8cf3782 loplugin:singlevalfields
Change-Id: I65f96d9cd24572c8d0946acf4d2d45eb3db83a76
Reviewed-on: https://gerrit.libreoffice.org/30476
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 13:06:37 +00:00
Gabor Kelemen
c3a3b876a3 Updated core
Project: help  be1c45a0094513b93bbe9747398be1cab6a0abe0

Fix the Styles button reference

It has been renamed. Also Styles and Formatting is no
longer a window but a sidebar deck.

Change-Id: I3a7648c709012d14b62e7e1fc50c1ba893dfa6a0
Reviewed-on: https://gerrit.libreoffice.org/30481
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2016-11-02 12:13:24 +00:00
Miklos Vajna
852bd9c2c8 sw: prefix members of WW8TabDesc
Change-Id: I8c6e52d40f497fb7cee3ef812e2974aa292a11a8
2016-11-02 11:08:53 +01:00
Stephan Bergmann
55a77ed968 remove spurious "oh"
Change-Id: Ia214ef9c683492226ab39c1fd1061ecc9cbc264c
2016-11-02 10:39:00 +01:00
Stephan Bergmann
d2615f96ac Improve some error reporting
Change-Id: Ibfdb0eeebec785438d46a0e8e6e9f4c847bfb807
2016-11-02 10:33:49 +01:00
Tor Lillqvist
1851e87627 It's ODF version, not document version
Change-Id: I3e6a54dd92ebafebabf9e75b44b9f0b5f0b6aa8a
2016-11-02 11:27:23 +02:00
Justin Luth
f013d4a1f4 tdf#41542 PaddingWithoutBorders: allow UI changes if...
If the compatibility option is set, allow the border dialog for frames
to be able to adjust the spacing values without enabling the border lines.
That means it is only true for .doc and .docx right now.

Change-Id: I4004a849f7369c993089d1c7b5d856cbea4f7780
Reviewed-on: https://gerrit.libreoffice.org/28602
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-02 09:25:01 +00:00
melikeyurtoglu
9937b8daa7 tdf#91222 VclBuilder constructor cleanup
Change-Id: I9a82ebc57c7e246841fda0262763fa9a7fbd5970
Signed-off-by: melikeyurtoglu <aysemelikeyurtoglu@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29919
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 09:23:27 +00:00
Tor Lillqvist
8e904d334c Add a comment wondering about "ODF Version", further explanations welcome
Change-Id: Idc660ba71ccff02c97a018838974430c0206ace6
2016-11-02 10:56:42 +02:00
Stephan Bergmann
8251b57dec const-ness mismatch
(Why does that only cause a compilation failure now?
DataFlavorMapper::openOfficeToSystemFlavor always returned a const NSString*.
Odd.)

Change-Id: I5baa577b78d024c5e959df7ec5bf477057b91c07
2016-11-02 09:25:57 +01:00
Noel Grandin
3fea7ac94b loplugin:unusedfields
Change-Id: I96634c18ba6600f8f7d5d04a162dcd7e1e312923
Reviewed-on: https://gerrit.libreoffice.org/30474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:54:20 +00:00
Noel Grandin
2db81e7336 loplugin:expandablemethods in avmedia
Change-Id: I215230d3b7e3649146083f00e7c10c03a4d3154e
Reviewed-on: https://gerrit.libreoffice.org/30470
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:13:16 +00:00
Noel Grandin
a7369d9899 loplugin:oncevar in helpcompiler..reportdesign
Change-Id: I2dc57931fb230953c285aeb18f57c0a41fedafcb
Reviewed-on: https://gerrit.libreoffice.org/30463
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-02 07:12:46 +00:00
Khaled Hosny
5d39c20133 tdf#71603: Create a new DC for the font fallback
For some reason re-using the DC from SalGraphics results in
GetFontData() returning GDI_ERROR and we fail to read the font’s “cmap”
table. The wired thing is that this happens only for fonts that were
not used before, so if you open a document directly the fallback works
but if you open start center or blank Writer document you get no
fallback. GDI is “interesting”.

Change-Id: Ic23095cabbd2623717271ce5d89bea75dca76a9a
2016-11-02 01:37:21 +02:00
Stanislav Horacek
3f04f3f08b Updated core
Project: help  68f7b9d1c6ffed02a241645868e49bf80aa45b53

tdf#70998 change term "Graphics" to "Images"

Change-Id: Ic2c2877a077bd5ba67a271dd7a89c4d1391e6fbb
Reviewed-on: https://gerrit.libreoffice.org/30450
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:48:46 +00:00
Khaled Hosny
03bff1b6b9 tdf#71603: Improve font fallback on Windows a bit
Check all missing characters, not just the first one. Also the calling
sites for GlyphFallbackFontSubstitution hook expect the OUString to be
updated to have only any characters not supported by the returned font.

Change-Id: Ife56d692c05433f2f7fe02db3ef1562181dc3d53
2016-11-01 23:46:32 +02:00
Khaled Hosny
d66ec48fe8 Use the font language instead of guessing it
Similar to what we do with FontConfig.

Change-Id: Id01dabe0b52e4e3aea54073d42b719a924025920
2016-11-01 23:46:32 +02:00
andreas_k
35bfb8fb0c remove red alert color from pdf icon
Change-Id: Iebeebc26a02dfa4c9d517664fb803d371b8ac1cc
Reviewed-on: https://gerrit.libreoffice.org/30387
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:39:13 +00:00
Khaled Hosny
8d192b66e3 Misplaced #if ENABLE_GRAPHITE
Change-Id: I2af3fdf100f6aaf435d8ed33d781ea0ca4ec21ec
2016-11-01 23:37:39 +02:00
andreas_k
1476c299b6 quit icons in breeze-dark were shown in black instead of red
Change-Id: I1ae0ee355e537339e33c5e41826527ccb8dd6277
Reviewed-on: https://gerrit.libreoffice.org/30384
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:36:25 +00:00
Noel Grandin
241dca2d8a add an assert to check for ref-counts > 16 bits
after
    commit 87c518593de59dbf4c0f5f45c720b14a05aeca9e
    sc: remove antique reference counting hacks from ScDocumentPool

In theory, nothing should be trying to save items like this
anymore, but lets make the error more obvious in case something is.

Change-Id: I89b3637168c072d20e214a8f6338f6336d44d891
Reviewed-on: https://gerrit.libreoffice.org/30467
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-11-01 21:36:08 +00:00
andreas_k
943e82d8a4 update icon to have the right icon color in breeze-dark
Change-Id: Iaf1888357c8b9ed6aeb987341fbc69117c6e0ecb
Reviewed-on: https://gerrit.libreoffice.org/30386
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:35:38 +00:00
andreas_k
5f0d987f02 update calc icon now the calc icon is green instead of black
Change-Id: I7a11448e84ace54936b378bc178bbd4a7603b516
Reviewed-on: https://gerrit.libreoffice.org/30385
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 21:33:13 +00:00
Stephan Bergmann
f861c29e4c Clean up javavendors_*.xml files
...and drop unnecessary javavendors_template.xml

Change-Id: Ib7f2d595d2086c1d3bf324f19693b9032cf00cd7
2016-11-01 22:28:37 +01:00
Stephan Bergmann
f537e561c7 quickfix: Automatic selection of Oracle Java runtime on macOS
same issue as 36f637f7f21906fa3f37223e69b044db52036fb1 "tdf#103507 quickfix:
Automatic selection of Oracle Java runtime on Windows"

Change-Id: I3239bbf52263fb53bcd0ed54e8e983bda3b19182
2016-11-01 21:17:48 +01:00
Maxim Monastirsky
2c1d6e5989 tdf#103624 Avoid double init of controls in SidebarToolBox
Controls that created by the service manager are already
initialized by it. At least in the case of SaveToolbarController
such double init creates a problem, as SaveToolbarController
will add itself as a modify listener twice, but remove only
once in dispose method. Probably SaveToolbarController should
be smarter about this, for both not adding a listener twice,
and also not attempt to work after being disposed - but that
doesn't make the behavior of SidebarToolBox correct.

Change-Id: I3f0fcdff31c65198a2233c969d37a0015712fff5
2016-11-01 21:53:11 +02:00
Jochen Nitschke
8826771e83 style fixes for cppcheck noExplicitConstructor
Change-Id: I2a690caea7656f2a18beb6d09f53154178a30f34
Reviewed-on: https://gerrit.libreoffice.org/30460
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-11-01 18:44:20 +00:00
Marco A.G.Pinto
33bc51a605 Added 22 pt_PT autocorrect words
Change-Id: Ida1f8f836e1c5772771fb4ca3c90982b98326778
Reviewed-on: https://gerrit.libreoffice.org/30473
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-11-01 18:07:59 +00:00
Samuel Mehrbrodt
5cddf5d763 SafeModeDialog: Close dialog before restarting
Change-Id: I714040d0892cf154e002209dbdb4831b40ec08bc
Reviewed-on: https://gerrit.libreoffice.org/30472
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 16:45:00 +00:00
Stephan Bergmann
d82f34a7ec Forward debug/optimization flags to external/harfbuzz
Change-Id: Ie3bc54a43e46dc28faca9356f414a700a0727cec
Reviewed-on: https://gerrit.libreoffice.org/30456
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-11-01 16:04:44 +00:00
Szymon Kłos
889b8102e0 tdf#103481 fixed SIGABRT in embedded presentation
Change-Id: I51402aec953d58f92d8fe768bca0d2c2d1ce4474
Reviewed-on: https://gerrit.libreoffice.org/30368
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 15:54:17 +00:00
Tor Lillqvist
7ec0eed345 Fix inconsistent indentation
Change-Id: I4b87541c6e64e6b2b7c912f47a80a4aa37842014
2016-11-01 17:17:35 +02:00
Samuel Mehrbrodt
e13827070c SafeModeDialog: Group options
Change-Id: Ife0903c90f17efb2a1c6681ece8dd9af257873cd
Reviewed-on: https://gerrit.libreoffice.org/30453
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 14:59:20 +00:00
Samuel Mehrbrodt
69de2b4772 SafeModeDialog: Add link to user profile
Change-Id: I0096b3d7db51e28eb58c7209109c30b73b382478
Reviewed-on: https://gerrit.libreoffice.org/30448
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 14:58:25 +00:00
Samuel Mehrbrodt
1161de521e safemode: Add option to disable H/W acceleration
Change-Id: Ic6751717c14d317b5a4bc64c4fd1cf2b2f5efabf
Reviewed-on: https://gerrit.libreoffice.org/30112
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-11-01 14:54:04 +00:00
Michael Stahl
6b5cbdf833 sysui: add "translate" urls to AppData files
* run "appstream-util upgrade"
* add "translate" urls

Change-Id: I3bad7d5dd90cce7703a100ac95097ad3a8f2c56d
2016-11-01 15:49:22 +01:00
Tor Lillqvist
0bbc15aa24 Use enum class for two local enums
Change-Id: I0d7e6a14ec890b8a1dbdea3685b543b63426c628
2016-11-01 16:38:32 +02:00
Giuseppe Castagno
acf531be6a Cosmetic: Namespaces, better make use of the 'using-directive'
Change-Id: If27709a2d8d8f231be9be0231d522f2a71e5fcae
Reviewed-on: https://gerrit.libreoffice.org/30457
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Tested-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-11-01 13:33:41 +00:00
Caolán McNamara
9e33ac4035 Resolves: tdf#103556 the implicit convert to bare pointer hurts us here
Change-Id: I2d91cf9b11027f76dbcbb5432f4cad71c56f53f2
2016-11-01 13:30:54 +00:00
Noel Grandin
9bdec0831a loplugin:oncevar in sd..svgio
Change-Id: I58565460fcc3279c9771c6e1272d0af540b2c87c
Reviewed-on: https://gerrit.libreoffice.org/30459
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-01 13:25:08 +00:00
Noel Grandin
49c7bc5af2 loplugin:expandablemethods in accessibility
Change-Id: I51d13c12274d99623b97f611e30204bea624cbfc
2016-11-01 14:54:13 +02:00
Jochen Nitschke
53949256dd simplify loop to O(n)
Change-Id: Ib14da0201730e213f15f4f46b539fc843bfbe750
Reviewed-on: https://gerrit.libreoffice.org/30454
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-01 12:38:35 +00:00
Noel Grandin
3941482735 loplugin:oncevar in sal..scripting
Change-Id: Id9ab12f3a61eb83a2288b2fd4d99ab77f5833e1b
Reviewed-on: https://gerrit.libreoffice.org/30461
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-01 12:34:51 +00:00
Jochen Nitschke
d5c4823555 cppcheck unreadVariable: nModified
unused since initial commit 9ae5a91f7955e44d3b24a3f7741f9bca02ac7f24

Change-Id: I2828af1fbfda993dff32abf0f9a9f73e9fb61028
Reviewed-on: https://gerrit.libreoffice.org/30455
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-11-01 11:22:56 +00:00