LibreOffice.git
6 years agosc - unit tests for tdf#97369 and tdf#97587private/mcecchetti/calc-unit-test
Marco Cecchetti [Thu, 25 Feb 2016 16:34:30 +0000 (25 17:34 +0100)]
sc - unit tests for tdf#97369 and tdf#97587

Change-Id: If2f7fec727a7a7f607e576fea756810e0d4ff7da

6 years agoFix incorrect icon reference in Distribution dialog
Yousuf Philips [Thu, 18 Feb 2016 22:26:25 +0000 (19 02:26 +0400)]
Fix incorrect icon reference in Distribution dialog

Change-Id: I2b296f06800b5ae29a61cdae7b00961a6b502b66
Reviewed-on: https://gerrit.libreoffice.org/22492
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit aa7ceb44cf018d092ce09bb1572d7ce4876be513)
Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
6 years agoResolves: tdf#97953 spinbuttons are not suitable for reuse as up/down arrows
Caolán McNamara [Thu, 18 Feb 2016 14:16:23 +0000 (18 14:16 +0000)]
Resolves: tdf#97953 spinbuttons are not suitable for reuse as up/down arrows

(cherry picked from commit 4f034adcb79684bc4138e2f9708defd8a3532f74)

Change-Id: Ibcd7bd4099210a26513caac6e3b16a88a4c8abad

refactor ImplDrawSpinButton

there is (supposed to be anyway) no logic change here,
just unwind the overly complex flow

Change-Id: I9c96f41b0480a60c486b476f383d856b464cd62d
(cherry picked from commit 55b33456c14aa5311fb0e3d71f1cad4fbd73cbef)
Reviewed-on: https://gerrit.libreoffice.org/22486
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agosw: tdf#63022 fix drag-and-drop of text in same paragraph
Michael Stahl [Fri, 19 Feb 2016 16:32:48 +0000 (19 17:32 +0100)]
sw: tdf#63022 fix drag-and-drop of text in same paragraph

SplitNode() inserts new node before the existing one, so pEndTextNd and
aRg.aEnd point one node too far.

Change-Id: I6cea44fafd9d2b47e77e76892a260c5a8c6849fc
(cherry picked from commit fabc45a6a902c8988eff087831f8b2f84ea8ae6c)
Reviewed-on: https://gerrit.libreoffice.org/22510
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agoResolves: tdf#97904 opengl stuff isn't implemented for gtk3
Caolán McNamara [Thu, 18 Feb 2016 11:25:26 +0000 (18 11:25 +0000)]
Resolves: tdf#97904 opengl stuff isn't implemented for gtk3

Change-Id: I1abbceebadf320f28955f54058b2d0ebfc79b9bc
(cherry picked from commit d967cc35fd0c77d9f3dd0b3d0c7df850db6ec274)
Reviewed-on: https://gerrit.libreoffice.org/22472
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agogtk3+wayland: implement video playback under gtk3 + wayland
Caolán McNamara [Fri, 12 Feb 2016 16:55:12 +0000 (12 16:55 +0000)]
gtk3+wayland: implement video playback under gtk3 + wayland

split the gtk2 and gtk3 gtkobjects

(cherry picked from commit 31fa4545985acc1594107e087cedc2d99b3d0f0b)

Change-Id: I32084232c44a12e9641010b51e75710abc827695

rename X11WindowProvider to a NativeWindowHandle provider

sort of thing and genericize it

(cherry picked from commit e35e762d564da18b0b508112f3e4d78fd26ba99c)

Change-Id: I27e1e47f2b371e5269db079cfc1262d056105f80

implement wayland handle passing for gstreamer

Change-Id: I3b0effe35ad7b37ff7ab3de2a3b78b6312779139
(cherry picked from commit c0d4f3ad3307c7a0d0fddd8c413ef0cc91d382ae)

gtk3+wayland: play video via gtksink gstreamer element

(cherry picked from commit 8543fbc72fafc0d71a8760752ca2ef5b7119cb5c)

Change-Id: Ib371fa06eda73962cbe94739e69a68b46c26e4bf
Reviewed-on: https://gerrit.libreoffice.org/22462
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#96175 RTF filter: export \company
Miklos Vajna [Fri, 29 Jan 2016 11:18:49 +0000 (29 12:18 +0100)]
tdf#96175 RTF filter: export \company

(cherry picked from commit abe8ea175ad9fc282a1e702acb74da5d7c967cbe)

Change-Id: I590d015aa50350cceef70313498e72474d242789
Reviewed-on: https://gerrit.libreoffice.org/22506
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
6 years agogtk3: typo mnMaximizedWidth -> mnMaximizedHeight
Caolán McNamara [Fri, 19 Feb 2016 09:32:35 +0000 (19 09:32 +0000)]
gtk3: typo mnMaximizedWidth -> mnMaximizedHeight

Change-Id: I8966fd13d2fef4a86b19ad1916f1c266cfc037cc
(cherry picked from commit 8779459b1a619fc09e60d4c7ee9b86803383f5d0)

6 years agotdf#76817: fix missing heading styles assigned to outline levels in ooxml
Mark Hung [Wed, 3 Feb 2016 16:53:01 +0000 (4 00:53 +0800)]
tdf#76817: fix missing heading styles assigned to outline levels in ooxml

1. Export pStyle because writerfilter regard a list as an outline
   only if associated pStyle is set to "Heading N".
2. Export English style name to ensure style names created by LO
   with non-English UI is always recognized.
Cherry-picked from 78284714b73a8307174c596295894e8f3951e09a
and b2efa9db15500044cbb2bd2c94e819b9ee8c6f82
Reviewed-on: https://gerrit.libreoffice.org/22086
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx

Change-Id: I88c590e4bae6cf30e78ebc1011023461eac4e883
Reviewed-on: https://gerrit.libreoffice.org/22441
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
6 years agoconfigure: Fix Windows SDK 10 retrieval
David Ostrovsky [Wed, 17 Feb 2016 23:30:16 +0000 (18 00:30 +0100)]
configure: Fix Windows SDK 10 retrieval

Change-Id: I800bd502c3ecd4ec1cdaa6cb3cbe1c4432d8358f
Reviewed-on: https://gerrit.libreoffice.org/22451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
(cherry picked from commit 9218ca64957a27dfeacefd317b12edb82b405c7c)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/22485

6 years agogtk3: Resolves: tdf#96333 fix RTL menu positioning
Caolán McNamara [Thu, 18 Feb 2016 17:20:34 +0000 (18 17:20 +0000)]
gtk3: Resolves: tdf#96333 fix RTL menu positioning

Change-Id: I22c5186371e558ed84da81c43400379c218ca816
(cherry picked from commit d7a292ce490eeb8ff02e145e0a55f41f4c179541)
Reviewed-on: https://gerrit.libreoffice.org/22487
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
6 years agoConsider MSVC 14.0 per default, when no MSVC 12.0 installed
David Ostrovsky [Wed, 17 Feb 2016 18:49:12 +0000 (17 19:49 +0100)]
Consider MSVC 14.0 per default, when no MSVC 12.0 installed

Change-Id: I7de8df7d8b7da2c16e27f22529162574bc0f747d
Reviewed-on: https://gerrit.libreoffice.org/22436
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
(cherry picked from commit 649f74e21b6dc7117b542f490272897ac1d00566)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/22484

6 years agoallow disabling file/new, wizards, recent documents menu entries
Oliver Specht [Wed, 17 Feb 2016 11:07:59 +0000 (17 12:07 +0100)]
allow disabling file/new, wizards, recent documents menu entries

