389200 Commits

Author SHA1 Message Date
Jaskaran
a1a63373f9 tdf#82335 Register Libreoffice for Kingsoft file types
Registered LO for Kingsoft document , spreadsheet, presentation
and their template types.

Change-Id: If2b9f428b22f6d104c5ffe699f5264a22b814a0e
Reviewed-on: https://gerrit.libreoffice.org/23037
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-09 10:23:16 +00:00
Mike Kaganski
345d5b172c tdf#98421: properly import vertical mirroring of images from PDF
Since commit ae0e830f9ace78b889713e7e74ce46f88fa21470, mirroring
is handled correctly in LO, so no need to handle it specially in
PDF import code. Commit 11c865031cffc170d3db6b00fb48c683fb4ff070
fixed import to Draw, this one fixes import to Writer.
Also, unit tests for both cases are provided.

Change-Id: I9ef9753a364af34f9e158052855c5dba1300c934
Reviewed-on: https://gerrit.libreoffice.org/23028
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-09 10:20:48 +00:00
Caolán McNamara
8b009ed87a fix for older gtk
Change-Id: I1a3286b2f967f50fbaef7e3726e48ae82fd145aa
2016-03-09 09:53:56 +00:00
Stephan Bergmann
1ae7ef393f loplugin:defaultparams
Change-Id: I2024819c7c9e582e6c3dbf431964a730a2f3fc5e
2016-03-09 10:53:27 +01:00
Stephan Bergmann
bb444d2a3b loplugin:defaultparams
Change-Id: Ief616bc74965b2938834ac9ffd66a03c6433d259
2016-03-09 10:53:26 +01:00
Caolán McNamara
29fc44c6f8 fix debugging stl iterators assert in bibliography toolbar
bibliography: click autofilter toolbar icon to get drop down, select an
entry and assert on use of invalid iterators.

In this specific case we want to reset them all, so add a new simpler
method to just do that and not do the (always supposed to be true) comparison

note: in ORowSet::checkUpdateIterator
at m_aCurrentRow = m_pCache->m_aInsertRow; these iterators are then invalid
the whole iterator caching and fiddling here is concerning.

Change-Id: I74952896f47ac482b6bacb26afe5b1cfcf6bc49c
2016-03-09 09:50:08 +00:00
Noel Grandin
c8a93253e4 remove unused NOT_POOLABLE enum value
and simplify the resulting SfxItemInfo field down to a single bool

Change-Id: I73e24e83d39afc7660ac85872ba96bc790713cb2
Reviewed-on: https://gerrit.libreoffice.org/23058
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-09 09:46:53 +00:00
Caolán McNamara
9885a4f10f gtk3: try and keep sync with yesterdays upstream scrollbar changes
Change-Id: If3942704602b82bc99ce49a230930ef59cc862da
2016-03-09 09:37:41 +00:00
Stephan Bergmann
5f31291fb9 loplugin:defaultparams
Change-Id: I3e48d61607dd54bc0d0f35308e388037283267ad
2016-03-09 10:03:37 +01:00
Stephan Bergmann
81c5f8c267 clew: Untabify, remove spurious spaces at line ends
Change-Id: I4bdcc848ffcd4084d0f8ed6bf3de59c5feab6dd8
2016-03-09 10:00:43 +01:00
Stephan Bergmann
815a5b139f clew: Fix line endings from CRLF to LF 2016-03-09 09:55:16 +01:00
Xisco Fauli
ecc7f698b5 SVGIO: Fix problem when style's parent contains a mask element
Change-Id: I26aab6c0f959f6cc78d040f59f1acf0c7e29931b
Reviewed-on: https://gerrit.libreoffice.org/23045
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-09 08:51:27 +00:00
Stephan Bergmann
49b78749b1 mpUpdater has been proven unused
...by 435d6d50c3cdb6711942ee40dc2fae1865361845 "loplugin:constantparam in sfx2"

