Commit Graph

389374 Commits

Author SHA1 Message Date
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 42032f5d3b.

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 da75a89925.

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
Miklos Vajna
740a72e66d sfx2 classification: expose impact scale and level
This allows application code to prevent copypaste from a more
confidential to a less confidential document.

Change-Id: I121c7566c948340e7b41d3f8462b0d65a2441b0f
2016-03-08 18:19:12 +01:00
Stephan Bergmann
1316543eb8 TODO: Work around loplugin:salbool in cppu/source/uno/data.cxx for now
Change-Id: I1730c09669426e049aba941ef27341581ce31887
2016-03-08 18:16:58 +01:00
Stephan Bergmann
c94f5b0260 loplugin:cstylecast
Change-Id: I3771f84ec94c62988c075dd26ee1de17200af705
2016-03-08 18:16:18 +01:00
Stephan Bergmann
c2fe73d6a9 Remove redundant checks (that trigger loplugin:implicitboolconversion])
Change-Id: I86c0b56b7d330e3e3450a5806a89ca8fb7a1bfae
2016-03-08 18:15:52 +01:00
Rohan Kumar
05bca56923 tdf#91794: Remove OSL_DEBUG_LEVEL > 1 conditionals
Updates pointed by sberg

Change-Id: Ie12548dfa9ad3a6836efbfe64153bc075f138fc6
Reviewed-on: https://gerrit.libreoffice.org/22622
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-08 16:57:42 +00:00
Chirag Manwani
b38f58a3f9 tdf#97703 Removed empty setUp/tearDown methods
Change-Id: Ia62de30ae94bdae87cd5109c44eab40af4d020e5
Reviewed-on: https://gerrit.libreoffice.org/22985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-08 16:54:50 +00:00
Caolán McNamara
68b5875647 convert custom bibliography toolbar to .ui format
Change-Id: I70eb0e2ff96879d1168b241852a0079f540b0319
2016-03-08 16:23:45 +00:00
Caolán McNamara
f14e5f5dea Updated core
Project: help  7d13cf69810e9a6ea8ab42bbf943d9a708e66fc6

update help ids for bibliography toolbar conversion

Change-Id: I3059a98f6ad79f413395550bc1a270a5396decf3
2016-03-08 16:23:11 +00:00
Steven Guo
5819268ad7 tdf#94306 Replace boost::noncopyable with plain C++11 deleted copy ctors
Replaced boost::noncopyable with plain C++11 deleted copy ctors
in /basic/* files.

Change-Id: I9c0eb0a51ec5cb25c88c72b55f42864e73006e6b
Reviewed-on: https://gerrit.libreoffice.org/22969
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-08 16:10:46 +00:00
Stephan Bergmann
b9a25b254b Various loplugin warnings
Change-Id: I7a405bc22d6ff337d53ad2c187f2ae1726798bb5
2016-03-08 17:08:34 +01:00
Takeshi Abe
7fd9579c36 starmath: Use assert for impossible null-dereference
Change-Id: I3a0e78985470f210dd093dce3e87671980e647f4
Reviewed-on: https://gerrit.libreoffice.org/23016
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-08 16:07:38 +00:00
Samuel Mehrbrodt
16fb0d3d0f tdf#98407 PathSubstitution: Add substitution for $(username)
This allows to use the username as a placeholder in the config paths (Autotext, Gallery, etc)

Change-Id: I76434e980cd8ec8785a5587d0bc5fdd67dc42de2
Reviewed-on: https://gerrit.libreoffice.org/22901
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-08 15:35:54 +00:00
Stephan Bergmann
f9ddda3538 Remove ornamental noise
Change-Id: Ic8d33142b6bd7d271e94ec93661f0260bb2ea6e2
2016-03-08 16:12:01 +01:00
Stephan Bergmann
2ed1b3e0cd Keep entries sorted (and no need for a @section here)
Change-Id: I356a6bde62d883adf4cfa9e34e87791eee9668ca
2016-03-08 16:09:09 +01:00
Stephan Bergmann
a3fd689663 Remove unused macros
Change-Id: Icc1f5dbe7bac1d80429cafda7e88061193dd137a
2016-03-08 16:05:22 +01:00
Stephan Bergmann
987626ee94 Remove dead code
Change-Id: Iebaf8af5dbf11cd255f67202bbb18f61b1bd39fd
2016-03-08 16:03:49 +01:00
Stephan Bergmann
07c514662a Remove unnecessary include
Change-Id: I5a0b1528a7ad3cff15d185600d4bd74c25fb30bb
2016-03-08 16:02:49 +01:00
Maxim Monastirsky
6b879eefa7 Unused define
Change-Id: I3f0218ad6fec542d285bfbfdd2d508375f74dee5
2016-03-08 16:32:34 +02:00
Michael Stahl
466c03f956 Revert "tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals"
In a build --with-lang=2 languages this generates millions of lines of
output, it prints for > 2 minutes straight.  Our build system is not a
terminal benchmark, and i have no idea what the problem with
"OSL_DEBUG_LEVEL > 1" conditionals is anyway, so revert it for now.

This reverts commit 3f80f144cf.
2016-03-08 15:20:24 +01:00
Katarina Behrens
291e00bb43 Don't leak docshells
Change-Id: Ifc19a005925342865384fa7bd189bba929c58d28
2016-03-08 15:17:11 +01:00
Tor Lillqvist
56f9a64899 Remove spurious \r from OSL_TRACE output
Change-Id: I84f34f25a5d0deb6a23c233b981daacea4fe9d33
2016-03-08 16:10:19 +02:00
Michael Stahl
07d4c443e2 sc: remove unnecessary orcus external usage from makefiles
This caused incremental builds to fail after today's orcus upgrade.

The cxx files of these tests don't actually include orcus headers, so
the libraries were not re-linked in incremental builds.

Change-Id: Ibfcf216a7848f3c0adfae4ef59c4b756c290d6b2
2016-03-08 15:05:31 +01:00
Stephan Bergmann
29cb1f1923 Remove ancient StarPortal leftovers
No UNO bridge has a "user" token in its description anyway, so
needsSecurityRestrictions always returned false.

Change-Id: Ibc3aa25212a2e8b245c13578fa29582be42791e6
2016-03-08 15:06:39 +01:00
Rohan Kumar
6326d76101 tdf#91794 Remove OSL_DEBUG_LEVEL > 1 conditionals
Updates pointed by Sweet5hark

Change-Id: I747e92ca9ee39a027b1e9b27b131f249a33b77db
Reviewed-on: https://gerrit.libreoffice.org/22980
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-03-08 14:06:04 +00:00
Rohan Kumar
ea3151acb4 tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I replaced OSL_DEBUG_LEVEL > 1 to OSL_DEBUG_LEVEL > 0 in most of
the files as suggested in easy hack

Change-Id: I2c46dfd9de2ae965680494146120ea3c7530cc98
Reviewed-on: https://gerrit.libreoffice.org/23012
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-03-08 14:00:30 +00:00
Stephan Bergmann
5c1234eac2 loplugin:nullptr
Change-Id: I0c78ddab5efb7a295ccf42b6539b5aa3b7009bf9
2016-03-08 14:43:11 +01:00