disabling the dispatches '.uno:AutoPilotMenu' and '.uno:AddDirect' and
.uno:RecentFileList via UNO API now results in disabled
menu entries as expected

Change-Id: Id99be9374306ff8c0cea919ea94ed96f715a8058
Reviewed-on: https://gerrit.libreoffice.org/22422
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
Reviewed-on: https://gerrit.libreoffice.org/22471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agofdo#94009: harfbuzz: don't export symbols from VCL
Michael Stahl [Thu, 18 Feb 2016 13:06:35 +0000 (18 14:06 +0100)]
fdo#94009: harfbuzz: don't export symbols from VCL

Should fix crashes due to symbol clashes in ELF global namespace
where system's libharfbuzz.so.0 is loaded as well.

Change-Id: I35ffcbe4ac4de5a25cd8bf0cb9a8f0c11f4554c5
(cherry picked from commit 549130ab5d9616f7eb5504db31546b386737ccb2)
Reviewed-on: https://gerrit.libreoffice.org/22480
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agotdf#97371 DOCX import: fix text covered by shape
Miklos Vajna [Thu, 28 Jan 2016 16:52:40 +0000 (28 17:52 +0100)]
tdf#97371 DOCX import: fix text covered by shape

Regression from commit 358666e4204364ce915ee95372dc6f2fca545253
(tdf#90153 DOCX import: fix default sw TextFrame roundtrip, 2015-09-28),
the problem was that at the moment SwTextBoxHelper::syncProperty()
doesn't handle an AnchorType at-para -> at-char transition, so the
importer shouldn't do that for TextBoxes till sw core gets extended to
support the scenario.

(cherry picked from commit 8f1a1092d47947847e1d888b0284e8364c663d1f)

Conflicts:
sw/qa/extras/ooxmlimport/ooxmlimport.cxx

Change-Id: I8308bfd306672bc68984fbf019767c174130e18d
Reviewed-on: https://gerrit.libreoffice.org/22483
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agoFix missing iterator include on MSVC 14.0
David Ostrovsky [Wed, 17 Feb 2016 22:28:26 +0000 (17 23:28 +0100)]
Fix missing iterator include on MSVC 14.0

Change-Id: I55de612aef52038fd9979426950d4ae4131ca586
Reviewed-on: https://gerrit.libreoffice.org/22448
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
(cherry picked from commit a3c70e760fa4203b7e6692f82d1d8a14214af3da)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
6 years agoMissing include
Stephan Bergmann [Tue, 15 Dec 2015 12:19:51 +0000 (15 13:19 +0100)]
Missing include

Change-Id: Iac9006292bfdb1b56e213346188245a205146803
(cherry picked from commit 3dc76dc72e14a48787664d6f005bbe61dd3767f0)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
6 years agofix inverted logic regression
Caolán McNamara [Thu, 18 Feb 2016 13:52:55 +0000 (18 13:52 +0000)]
fix inverted logic regression

regression from...

    commit 051b29e1025253f35f87a04e297760aa8b40611f
    Author: Luboš Luňák <l.lunak@collabora.com>
    Date:   Sun Sep 14 15:45:02 2014 +0200

        convert Edit autocomplete Hdl to boost signals2

    where the conversion was...

    - if ( maAutocompleteHdl.IsSet() )
    + if ( autocompleteSignal.empty() )

    instead of the correct

    + if ( !autocompleteSignal.empty() )

Change-Id: Ie87944d66958af595e64b41236bbf515ef7a1f98
Reviewed-on: https://gerrit.libreoffice.org/22477
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
6 years agoResolves: rhbz#1285356 force swing not to use gtk2 if gtk3 is loaded
Caolán McNamara [Wed, 17 Feb 2016 16:09:01 +0000 (17 16:09 +0000)]
Resolves: rhbz#1285356 force swing not to use gtk2 if gtk3 is loaded

Change-Id: I6347bf4c25ce649073afdfe4225182ab2dc84af1
Reviewed-on: https://gerrit.libreoffice.org/22433
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
(cherry picked from commit 9f7f881d11ceb4e2534758b9507a55292ec697b0)
Reviewed-on: https://gerrit.libreoffice.org/22463
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
6 years agotdf#95618 - opengl - mend control regions and caching for tab headers.
Michael Meeks [Wed, 17 Feb 2016 21:42:37 +0000 (17 21:42 +0000)]
tdf#95618 - opengl - mend control regions and caching for tab headers.

Some tab headers in some themes unhelpfully enlarge the control region
in some states - so query the region size in advance. Sadly the
control region querying is something of a train-wreck too - so only
use that for CTRL_TAB_ITEMs for now.

Also fix Rectangle constructor ordering.

Change-Id: I5e66ec541193f5b66a656dd45d5fba67a771e132
Reviewed-on: https://gerrit.libreoffice.org/22447
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agotdf#97922 - Mend nonsensical spin invalidation to improve rendering.
Michael Meeks [Wed, 17 Feb 2016 21:05:50 +0000 (17 21:05 +0000)]
tdf#97922 - Mend nonsensical spin invalidation to improve rendering.

Change-Id: I3a398c47c69cc292a681ebe2414d844c224f3e3e
Reviewed-on: https://gerrit.libreoffice.org/22444
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agotdf#97922 - get control area right for spinbuttons.
Michael Meeks [Wed, 17 Feb 2016 20:42:52 +0000 (17 20:42 +0000)]
tdf#97922 - get control area right for spinbuttons.

Also avoid caching both spin-buttons and some other complex types.
The cache key needs to be able to include more state.

Change-Id: I8eff6b1c5c51d27afb796cae66b45390433138b4
Reviewed-on: https://gerrit.libreoffice.org/22443
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agotdf#34882 Harmonize alignment of hex./decimal boxes
Adolfo Jayme Barrientos [Thu, 7 Jan 2016 18:02:31 +0000 (7 12:02 -0600)]
tdf#34882 Harmonize alignment of hex./decimal boxes

Stack these boxes vertically again

Thanks Eike for the feedback!

Change-Id: Ie2a5af6c3c46508df1763b33bf8446983e49e11c
Reviewed-on: https://gerrit.libreoffice.org/21225
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agotdf#95376 DOCX import: fix incorrectly indented tab stops
Miklos Vajna [Tue, 26 Jan 2016 12:21:28 +0000 (26 13:21 +0100)]
tdf#95376 DOCX import: fix incorrectly indented tab stops

Regression from commit f4badd9a485f32f787d78431ed673e2932973887
(tdf#92454 DOCX import: allow overriding para prop from num style in
para style, 2015-09-22), the problem was yet another priority
mishandling in the maze of various styles and indentation handling.

In the tdf#92454 bugdoc, both a numbering-from-paragraph-style and a
paragraph-style defined indentation, and Word preferred the numbering,
while Writer preferred the paragraph style, that's why the import-time
conversion was added.

However, it turns out there is a 3rd source that's still not direct
indentation formatting: a direct numbering. So the correct priority is:

direct-ind > ind-from-num > ind-from-parastyle > ind-from-num-from-parastyle

Which means in this case the indentation should not be set directly: the
two conflicting value (ind-from-num and ind-from-parastyle) will be
resolved correctly by Writer core.

Given that we always first get the para style info, and only then the
numbering, we just need to undo the conversion added for the other bug
if we see a direct numbering, then both the old bugdoc and this new one
will be handled properly.

Change-Id: I09cc84605d5df6159da985ad069d46b580a53358
(cherry picked from commit 3915bf2dc877d5f1140798e24933db0f21386a4a)
Reviewed-on: https://gerrit.libreoffice.org/22307
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agotdf#82012 - keep flip settings when compressing image
Justin Luth [Mon, 15 Feb 2016 14:57:36 +0000 (15 17:57 +0300)]
tdf#82012 - keep flip settings when compressing image

Format - flip - Horizontal/Vertical setting was lost when compressing
an image.

Change-Id: Id39e7ce9a82174ac2248851107e398979fba56aa
Reviewed-on: https://gerrit.libreoffice.org/22385
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agoscp2: fix typo in InstallModule_quickstart.mk
Michael Stahl [Wed, 17 Feb 2016 16:39:09 +0000 (17 17:39 +0100)]
scp2: fix typo in InstallModule_quickstart.mk

(cherry picked from commit 02ca4997d5a313c0679d7929f1f83f10f42f0510)

scp2: argh, fix the *other* typo on that line too

(cherry picked from commit 72720ac9b934af6f84111ec694fa46555d10a7bd)
Change-Id: I21f309e6cb53c129035d2985642a0e96c485cc56
Reviewed-on: https://gerrit.libreoffice.org/22435
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
6 years agotdf#85761 vcl: JPEG export does not save PPI values correctly
Chris Sherlock [Sat, 13 Feb 2016 05:08:01 +0000 (13 16:08 +1100)]
tdf#85761 vcl: JPEG export does not save PPI values correctly

JPEG values are currently hardcoded to 96PPI when we export JPEGs. The
Graphic class doesn't have an easy way to get the PPI, but this can
actually be calculated from the pref size and pref map mode (no idea
why it is called "Pref").

Interestingly, you need to get a multiplier to work this out, relative
to units of 100th mm. The EPS filter code had a function that does
exactly this, but it's entirely based on MapMode units so it was really
implemented in the wrong class IMO. I have thus moved it out of PSWriter
and into MapMode.

This also fixes tdf#65695, which was partially fixed, but had the JPEG
PPI hardcoded to 96dpi.

Also fixes tdf#97481.

Change-Id: Iedb674141dd4e22fcbfb7be357dc777f732aa3aa
Reviewed-on: https://gerrit.libreoffice.org/22339
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/22380

6 years agoTango: Add clear formatting icon and update 2 calc icons
Yousuf Philips [Tue, 16 Feb 2016 18:00:32 +0000 (16 22:00 +0400)]
Tango: Add clear formatting icon and update 2 calc icons

Change-Id: I9d7ead5acec45fe8cfad75d66d4ffa44f54c1e9f
Reviewed-on: https://gerrit.libreoffice.org/22401
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
(cherry picked from commit df8b1dca993d1c0d2b6d5fbfaf4741ffc4cb263b)
Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
6 years agounused vcl::IsWindowSystemAvailable
Juergen Funk [Sat, 5 Dec 2015 00:37:13 +0000 (5 01:37 +0100)]
unused vcl::IsWindowSystemAvailable

Change-Id: Ie903a6fe3237319661662c0533c23528766ffd08
Reviewed-on: https://gerrit.libreoffice.org/20404
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 6ded842ac4a0e06efcfcc312775d25063201eb68)