Change-Id: I28db5cc1fd6506ba9e374d28b40e5d0cf7d676bd
2016-03-09 09:39:23 +01:00
Miklos Vajna
9d5bf65627 Indentation fixes
Change-Id: I536ab12cfedb6dae605af2f29a7a9b34fad06ba0
2016-03-09 09:38:17 +01:00
Miklos Vajna
469e17ac5b sw testcases: avoid using UI name for default style name
Change-Id: Ic2e08245dd022555ad6308283d406d81141a9124
2016-03-09 09:38:17 +01:00
Stephan Bergmann
50bf3061e6 typo
Change-Id: Id990e76769c3b5e2e048f3faf754efbae2b41c3f
2016-03-09 09:26:37 +01:00
Tor Lillqvist
553610565a loplugin:defaultparams
Change-Id: Ib5f6412c549fe1d5bfd08ed62979a7f81fb2648c
2016-03-09 10:19:25 +02:00
Stephan Bergmann
524ae3589c Use plain assert (to complement use of static_assert above)
Change-Id: Id4ac9e86a6af3fa84f7a9680051dfe2564f8c5c5
2016-03-09 09:17:23 +01:00
Tor Lillqvist
74a9200756 loplugin:defaultparams
Change-Id: Ic3dad4fc22612ac69002000c601af5868c8a35d9
2016-03-09 10:13:23 +02:00
Noel Grandin
1b1080fe8a loplugin:constantparam in dbaccess
Change-Id: I44b5a586a1b0da47e032dff097ebf545f5fe76fc
2016-03-09 10:07:47 +02:00
Noel Grandin
ed4375c6d8 loplugin:constantparam in idl
Change-Id: Icb5e64f17d9472320a79363b1e926e2b4ab05273
2016-03-09 10:07:47 +02:00
Noel Grandin
1dc23829b9 loplugin:constantparam in connectivity
Change-Id: I5e71b3de15e043066cd4177dd42b231527eb71e4
2016-03-09 10:07:47 +02:00
Noel Grandin
978cfb856b loplugin:constantparam in accessibility
Change-Id: I65f2f39c6bd5c222d7d8a21748ad02c521b7377d
2016-03-09 10:07:47 +02:00
Noel Grandin
5c1c8f53d7 loplugin:constantparam in basctl
Change-Id: I07d22585e768335f61d70bf18807479a2675804a
2016-03-09 10:07:46 +02:00
Noel Grandin
cc091b0343 loplugin:constantparam in basic
Change-Id: I5b49406535c1ec95e47fe237a23184a499b875e5
2016-03-09 10:07:46 +02:00
Noel Grandin
30a7c24bcd loplugin:constantparam in lotuswordpro
Change-Id: I8f8efa6b01fa0bcab074ac54029d95778cb388ab
2016-03-09 10:07:46 +02:00
Noel Grandin
cb629a39b1 loplugin:constantparam in reportdesign
Change-Id: Ic98927f6d671b266479c3bbbc2a237c815bc2423
2016-03-09 10:07:46 +02:00
Noel Grandin
3a95902b94 loplugin:constantparam in slideshow
Change-Id: If6c9b8e551d6e6dc857f634e1e8db092541c1031
2016-03-09 10:07:46 +02:00
Noel Grandin
435d6d50c3 loplugin:constantparam in sfx2
Change-Id: I50a2d8221f907f0e844e558f3dbdd0346c010201
2016-03-09 10:07:46 +02:00
Noel Grandin
96a2aa94b2 loplugin:constantparam in svl
Change-Id: Iefc441262cbdc6f115ea4ca5a673456b59477e13
2016-03-09 10:07:46 +02:00
Noel Grandin
44bccf92bc loplugin:constantparam in svtools
Change-Id: Ica82c2758030729ee0d1480c16720cf6c8fed487
2016-03-09 10:07:46 +02:00
Noel Grandin
ff745fc0d9 loplugin:constantparam in svx
Change-Id: Ib2a432fc334898c75ab5e5cf629a21fd310bd467
2016-03-09 10:07:45 +02:00
Noel Grandin
c09b3e3237 loplugin:constantparam in sw
Change-Id: I8fa1af4a34770b71f6f4bb28b3313edf4875322b
2016-03-09 10:07:45 +02:00
Noel Grandin
af74913da2 loplugin:constantparams in ucb
Change-Id: I6b925336b13404ccf0f78f194bd3488a22f99b97
2016-03-09 10:07:45 +02:00
Rohan Kumar
0a8c9fde3b tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I removed OSL_DEBUG_LEVEL > 1 conditionals and left SAL_INFO()s
statements alone. I also removed OUStringToOString(..) calls that were
used by SAL_INFO(..)

Change-Id: I01cce00265531d7f0ad0a6f564fef6262d3d1205
Reviewed-on: https://gerrit.libreoffice.org/23036
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09 07:55:48 +00:00
David Ostrovsky
adfa772549 Add missing includes
These include were needed to compile on Windows, MSVC 14.0 with
clang-cl.