6 years agoRelated: tdf#97739 fix gtk3 spinbuttons for recent control region changes
Caolán McNamara [Tue, 16 Feb 2016 12:27:29 +0000 (16 12:27 +0000)]
Related: tdf#97739 fix gtk3 spinbuttons for recent control region changes

Change-Id: Ia745cbe808395c4c9ec6a3c72612814a4834bbcb
(cherry picked from commit e6d255420a7fb00ed1050e0e96768eea57a92bc4)
Reviewed-on: https://gerrit.libreoffice.org/22395
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
6 years agosw: fix a STL assertion in lcl_MoveAllLowerObjs()
Michael Stahl [Fri, 12 Feb 2016 22:33:36 +0000 (12 23:33 +0100)]
sw: fix a STL assertion in lcl_MoveAllLowerObjs()

For OLE objects MoveObjectIfActive() ends up calling
SwSortedObjs::Update() which removes and re-inserts objects,
thus invalidating the pSortedObj iterator.

(regression from 04783fd91832fa01a5b096f395edd7ad4f9c0f6b)

Change-Id: I2628f1b4ecd1c20ebbc4e9dda4e4befc9fad4644
(cherry picked from commit cf91483690291272f48ff95c1aebd165da8ae4f0)
Reviewed-on: https://gerrit.libreoffice.org/22338
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agosfx2: related tdf#56270: loss of embedded objects imported from DOCX
Michael Stahl [Fri, 12 Feb 2016 17:22:51 +0000 (12 18:22 +0100)]
sfx2: related tdf#56270: loss of embedded objects imported from DOCX

After the import some of these are kept in RUNNING state.  For Math
objects imported from MathType3 OLEs in particular, first a new
Math object is created and stored to the XStorage, only then is the
MathType3 stream imported.  This means the Math object is modified and
contains data that must be stored.

The problem is then that SfxObjectShell::ImportFrom() simply calls
setModified(false), clearing the flag without storing the object.

For Flat ODF export we lose all the objects that are cached in sw's
SwOLELRUCache; for the bugdoc something more inexplicable happens for
ODT export where we lose "Object 214" (which is the first one in the
cache) but no other ones.

(The main difference is that for ODF there is an optimization to copy the
embedded object's storage without loading the object, but for Flat ODF
every object must be loaded and exported.)

(regression from 83777cd6e0f3f1a4458af896fd13344c696ecb1e)

Change-Id: Id1474fba9f4da2d5247c7ff4dc6819ddb9829fe8
(cherry picked from commit d81d104833f0ee9349ebcd0d79d2de84ba9a7262)
Reviewed-on: https://gerrit.libreoffice.org/22334
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#97739 - ensure we have a valid rectangle for spin-button controls.
Michael Meeks [Mon, 15 Feb 2016 15:56:23 +0000 (15 15:56 +0000)]
tdf#97739 - ensure we have a valid rectangle for spin-button controls.

Otherwise OpenGL can't render, cache and diff these; so we loose them.

Change-Id: Iac4f3ee0fc68154f708a881d5e0255fc9f8df62d
Reviewed-on: https://gerrit.libreoffice.org/22374
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins <ci@libreoffice.org>
6 years agotdf#56321 - .doc import image flipped status
Justin Luth [Tue, 16 Feb 2016 05:32:33 +0000 (16 08:32 +0300)]
tdf#56321 - .doc import image flipped status

Although LO was exporting whether an image was flipped
horizontally or vertically, it wasn't reading it in during
an import.

Reviewed-on: https://gerrit.libreoffice.org/22344
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
(cherry picked (minus unit tests)
   from commit aa03fd09c0e18ace241c9fe151f7f52c6773f403)

Change-Id: Ia85e3459d00f40d852bbcd3fcfe15e7b53d518ba
Reviewed-on: https://gerrit.libreoffice.org/22384
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
6 years agoUnit test for opengl blocklist parsing and evaluating
Tomaž Vajngerl [Mon, 15 Feb 2016 14:10:03 +0000 (15 15:10 +0100)]
Unit test for opengl blocklist parsing and evaluating

Parsing unit test checks that the xml values are parsed correctly
and that the DriverInfo structure is populated with the expected
values.

Evaluate unit test checks that blacklisting / whitelisting
logic blocks OS/vendor/driver/device as expected.