Change-Id: I4ca5cec8314920e90fcca6fa69ec4df87d680f29
Reviewed-on: https://gerrit.libreoffice.org/23044
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09 07:53:56 +00:00
David Ostrovsky
1baf5c3c66 Fix unrecognized -Wv:18 option for clang-cl on MSVC 14.0
Change-Id: I4ac94475b663c1ec1f5148b766a81a31adb1d49e
Reviewed-on: https://gerrit.libreoffice.org/23038
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-09 07:50:19 +00:00
Tim Eves
64172644c8 DirectWrite rendering for Graphite to work around ExTextOut bug
ExTextOut has a bug on Windows 7 and above where it incorrectly
positions certain diacritics, using DirectWrite and Direct2D fixes
this. Implemented on-demand loading of the DLL so the old ExTextOut
based renderer will be used when drwite and d2d1 cannot be found
allowing this work on Windows XP (where this bug doesn't seem to occur)

Change-Id: I767d62c8188511e745373b61ba51e7e2745f7b8b
Reviewed-on: https://gerrit.libreoffice.org/23020
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-03-09 03:02:12 +00:00
Jaskaran
45701913f6 tdf#75280 Replace sal_uIntPtr to better types in /connectivity
Many other occurences of outdated sal_uIntPtr still remain.This
commit does not fully fix the issue.

Change-Id: I744a4399a12cefb48e948c20c2d0dec833116b81
Reviewed-on: https://gerrit.libreoffice.org/23034
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-08 22:25:09 +00:00
Michael Stahl
7faecc70c2 tdf#87530 finish the regression test
Need to store the document twice to actually reproduce the bug.

Change-Id: I2332bce1e30546b3a9fe2ec020f2eea8e8d0da58
2016-03-08 23:08:46 +01:00
Stephan Bergmann
ea5bc30fbb Extract static_asserts out of OSL_DEBUG_LEVEL > 0
Change-Id: I604b41a5063728833d57e2589e6d3ec39eb67166
2016-03-08 21:37:42 +01:00
Stephan Bergmann
4f56db98af Clean up namespace
Change-Id: I8207f7906cb8914b6c272efaf8f136a1bce7e4b0
2016-03-08 21:37:42 +01:00
Stephan Bergmann
7024c86b17 Extract checking code to its own check.cxx
Change-Id: I9d5b14c374ce62ac7b970faa30c38a5a76568ed4
2016-03-08 21:37:42 +01:00
Marco Cecchetti
6651aca57b tdf#98052 - even polygons were not drawn on the alpha device
Change-Id: I5725ec23869b295c8021bef0330ee6f69f206351
Reviewed-on: https://gerrit.libreoffice.org/23024
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-08 20:23:13 +00:00
Eike Rathke
0947c9be4d Revert "tdf#98403: UGX Currency is "Uganda" not "Ganda""
This reverts commit 42032f5d3b960185a9e4b1b63680af0ae27dca2d.

langtab.src lists language/locale names!
2016-03-08 19:40:48 +01:00
Eike Rathke
6f6c21ad91 Revert "tdf#98403: "Ugandan" is better than "Uganda""
This reverts commit da75a89925bce029c9464586ebf73e18e0342a9e.

langtab.src lists language/locale names!
2016-03-08 19:40:46 +01:00
Dennis Francis
7c0f6b9d0f tdf#94561 : Create notes drawing objects only once on sheet copy
Skip copying notes in CopyToColumn() and then
call CopyCellNotesToDocument() only after copying hidden rows
and filtered rows info. Skip copying notes drawing objects
in ScDocument::DrawCopyPage() when inside ScDocument::CopyTab().

Change-Id: I38296bb5d1cc062d473ea4a5a3143f6c1787fc4a
Reviewed-on: https://gerrit.libreoffice.org/22331
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-03-08 18:06:09 +00:00
Eike Rathke
10f048bafa unit test for tdf#98389 huge external range reference matrix
Change-Id: I838421dc6e15baea5f209d1b096509742dea58dc
2016-03-08 18:43:47 +01:00
Wastack
7218090791 tdf#97966 Drop static keywords from two functions inside an unnamed namespace
Change-Id: I4fca1e813eccfeb5185e7a50aa301e7ad1ee61b5
Reviewed-on: https://gerrit.libreoffice.org/23015
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-08 17:31:16 +00:00
Miklos Vajna
32c2a2f8dc sw: detect copy&paste between different classification levels
With this we cover all 4 cases of copy&paste between possibly classified
documents. When both are classified, then we also check the
classification level, if they have the same scale.

Change-Id: I8c02781fc9755114cd6a2fb93be11dca7b3441d0
2016-03-08 18:19:12 +01:00