Change-Id: Ib1b0926606f0835207c324193bbe19ba83f86bdc
Reviewed-on: https://gerrit.libreoffice.org/22377
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
6 years agosw: ensure that configuration change in odfexporttest.cxx ...
Michael Stahl [Fri, 12 Feb 2016 14:47:05 +0000 (12 15:47 +0100)]
sw: ensure that configuration change in odfexporttest.cxx ...

... is reverted in case the test function throws an exception, so that
subsequent^Wfollowing tests don't inherit the changed configuration.

Change-Id: I748f9edf15a7f860607ae4cce891450db254c73e
(cherry picked from commit e2bfae9006e6adc4de17d0167dac6661b002f126)
Reviewed-on: https://gerrit.libreoffice.org/22333
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
6 years agosw: don't crash if Office.Common/Cache/Writer/OLE_Objects set to 1
Michael Stahl [Fri, 12 Feb 2016 12:40:46 +0000 (12 13:40 +0100)]
sw: don't crash if Office.Common/Cache/Writer/OLE_Objects set to 1

(possibly regression from b717bda1f6484905aebc571c4538165a1fbfd2bb)

Change-Id: I9113fe2e769cd6ba56bdccc629ac63241b238553
(cherry picked from commit 60d4dd0a6c44b45ed424ca6a0ddcf857ec089b24)
Reviewed-on: https://gerrit.libreoffice.org/22332
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
6 years agogtk3: only available since 3.12.0
Caolán McNamara [Fri, 12 Feb 2016 21:05:23 +0000 (12 21:05 +0000)]
gtk3: only available since 3.12.0

(cherry picked from commit 2b60321b21ff9ada64576f5711950b616b8a25ba)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Change-Id: I23a9907fa0ec3258afdb69285f31b6ce5a3521a0

6 years agoUpdated core
Andras Timar [Mon, 15 Feb 2016 06:40:34 +0000 (15 07:40 +0100)]
Updated core
Project: translations  b7736048644defcbcccedb40e80e9f16c787e48d

Updated Slovenian translation

Change-Id: Iecb1236d948ce2634e3bd27fc1620bf32168191d

6 years agoUpdated core
Andras Timar [Sun, 14 Feb 2016 22:36:06 +0000 (14 23:36 +0100)]
Updated core
Project: translations  259f921f6207e58ce4584551d544350fed55b8d6

Updated Slovenian translation

Change-Id: I777971268f130f1d9870e5c412f73b35b39a48ae

6 years agotdf#97816 - vcl: opengl - clear the user buffer after greyscale conversion.
Michael Meeks [Tue, 9 Feb 2016 17:15:29 +0000 (9 17:15 +0000)]
tdf#97816 - vcl: opengl - clear the user buffer after greyscale conversion.

Change-Id: Ie87fc935bf69b5eb2c620e60d041fb95b544ec96
Reviewed-on: https://gerrit.libreoffice.org/22243
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/22329
Tested-by: Jenkins <ci@libreoffice.org>
6 years agoUpdated core
Andras Timar [Thu, 11 Feb 2016 09:46:53 +0000 (11 10:46 +0100)]
Updated core
Project: dictionaries  39a2f9e469f8314567a7c80ac4b25492941aee67

Updated pt_PT dictionary to version 16.1.3.4

Change-Id: Iceff55cf9d09817f8f857b687983fddfbffb5c56
(cherry picked from commit 86e206b136520e4e4952637851f05d104af53715)
Reviewed-on: https://gerrit.libreoffice.org/22282
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
6 years agotdf#97374: prevent crash while updating SvxPageTitleField
Oliver Specht [Mon, 1 Feb 2016 15:06:33 +0000 (1 16:06 +0100)]
tdf#97374: prevent crash while updating SvxPageTitleField

with commit 2970ec843820a72d73a91cc11fc353e5b9fde5fd the check for
a valid pDoc had been removed

Change-Id: I644ee82a46ec4f047f1a1b6bff68c4b67e96c3d8
Reviewed-on: https://gerrit.libreoffice.org/22006
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
(cherry picked from commit 90dfa7cbcaf32aab6005b94b393c7c409ff1af8f)
Reviewed-on: https://gerrit.libreoffice.org/22154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
6 years agoRelated: rhbz#1287593 subissue 6, get suitable hyperlink colors for dark theme
Caolán McNamara [Fri, 12 Feb 2016 11:32:53 +0000 (12 11:32 +0000)]
Related: rhbz#1287593 subissue 6, get suitable hyperlink colors for dark theme

(cherry picked from commit 06e8c58acb6ba667f8fd8c5587a3b3037324971a)

Change-Id: Ieb5ed52fa8a9c26b3e839388a58cff295166eed9
Reviewed-on: https://gerrit.libreoffice.org/22313
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agoRelated: rhbz#1287593 subissues 1 & 2, pick 'tab' suitable colors from theme
Caolán McNamara [Fri, 12 Feb 2016 12:06:00 +0000 (12 12:06 +0000)]
Related: rhbz#1287593 subissues 1 & 2, pick 'tab' suitable colors from theme

we don't use these for "real" tabs in tabcontrols in the gtk3 themeing
but they get used in other places

Change-Id: Ia55b8a43604f624ac82923897a01050fa4aa2bc9
(cherry picked from commit 4cd1c029812155e4e1f80dcf69ea4167edec0130)
Reviewed-on: https://gerrit.libreoffice.org/22314
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agogtk3: we don't render whatever a CTRL_LISTNET is
Caolán McNamara [Fri, 12 Feb 2016 11:36:16 +0000 (12 11:36 +0000)]
gtk3: we don't render whatever a CTRL_LISTNET is

Change-Id: I21a64250182b4630fa41583d7536081adf441ec5
(cherry picked from commit 6603564716694a1211e9a451bf868b2fc8f29460)
Reviewed-on: https://gerrit.libreoffice.org/22312
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agoWe need to mention the vcl_opengl_blacklist here
Tor Lillqvist [Fri, 12 Feb 2016 14:36:55 +0000 (12 16:36 +0200)]
We need to mention the vcl_opengl_blacklist here

Otherwise the file won't be included in the installer.

Change-Id: I928144e666377f18efa3a66f1e8c3e4204a708dc
(cherry picked from commit 98015cdcde77d23b66636591280463ae577246c0)
Reviewed-on: https://gerrit.libreoffice.org/22318
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
6 years agoFix tdf#97500 Reinstate missing file error dialog on WebDAV
Giuseppe Castagno [Mon, 1 Feb 2016 15:04:49 +0000 (1 16:04 +0100)]
Fix tdf#97500 Reinstate missing file error dialog on WebDAV

Bug introduced with my fix to tdf#96669 in commit
5fc2910fc872bbd1184aaab7c842dff593d2449b.

Reverted previous fix and write a new version in fpicker instead.

On WebDAV better check if the stream opens first, then check
IsDocument property, because it may be a folder name.

Change-Id: I72ce728329e4194080db6fa4cc4d98fecf7672e9
Reviewed-on: https://gerrit.libreoffice.org/22214
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
(cherry picked from commit f12e483589888f87843026ceff5ae3c1e615ca02)
Reviewed-on: https://gerrit.libreoffice.org/22283
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#89505: replace tab character with space in table of contents
Oliver Specht [Wed, 10 Feb 2016 15:57:14 +0000 (10 16:57 +0100)]
tdf#89505: replace tab character with space in table of contents

the ToxWhitespaceStripper now replaces also tab characters so that
they don't break the formatting

Change-Id: If66aaddcbc0f8c65461f53f07ca7031f8f1d11b4
Reviewed-on: https://gerrit.libreoffice.org/22271
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
(cherry picked from commit 5152c43109c9a35f30fc9b0f478c1fbaf01a1143)
Reviewed-on: https://gerrit.libreoffice.org/22285
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agogtk3: adapt to 3.20 style changes
Caolán McNamara [Mon, 8 Feb 2016 15:59:22 +0000 (8 15:59 +0000)]
gtk3: adapt to 3.20 style changes

todo: get rid of the rest of the getStyleContext foo
in favour of additional createStyleContext entries.

This appears to now render fine on f23 and f24.

upstream gtk now has a foreign drawing demo in gtk-demo. Stuff we are trying to
do here can be found in a cleaner single-version state there. And additional
demos can be added to keep a reference of how to do this crap up-to-date.

(cherry picked from commit 03c33a2521421415c4fcbbe1491dc92a1943269b)

Change-Id: I5ae1a52a2cacc6d8178ed1af30a12536ba828050
Reviewed-on: https://gerrit.libreoffice.org/22290
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#56544: Support LO's .~lock.*# file locking over smb, too
Stephan Bergmann [Thu, 11 Feb 2016 17:26:24 +0000 (11 18:26 +0100)]
tdf#56544: Support LO's .~lock.*# file locking over smb, too

Change-Id: Ia18c3044aba82f935b13f22ba98aff42e9d5098f
(cherry picked from commit 763521335b01a37c511ae8069cade9b4b69fef66)
Reviewed-on: https://gerrit.libreoffice.org/22295
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agotdf#97197 - GL transitions should use their context not VCL's.
Michael Meeks [Thu, 11 Feb 2016 17:17:28 +0000 (11 17:17 +0000)]
tdf#97197 - GL transitions should use their context not VCL's.

Change-Id: Ifab7da221e73e068ebe0856a4224ec4ca4d611b5
Reviewed-on: https://gerrit.libreoffice.org/22293
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
6 years agotdf#97763 - avoid divide by zero for scaling images to tiny dimensions.
Michael Meeks [Thu, 11 Feb 2016 17:35:20 +0000 (11 17:35 +0000)]
tdf#97763 - avoid divide by zero for scaling images to tiny dimensions.

Change-Id: I27efebcc1c24d45c17da2ad2959b673153c3eead
Reviewed-on: https://gerrit.libreoffice.org/22297
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
(cherry picked from commit 4d379cd842a9d27a0aec54af5b2ce94c01dfa0bd)
Reviewed-on: https://gerrit.libreoffice.org/22299
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
6 years agotdf#97715 fix inv. scale calculation in DrawTransformedTexture
Tomaž Vajngerl [Thu, 11 Feb 2016 14:57:27 +0000 (11 15:57 +0100)]
tdf#97715 fix inv. scale calculation in DrawTransformedTexture

When image was rotated towards 90 degree the ixscale and iyscale
went towards infinity. That caused problems in fragment shader
areaScaleFastFragmentShader. The problem was with calculation
of destination width and height which didn't take rotation
into account correctly. This commit takes this calculation
from WinSalGraphicsImpl::drawTransformedBitmap.

Change-Id: I30f14a1ecda21ef167e58eda8e2fcef00bdfa2b7
Reviewed-on: https://gerrit.libreoffice.org/22289
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
6 years agotdf#85523 DOCX import: fix unexpected extra char at comment end
Miklos Vajna [Tue, 19 Jan 2016 08:27:19 +0000 (19 09:27 +0100)]
tdf#85523 DOCX import: fix unexpected extra char at comment end

(cherry picked from commit 39969defa29948d77565a7cd8a3471baaec8f35d)

Change-Id: Ic3eb073d11a395a81b90fd1a9292d6ecf2940c09
Reviewed-on: https://gerrit.libreoffice.org/22157
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agobump product version to 5.1.2.0.0+
Christian Lohmaier [Wed, 10 Feb 2016 19:57:16 +0000 (10 20:57 +0100)]
bump product version to 5.1.2.0.0+

Change-Id: I0a65353978beb0f0660ee14607704b623e441fa9

6 years agoupdate emoji autocorrect files from po-files
Christian Lohmaier [Wed, 10 Feb 2016 19:48:46 +0000 (10 20:48 +0100)]
update emoji autocorrect files from po-files

Change-Id: I9afda5ccefa59c41977244aa40844d6b7d926b13
(cherry picked from commit 7f02815bf90f4dee5c76f2bdb4fd84f03e27527e)

6 years agoupdate credits
Christian Lohmaier [Wed, 10 Feb 2016 19:45:24 +0000 (10 20:45 +0100)]
update credits

Change-Id: Iee78d25b7488273be7dfc8f9cd143c59b5169734
(cherry picked from commit 068403aba502d48aa3e2b57ef9eb8727e29fc0c9)

6 years agoUpdated core
Christian Lohmaier [Wed, 10 Feb 2016 17:58:30 +0000 (10 18:58 +0100)]
Updated core
Project: translations  95639d3c94590930ca63e5029eea21ea4ba1d8e7

update translations for 5.1.1 rc1

and force-fix errors using pocheck

Change-Id: Id683b299a55c834c69222b37a76361d9ac0804e1
(cherry picked from commit 5eaac2d75c77fe4ba1a3bd3838c8cd1e74a4e2fe)

6 years agoUIDNA_CHECK_CONTEXTO is only available in ICU >= 49
Stephan Bergmann [Tue, 9 Feb 2016 10:55:59 +0000 (9 11:55 +0100)]
UIDNA_CHECK_CONTEXTO is only available in ICU >= 49

...unlike the rest of the createUTS46Instance stuff, which is available in 4.6.
While it is desirable to have that check here, it probably doesn't make much of
a difference in practice, and Rico Tzschichholz would like to have this working
on Ubuntu 12.04, where only ICU 4.8.1 is available.

Change-Id: I5bbd2ed296c6e068e175e7f8353cea37ed4d9e44
(cherry picked from commit f1cb83cef59c3b1d5ee780e8916832483468fab7)
Reviewed-on: https://gerrit.libreoffice.org/22227
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agovcl, libreofficekit: gtk_clipboard_wait_for_contents() may return null
Michael Stahl [Tue, 9 Feb 2016 13:13:48 +0000 (9 14:13 +0100)]
vcl, libreofficekit: gtk_clipboard_wait_for_contents() may return null

Don't crash then.

Change-Id: I4980fe4ea56e023cbf303fa43d1e6b383d983d2e
(cherry picked from commit 678e0ea1472478d248d1a45c1e0ade5ed84f9d46)
Reviewed-on: https://gerrit.libreoffice.org/22235
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agoopengl: remove unneeded mnBufWidth{Height} from OpenGLSalBitmap
Tomaž Vajngerl [Tue, 9 Feb 2016 22:23:54 +0000 (9 23:23 +0100)]
opengl: remove unneeded mnBufWidth{Height} from OpenGLSalBitmap

Reviewed-on: https://gerrit.libreoffice.org/22258
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
(cherry picked from commit b4c6cf513c5bb0ed02b95bbdbb0879a78c1eca65)

Change-Id: Idf445b9f6b403a0d37650c14e17b7d754451edf1
Reviewed-on: https://gerrit.libreoffice.org/22264
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
6 years agoupdate graphite to 1.3.5
Caolán McNamara [Mon, 8 Feb 2016 09:35:52 +0000 (8 09:35 +0000)]
update graphite to 1.3.5

Change-Id: I3287d51430d7a0901dd8bbf2458b845bcf92a8d2
(cherry picked from commit c64ea526dc71da6e3aad188ac71e58047ed74b5a)
Reviewed-on: https://gerrit.libreoffice.org/22201
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agoopengl: invert50 shader compilation error
Tomaž Vajngerl [Tue, 9 Feb 2016 21:23:51 +0000 (9 22:23 +0100)]
opengl: invert50 shader compilation error

- can't assign vec4 to vec2
- LHS of `&&' must be scalar boolean

Change-Id: I46bef7d41198ed1a33f9c3f7796f25358849852e
(cherry picked from commit 8cf3f7bb7eba6fcddb42b6b789e5e4372a23f6b5)
Reviewed-on: https://gerrit.libreoffice.org/22259
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
6 years agotdf#97700 - vcl: opengl - add asserts for horrible size mismatch.
Michael Meeks [Wed, 10 Feb 2016 00:40:38 +0000 (10 00:40 +0000)]
tdf#97700 - vcl: opengl - add asserts for horrible size mismatch.

We really need to be sure that our texture and its wrapper agree on
the size of the texture, and particularly the buffer it is reading
into to avoid DMA'ing junk over the heap.

Add paranoid assertions, also add a canary at the end of the texture
so we fail hard and fast in this case.

Change-Id: Ibf4869fb5cba562aa117943ce0f2f3df21ca7036
Reviewed-on: https://gerrit.libreoffice.org/22252
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agoslideshow: Add shadows to Honeycomb, using the same way as Vortex
Emmanuel Gil Peyrot [Tue, 9 Feb 2016 23:59:16 +0000 (9 23:59 +0000)]
slideshow: Add shadows to Honeycomb, using the same way as Vortex

Change-Id: I1f8f11f900f281792b417c1efead272fe3e8432e
Reviewed-on: https://gerrit.libreoffice.org/22255
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agotdf#97700 - vcl: opengl - fix memory corrupting size mis-match.
Michael Meeks [Wed, 10 Feb 2016 00:46:17 +0000 (10 00:46 +0000)]
tdf#97700 - vcl: opengl - fix memory corrupting size mis-match.

Change-Id: Iab49a20c85f9deb3e8c60a782050aa4c12b663ad
Reviewed-on: https://gerrit.libreoffice.org/22253
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agovcl: opengl - fix crashing / memory corrupting issues with updateChecksum.
Michael Meeks [Tue, 9 Feb 2016 17:08:08 +0000 (9 17:08 +0000)]
vcl: opengl - fix crashing / memory corrupting issues with updateChecksum.

Switch to use GetTexture which is robust over a number of corner-cases.
Also ensure that we have a valid VCL OpenGLContext.

Change-Id: I79b2b8ee241da4ed79e93e30df005e8c32ffcf02
Reviewed-on: https://gerrit.libreoffice.org/22242
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 77841b211fe7e4bdb6511333236ba4b86fac908f)
Reviewed-on: https://gerrit.libreoffice.org/22247
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
6 years agoslideshow: Don't de-reference Nodes cast to const char *.
Michael Meeks [Tue, 9 Feb 2016 13:41:27 +0000 (9 13:41 +0000)]
slideshow: Don't de-reference Nodes cast to const char *.

This crept in with a conversion in:
    7bdc6be9c23517eec02ce7139edd7003abbee1f8

Change-Id: Ic1c62122934d5857326258565e4b54ef6e81b884
Reviewed-on: https://gerrit.libreoffice.org/22237
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/22240
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
6 years agoslideshow: Add shadows to the Vortex transition
Emmanuel Gil Peyrot [Tue, 9 Feb 2016 09:27:46 +0000 (9 09:27 +0000)]
slideshow: Add shadows to the Vortex transition

These are done using a shadow mapping technique, we render both slides
from the point of view of the light, and then do a second pass in which
we lower the light of the fragment if some other cube is above it.

also:

slideshow: Only retrieve each uniform location once

Change-Id: I8aaa1428c4481661283bf69b5e56aa4d95fb80dd
Reviewed-on: https://gerrit.libreoffice.org/22232
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/22245
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
6 years agotdf#97369: Fix SUMming in the software interpreter
Tor Lillqvist [Fri, 5 Feb 2016 13:01:48 +0000 (5 15:01 +0200)]
tdf#97369: Fix SUMming in the software interpreter

GetRefRowSize() is not what we want, but GetArrayLength(). I think. At
least helps in the sample document. (Need a hard recalc after loading
it, though, but I assume that is expected.)

Also, fix the handling of multiple columns in the area being summed.

Change-Id: I21477ca83042a40a300bc033e4a8b74ab5fc3015
Reviewed-on: https://gerrit.libreoffice.org/22153
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/22200
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
6 years agopyuno: Fix build with python 2.7
Rico Tzschichholz [Tue, 9 Feb 2016 11:55:24 +0000 (9 12:55 +0100)]
pyuno: Fix build with python 2.7

Adjust conditionals to properly respect python 2.7.1+

Change-Id: I32d21a071e054100294e418af5358305eac69944
Reviewed-on: https://gerrit.libreoffice.org/22230
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
6 years agotdf#97666 - opengl: convert the bitmap to 8bit grays using GL shader
Tomaž Vajngerl [Mon, 8 Feb 2016 21:25:59 +0000 (8 22:25 +0100)]
tdf#97666 - opengl: convert the bitmap to 8bit grays using GL shader

Change-Id: I4d48d29ab752814f71c697a201e70a26ae937775
Reviewed-on: https://gerrit.libreoffice.org/22223
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
6 years agotdf#97458 - remove unused intel opengl driver version special-casing.
Michael Meeks [Mon, 8 Feb 2016 17:11:28 +0000 (8 17:11 +0000)]
tdf#97458 - remove unused intel opengl driver version special-casing.

Change-Id: I938bcab02edb37a5e7d72f1551867e0f5a4dd89b
Reviewed-on: https://gerrit.libreoffice.org/22215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Bryan Quigley <gquigs@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/22217
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
6 years agofix SwClient crash in SwXNumberingRules/SwXTableRows/SwXTableColumns
Noel Grandin [Fri, 4 Dec 2015 09:52:53 +0000 (4 11:52 +0200)]
fix SwClient crash in SwXNumberingRules/SwXTableRows/SwXTableColumns

was generated a crash when running 'make check' on my Linux box.
These classes need to hold the SolarMutex when destructing their
SwClient base class.

Reviewed-on: https://gerrit.libreoffice.org/20391
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 9e2973dbb90b5d9ce004cbf333f5000e4d50dc18)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Change-Id: I448ea00978d003aa37d8663d37b4edf9e54a6a56

6 years agotdf#97633 Add API to get the number of OpenGL buffer swaps, including ...
Tor Lillqvist [Tue, 26 Jan 2016 09:17:57 +0000 (26 11:17 +0200)]
tdf#97633 Add API to get the number of OpenGL buffer swaps, including ...

... through UNO

(cherry picked from commits dff18c2be9c72aa05940982f506804eb41d3d79a,
2c55288357c9d5410afae58c1fbb97cdfabf0360,
32d98b2551644dea50e58f99ae921a82a0f69753 and
4cd058f3f6568724c65ac88769f17fcc6078da23)

Change-Id: Iff29ac615ad4b6516790b1cbbde0215a3cd0efe6
Reviewed-on: https://gerrit.libreoffice.org/22209
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#95024 Update Hungarian Autocorrect patterns
László Németh [Fri, 29 Jan 2016 18:06:27 +0000 (29 19:06 +0100)]
tdf#95024 Update Hungarian Autocorrect patterns

According to the new Hungarian spelling reform

Change-Id: I6b65b388fe0a93e997a7001e5db0443ea5fecb87
Reviewed-on: https://gerrit.libreoffice.org/21944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 865d29b276ff62cfb1bb9ef18ec0d81ad9be7a0a)
Reviewed-on: https://gerrit.libreoffice.org/22212
Tested-by: Andras Timar <andras.timar@collabora.com>
6 years agotdf#97587: Treat plain NaNs as zero in the software interpreter for SUM
Tor Lillqvist [Fri, 5 Feb 2016 12:58:11 +0000 (5 14:58 +0200)]
tdf#97587: Treat plain NaNs as zero in the software interpreter for SUM

The NaNs that have been stored in the arrays by
ScColumn::FetchVectorRefArray() and other code correspond to empty
cells. For the purpose of SUM they should be treated as zero.

Change-Id: I8ac0c8afdf71da415ed120f9f8f6d51a8b5edb15
Reviewed-on: https://gerrit.libreoffice.org/22199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
6 years agoUpdated core
Andras Timar [Sun, 7 Feb 2016 20:08:09 +0000 (7 21:08 +0100)]
Updated core
Project: translations  05e9f603a6feb911932ca6380bc2f0f12e7596f5

Updated Slovenian translation

Change-Id: Ib81bd2e332383069a496b62fbd9a7b11c9896c5a

6 years agotdf#97051: prevent duplicate copy of SfxItemSet
Oliver Specht [Tue, 2 Feb 2016 09:44:40 +0000 (2 10:44 +0100)]
tdf#97051: prevent duplicate copy of SfxItemSet

the patch f7424ed710e54bb2437a28380b03ed7c26290edc introduced copying of
the input item set of SfxTabDialog so now the item set of the style must
not be copied anymore.

Change-Id: If4155ee5999f0c5cd2ac754578a2c1b5ec33b14b
Reviewed-on: https://gerrit.libreoffice.org/22022
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
(cherry picked from commit 869c73d0d2512e483ceedcc895b7cb86e0974ab2)

6 years agosw: fix SolarMutex asserts from SwXCellRange dtor
Michael Stahl [Thu, 4 Feb 2016 21:55:07 +0000 (4 22:55 +0100)]
sw: fix SolarMutex asserts from SwXCellRange dtor

Happened when loading a report from the attachment of tdf#97033,
but that bug is apparently about a different crash.

Deploy the sw::UnoImplPtr, which is clearly the best way to avoid such
problems.  Also another silly weak pointer this, for tdf#72695.

(cherry picked from commit 7e349c0eee15fa0f9d8d71a3c9e311d2da62e670)

Change-Id: Ice8db95ca3eecc638bd4a4ef7fa8967d180bd525
Reviewed-on: https://gerrit.libreoffice.org/22159
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agotdf#79163: SVGIO: Fix problem with opacity attribute
Xisco Fauli [Sat, 30 Jan 2016 00:50:07 +0000 (30 01:50 +0100)]
tdf#79163: SVGIO: Fix problem with opacity attribute

Opacity attribute didn't work because it was always set to 1.0

Change-Id: I3a2029ef23acf9d8c0f346e04341db33c6802b8e
Reviewed-on: https://gerrit.libreoffice.org/21911
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
(cherry picked from commit 359f43f8e76c3bd85c3daf35b5a6d925a4c8c64f)
Reviewed-on: https://gerrit.libreoffice.org/22007
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agolok: fix saveAs for a loaded HTML document
Tomaž Vajngerl [Thu, 4 Feb 2016 13:44:36 +0000 (4 14:44 +0100)]
lok: fix saveAs for a loaded HTML document

a HTML document is reported as "com.sun.star.text.WebDocument"
which is a unsupported document type in LOK so report it as a
LOK_DOCTYPE_TEXT instead.

Change-Id: Iaa77cb8b1f55cf31ebbb4fd4d69c02702e60e251
(cherry picked from commit 806d34981f480908645038f4cfc29ebcf25ca145)
Reviewed-on: https://gerrit.libreoffice.org/22119
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agoreportbuilder: tdf#92720: add loext namespace
Michael Stahl [Wed, 3 Feb 2016 21:39:46 +0000 (3 22:39 +0100)]
reportbuilder: tdf#92720: add loext namespace

... to allow export of paragraphs in shapes.

(regression from 6acc6c011d3afd6834efeee1b2efe43652a86f2e)

Change-Id: I2c23e686a2cfcd997d3393b0f9fb4cdcab7252b7
(cherry picked from commit 969a760e2bad7f65c28eba425af1751946b09d76)
Reviewed-on: https://gerrit.libreoffice.org/22089
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#97512 make strings localizable
Andras Timar [Tue, 2 Feb 2016 21:38:58 +0000 (2 22:38 +0100)]
tdf#97512 make strings localizable

Reviewed-on: https://gerrit.libreoffice.org/22063
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit e4b98408f60fdbe8248540da58bde8a9bf00c461)

Change-Id: I518918689e81475e9aaf0023cf91f4860531ad1e
Reviewed-on: https://gerrit.libreoffice.org/22070
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agotdf#97407: Remove duplicate custom entry
Rishabh [Tue, 2 Feb 2016 22:58:48 +0000 (3 04:28 +0530)]
tdf#97407: Remove duplicate custom entry

Remove custom entry before updating the spacing listbox

Change-Id: I9476e639f4d54e87a2c9049159e6abefb02a9b5e
Reviewed-on: https://gerrit.libreoffice.org/21942
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
(cherry picked from commit 43799f9e21277e655c7ec940d266f775cada837a)
Reviewed-on: https://gerrit.libreoffice.org/22066
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agoRelated: tdf#97375 a cut doesn't refresh the editview
Caolán McNamara [Tue, 2 Feb 2016 14:51:02 +0000 (2 14:51 +0000)]
Related: tdf#97375 a cut doesn't refresh the editview

but a delete does. The diff from delete to cut is the
EnterBlockNotifications/LeaveBlockNotifications calls so try that

Change-Id: I10147043d6fe358bf2f4f4bd6877210b86cbbd1f
(cherry picked from commit c3224db8baa443253584954d1d54651c9d863304)
Reviewed-on: https://gerrit.libreoffice.org/22048
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agoxmloff: tdf#96147: ODF export: fix duplicate fo:background-color
Michael Stahl [Tue, 2 Feb 2016 13:10:02 +0000 (2 14:10 +0100)]
xmloff: tdf#96147: ODF export: fix duplicate fo:background-color

... attributes that happen if both CharHighlight and CharBackColor
properties are used, because the CharBackTransparent property wasn't
taken into account, and combining the CharBackColor and
CharBackTransparent properties happens *after*
XMLTextExportPropertySetMapper::ContextFilter() runs.

Also, it looks like a transparent highlight wouldn't export properly but
apparently DomainMapper::getColorFromId() won't create such.

(regression from f880962f5bf26bfaef06bd3f9e67e2d901a2e74c)

Change-Id: Ib628ef8bb377482f74fadb97c81afb95fbbf7184
(cherry picked from commit 8dadefc35f8b33648fb6adbdaca75ea52b2705db)
Reviewed-on: https://gerrit.libreoffice.org/22042
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agoiat least partially sanitize image dimensions
David Tardon [Fri, 22 Jan 2016 18:25:12 +0000 (22 19:25 +0100)]
iat least partially sanitize image dimensions

... to avoid enormous allocations later.

(cherry picked from commit 93ca0057d6eca140764de446ba9b7d4128e88205)

Change-Id: Id178a17d2b901b7f59eab43c7d0f0074518b6c32
Reviewed-on: https://gerrit.libreoffice.org/21790
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
6 years agofix gcc build error
Caolán McNamara [Wed, 3 Feb 2016 10:30:43 +0000 (3 10:30 +0000)]
fix gcc build error

error: invalid operands of types '__gnu_cxx::__enable_if<true, double>::__type
{aka double}' and 'int' to binary 'operator%'

apparently there's a template returning double for abs for the
non-int/long/float/double argument case. So promote earlier to int so the
abs<int> is called

Change-Id: I882a27c5ec349f894c1c9f4857687360a46b55ae
(cherry picked from commit b9fa2963cf12e6987b3a0acc219c4fa591e41be8)
Reviewed-on: https://gerrit.libreoffice.org/22071
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agoResolves: tdf#97465 like scroll ignore wheel for sc input handler inputchanged
Caolán McNamara [Fri, 5 Feb 2016 14:03:44 +0000 (5 14:03 +0000)]
Resolves: tdf#97465 like scroll ignore wheel for sc input handler inputchanged

Change-Id: Ide7fe1388ffe6f85a1f459037316d03193470d8a
(cherry picked from commit e35f3b6a3357fc3832a9d68ed37ddb9b5320ef0a)

6 years agotdf#92077 Improve DrawingML export of rotated/flipped customshapes
Andras Timar [Fri, 29 Jan 2016 15:42:31 +0000 (29 16:42 +0100)]
tdf#92077 Improve DrawingML export of rotated/flipped customshapes

When we export the customshape as polypolygon, we need to
take into account, that the polypolygon of the shape already
has flipped coordinates, but coordinates has to be relative
to the rotated bounding rectangle.

Reviewed-on: https://gerrit.libreoffice.org/21905
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit bd36889b2caa4a74d647e18fc52e455f83529be9)

Change-Id: I4f3b015e439d3d6041adc67eddd460f5bd4dfca1
Reviewed-on: https://gerrit.libreoffice.org/22103
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agoAllow HTML (WebDocument) to be exported as PNG or JPEG
Tomaž Vajngerl [Thu, 4 Feb 2016 13:43:28 +0000 (4 14:43 +0100)]
Allow HTML (WebDocument) to be exported as PNG or JPEG

Change-Id: Id6b70a88ea479b402e680c7c216a20be3d6e116e
(cherry picked from commit 9f84b757a2e6678a30a797e85d8236612b952646)
Reviewed-on: https://gerrit.libreoffice.org/22118
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agotdf#96961 sw Hide Whitespace: still show whitespace on the last page
Miklos Vajna [Fri, 8 Jan 2016 13:56:26 +0000 (8 14:56 +0100)]
tdf#96961 sw Hide Whitespace: still show whitespace on the last page

Mainly to match Word's hide whitespace behavior.

(cherry picked from commits cd51e0153a25f3950be54dd7fd58a0de6e148ae2,
49b67cdc36b599f865d4a6de214d901861f27196 and
363aa5dbb2c223b6cc3a109bd654f39772e310fa)

Conflicts:
sw/qa/extras/uiwriter/uiwriter.cxx

Change-Id: Ica09bca5004adbfa14d1c9aca04079129f8a1a68
Reviewed-on: https://gerrit.libreoffice.org/22122
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
6 years agotdf#91017 Enhance WMF import of EMR_ALPHABLEND action
Armin Le Grand [Fri, 22 Jan 2016 10:39:41 +0000 (22 11:39 +0100)]
tdf#91017 Enhance WMF import of EMR_ALPHABLEND action

The EMR_ALPHABLEND action was added 2012/2013, but missed support for
Bitmaps with Mask/Alpha. Due to that files with WMF containing these
actions may look different from before. Added suport to load contained
Mask/Alpha information in DIBs and the needed additional processing
through the display chain. WMF import is still based on Metafile
creation, when it would be using Primitives more original data could be
preserved.

Reviewed-on: https://gerrit.libreoffice.org/21709
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
(cherry picked from commit 6f12c93703b676b1b3839caaf2c21788e5d68477)

Change-Id: I577569848cee2528328181fa0c7eb7f87857d094
Reviewed-on: https://gerrit.libreoffice.org/22053
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
6 years agotdf#97116 Icons for theme Galaxy for new commands insertbefore and insertafter
Regina Henschel [Wed, 3 Feb 2016 16:10:30 +0000 (3 17:10 +0100)]
tdf#97116 Icons for theme Galaxy for new commands insertbefore and insertafter

This adds eight icons for the commands insertrowsbefore, insertrowsafter, insertcolumnsbefore and insertcolumnsafter in lc_ and sc_, and it adapts file links.txt

Change-Id: Id9f32797f97c38b57869bc9f729b1f2a679d1330
Reviewed-on: https://gerrit.libreoffice.org/22084
Tested-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
(cherry picked from commit a6238f8222714465fe7a11477706ad19a1b3bebb)
Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
6 years agoResolves: tdf#96653 distorted images on export to pdf
Caolán McNamara [Wed, 3 Feb 2016 12:36:09 +0000 (3 12:36 +0000)]
Resolves: tdf#96653 distorted images on export to pdf

regression from:

commit ffe150ce903d9cdc62c25ad3437e61d24ede17d6
Date:   Fri Dec 4 18:19:08 2015 +0100

    tdf#94739 use GetScanlineSize instead of calculating it

which was on the right track in the sense that the original
code was wrong and only worked for <= 8 bit depth images

Change-Id: Iee54a9f29dd0fdaf3e1f2aeb7b9898cecb453e37
(cherry picked from commit 384c815eda697d75706f686dc2ceb227b4d3f245)
Reviewed-on: https://gerrit.libreoffice.org/22074
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
6 years agotdf#91762: Check wether the row and the cell have text...
Xisco Fauli [Thu, 21 Jan 2016 19:56:31 +0000 (21 20:56 +0100)]
tdf#91762: Check wether the row and the cell have text...

... in order to set the row's min height

Regression from 4f2c8194f485b1527fb4f4dfe23ce804937f1f9c
After this commit, the row's min height was set based only on
the cells containing text in the row, but the problem appeared
when the row didn't have any cell with text.
Change logic to check wether there's text in the cell and in the row.

Now, height in SdImportTest::testRowHeight() is 507 instead of
508 but I can't figure it out why. However, I believe there's
no harm in change the test from 508 to 507 as, visually speaking,
the difference can't be distinguish.

Change-Id: I0b3a14c34eaeaa8e77227860ca290fb79a0302ce
Reviewed-on: https://gerrit.libreoffice.org/21692
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
(cherry picked from commit 13d4398820ded5914f635757865e258db2db2b57)
Reviewed-on: https://gerrit.libreoffice.org/22008
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
6 years agolokdocview: Handle password protected documents
Pranav Kant [Wed, 27 Jan 2016 11:26:14 +0000 (27 16:56 +0530)]
lokdocview: Handle password protected documents

Reviewed-on: https://gerrit.libreoffice.org/21861
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 18fbddcca569c109ca2f46f7d791187e672d4d83)
Signed-off-by: Michael Stahl <mstahl@redhat.com>
Change-Id: I606a1112c8eb4c1cc4596d6947ce1223543cc87c

6 years agoMissing include
Stephan Bergmann [Thu, 28 Jan 2016 14:47:41 +0000 (28 15:47 +0100)]
Missing include

Change-Id: I4930837c2a5bd78c16a83dcccde34843d3026618
(cherry picked from commit 63cada47911029cce512f3b8ac0b6a6d2c323032)