Commit Graph

392762 Commits

Author SHA1 Message Date
Muhammet Kara
3498fd9fe9 Remove SetAccessibleRelationLabeledBy calls tdf#87026
And make proper changes in the related .ui files

Change-Id: Iea998b6de25831c08950a8afa725713288113bfa
Reviewed-on: https://gerrit.libreoffice.org/25807
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-06-02 10:36:59 +00:00
Muhammet Kara
eee5256e66 tdf#63272 Fix location of percent sign for Turkish
Change-Id: I6f2d1c2c947e01a686fdb7a7f175dd7541924afa
Reviewed-on: https://gerrit.libreoffice.org/25805
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-06-02 10:26:22 +00:00
Lionel Elie Mamane
09224f2316 don't detach from database if we are not attached
this leads to a cascade of uncaught/unexpected exception and thus abort in debug build

Change-Id: If417d2fd2037379e3006f98bc046713729ea4648
2016-06-02 11:53:23 +02:00
Noel Grandin
a21d34941c drop some more RTL_CONSTASCII_USTRINGPARAM
Change-Id: I528b0ecb5282178d8e727471beb126cb7d3f2eb4
2016-06-02 11:13:46 +02:00
Tomaž Vajngerl
7aae883b90 tdf#100187 fix division by zero in comboFragmentShader
When feather is 0.0 (used when anti-aliasing is disabled) then
we get a "division by zero" situation. As per OpenGL secs. the
shader should not fail in this situation however the result is
undetermined. Most GPUs handled this correctly but on some the
lines didn't draw at all. This should fix this issue.

Change-Id: I56ca2f10c393491807321969c72085ef7690d16a
2016-06-02 18:00:09 +09:00
Rishabh Kumar
fa8759400e tdf#100121 : Assertion failed in Area fill of a text box inside a chart
Replace MetricField by NumericField

Change-Id: I4bde312b709aa6073908c21bc8ed33bcdb3a9b1f
Reviewed-on: https://gerrit.libreoffice.org/25797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-02 08:09:32 +00:00
krishna keshav
c0843884a0 tdf#96099 Reduce number of typedefs used for trivial container types
Removed "typedef" for std::unordered_map<int, int> in vcl/win/gdi/winlayout.cxx

Change-Id: I2798a21be61d6ceee680762d4145a2ae1fc1242d
Reviewed-on: https://gerrit.libreoffice.org/25644
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 07:36:03 +00:00
Jochen Nitschke
4ca9e85538 replace simple macros in chart2
with static constantants or a named value (enum)

Change-Id: I8ef21bc3b9797ed9319e790fc12241d59f07b88c
Reviewed-on: https://gerrit.libreoffice.org/25760
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 07:31:39 +00:00
Jochen Nitschke
85a013ac3f remove wrong comment
comment is there since initial commit cd3b0741a8

but HIDESELECT is handled in svtools/source/brwbox/brwbox1.cxx
and used in chart2 and dbaccess

Change-Id: Idf0524f14a0f719b2287d234c912fef4fe24b7a3
Reviewed-on: https://gerrit.libreoffice.org/25762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 07:29:56 +00:00
Jochen Nitschke
ef3585340e remove ENABLE_GL3D_BARCHART define
enabled since commit dfb2ab0cee

Change-Id: Ib260ff1ce4089ecf4778114d249d59af67c94c2c
Reviewed-on: https://gerrit.libreoffice.org/25759
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 07:29:05 +00:00
Noel Grandin
3e4fad756a Use ArrayList for JobQueue
and make various internals of the class privatey

(This is not an ABI change, as package
com.sun.star.lib.uno.environments.remote is not considered part of the
stable URE interface; it is not included in the documentation at
<http://api.libreoffice.org/docs/java/ref/index.html>.)

Change-Id: I25719239c0208b770ecd96b452b4220ac02b309d
Reviewed-on: https://gerrit.libreoffice.org/25779
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-06-02 07:12:57 +00:00
Miklos Vajna
59fe25a424 CppunitTest_o3tl_tests: fix loplugin:cppunitassertequals warnings in ...
... sorted_vector

Change-Id: Ie6c5f0e187228e2cf7769c62c86ff3cba80ab6ce
Reviewed-on: https://gerrit.libreoffice.org/25804
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-06-02 07:08:23 +00:00
Xisco Fauli
7693c22829 tdf#89329: use unique_ptr for pImpl in propertysetinfo
Change-Id: I8df0ed4d7c7df27f570ad09936f17941c30aae91
Reviewed-on: https://gerrit.libreoffice.org/25749
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 06:40:34 +00:00
Xisco Fauli
c37ce6c3c5 tdf#89329: use unique_ptr for pImpl in propertysethelper
Change-Id: I5891fe7c298b4b3409ac6579ed167a4e0183c89a
Reviewed-on: https://gerrit.libreoffice.org/25748
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 06:36:30 +00:00
Xisco Fauli
e0f60043cc tdf#89329: use unique_ptr for pImpl in componentmodule
Change-Id: Ida8e271b1dd755289371e457a7c83657b8a84f99
Reviewed-on: https://gerrit.libreoffice.org/25746
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 06:33:14 +00:00
Noel Grandin
84d15d6e54 loplugin:unuseddefaultparams
Change-Id: I0fe173534dc2e70c3d507eae757a91e48a26acfc
Reviewed-on: https://gerrit.libreoffice.org/25757
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 06:32:25 +00:00
Noel Grandin
8e8a88ec1a loplugin:unusedfields
Change-Id: Ieed5f4d9411478d2568b8e5f4bbe0782bd1d309d
Reviewed-on: https://gerrit.libreoffice.org/25724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-02 06:32:07 +00:00
Takeshi Abe
b6056eabfa Passing its const ref is sufficient
Change-Id: I85db4fcc3698d02ac6a7660042152092e6eeb99e
Reviewed-on: https://gerrit.libreoffice.org/25752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Page <aptitude@btconnect.com>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-06-02 05:15:20 +00:00
Stephan Bergmann
242b51c9f6 loplugin:stringconcat
Change-Id: If9f31840b57ea1a80e85ef4a38f9d3c408babf13
2016-06-01 23:40:27 +02:00
Jakub Trzebiatowski
fe10783e4a sw UNO API XTextTable add TableTemplateName property
Change-Id: I8450fd4003ad5f9b082817765a2d44fc00dea15e
Reviewed-on: https://gerrit.libreoffice.org/25688
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-06-01 18:51:46 +00:00
Pranav Kant
c14627d66c sc lok: Add new param to .uno:EnterString to prevent committing
If new param, DontCommit, is specified start the edit engine and
edit the current cell. This helps in not triggering calculations
that depend on the current cell. In case DontCommit param is
missing, it will work as it used to.

Change-Id: I62408932e52ff68fa11568cfc16a43e4c1e919c5
Reviewed-on: https://gerrit.libreoffice.org/25753
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.com>
2016-06-01 16:02:24 +00:00
Akshay Deep
9be9c58e88 Rename Label: 'Start with Template Selection'
Change-Id: I8e39463f2528db5f93cd0bcc3b512bfbc706ba73
Reviewed-on: https://gerrit.libreoffice.org/25787
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Tested-by: Akshay Deep <akshaydeepiitr@gmail.com>
2016-06-01 16:00:10 +00:00
Michael Stahl
35db469326 libxslt: upgrade to release 1.1.29
* drop libxslt-freebsd.patch.1
  fixed in new upstream libtool
* drop libxslt-config-guess.patch.0
  fixed in new upstream autoconf
* drop libxslt-android.patch
  fixed in new upstream autoconf
* drop libxslt-configure.patch.1
  fixed upstream
* drop libxslt-vc15.patch
  fixed upstream
* drop second hunk of libxslt-vc10.patch
  fixed upstream
* drop 0001-Fix-for-type-confusion-in-preprocessing-attributes.patch.1
  fixed upstream

Change-Id: I7427725ed6c82da53de12c9e1676e6ce02fd6483
Reviewed-on: https://gerrit.libreoffice.org/25775
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-06-01 15:58:44 +00:00
Stephan Bergmann
ec9bcdff7b loplugin:passstuffbyref
Change-Id: Ic2c7381c4ad033a86ed3485081d16590cfea6ad0
2016-06-01 17:42:56 +02:00
Rishabh Kumar
00fbca5642 Make class HexColorControl global
Change-Id: I755e5aab5425d5d136d5fe7c75706a93cf4559ae
Reviewed-on: https://gerrit.libreoffice.org/25665
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-06-01 15:35:40 +00:00
Stephan Bergmann
5d78d488fd Can use boost::make_optional
...reportedly available since Boost 1.34, and configure.ac checks for at least
Boost 1.47.

Change-Id: I07952de220f1eee5f91ad83a1965420eb6b09ada
2016-06-01 17:19:49 +02:00
Akshay Deep
bb8040595c Impress: Replace Presentation Wizard with Template Manager
Drop the Presentation wizard and show the Template Manager instead
when starting Impress.

1. Opens a blank template with Template Manager.
2. If user selects a template, load it over the blank template.
3. SfxTemplateSelectionDlg for impress integration.

Change-Id: Ia9c3cafc973e3741c6ea9f838018a35956f37f4a
Reviewed-on: https://gerrit.libreoffice.org/25642
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-06-01 14:03:40 +00:00
Michael Stahl
6a8407d82d tdf#99827 sw: don't create AutoText dialog's preview doc ReadOnly
Since commit 5334ff287c the framework
refuses to create new documents as ReadOnly, so don't do that.

Change-Id: I9d94ca9859baaf5407bad88a2b4b5b2e26b99b94
2016-06-01 15:50:42 +02:00
Noel Grandin
d22f8bb626 fix compile error in SelectionDialog (java unit test)
I suspect that this code is not actually in use anymore

Change-Id: I1888c4beec9add7d82e321ad09e1116d1205fbca
2016-06-01 15:38:22 +02:00
David Tardon
9b01428b1f final solution of the ARCHIVE question
Change-Id: I70da65e08c75cd732000597a09ed113b3075c5a8
2016-06-01 14:55:27 +02:00
Eike Rathke
c5c2181a14 percentage format with no-break space, tdf#63272
Change-Id: I53968fb15b6e0d6e1ab5cedb7a9b6c4ffae8e534
2016-06-01 14:52:52 +02:00
Caolán McNamara
de8c740ca1 1 bit masks need each byte to be reversed
to match CAIRO_FORMAT_A1 ordering

as seen under gtk3 with animated gif of tdf#99519

Change-Id: I62d7197522ad779683e46837ddeabbfe21f3717b
2016-06-01 13:25:30 +01:00
Xisco Fauli
9bf1dac4be tdf#99994: Add unittest
Change-Id: I1a58dc21fdcdf8e7688508105fbd6438c7f4bda0
Reviewed-on: https://gerrit.libreoffice.org/25690
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-06-01 12:05:38 +00:00
Eike Rathke
c098b863ee Updated core
Project: help  d2dbd0dacb5c653680ed94d6a2ebabd52e300a0a

eliminate use of locale dependent date strings where possible

... unless used in input or formatting example.

Change-Id: Ibda8fdf6db62b61ec4bb0e2e6bfd096f37849916
2016-06-01 11:35:55 +00:00
Noel Grandin
2c7d40a635 loplugin:staticmethods
Change-Id: I3c8d34e6b9dabed3bef4c6e3628830c526eff5b3
2016-06-01 13:23:24 +02:00
Caolán McNamara
50e39c58f1 Resolves: tdf#53899 if there is no CurrentController, use the ScTabViewObj
as the CurrentController for the duration of the first recalculation.

That way any StarBasic has a CurrentController available to it during
initial load.

Change-Id: I8aa85562a44b49192dd8729c9da57392470b9106
Reviewed-on: https://gerrit.libreoffice.org/25514
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-06-01 11:12:50 +00:00
Eike Rathke
abd6b40992 Updated core
Project: help  8353d5baa0186d0774a9ddd598677b31bff5922c

eliminate the mentioning of locale dependent date string in ISLEAPYEAR

Rather use DATE() and "yyyy-mm-dd" ISO examples.

Change-Id: I41c9dc57167f8c70e8674fcd4b4038ab8e835141
2016-06-01 11:02:50 +00:00
Tor Lillqvist
14469e86d3 tdf#95581: Assume tiny shears are rounding artefacts etc and can be ignored
See bug report for more discussion.

Change-Id: I50ee82abac4ddfbdca0fb03d17c0518860466a52
2016-06-01 13:35:38 +03:00
Xisco Fauli
619a41940f tdf#89329: use unique_ptr for pImpl in accessiblecontexthelper
Change-Id: Ib78ee2f1faa4f9430e08bfbd0cfb0863da7d6dcb
Reviewed-on: https://gerrit.libreoffice.org/25744
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-06-01 09:58:17 +00:00
Miklos Vajna
e0f9d3c5bc RTF export: use auto where it improves code readability
for (std::vector< OUString >::const_iterator it = rStarts.begin(), end = rStarts.end(); it != end; ++it)

vs

for (const auto& rStart : rStarts)

and so on.

Change-Id: I75eff3c28fea11e78415a2183622090804d34f0e
Reviewed-on: https://gerrit.libreoffice.org/25755
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-06-01 09:48:03 +00:00
Caolán McNamara
f97eb75d5d WaE: loplugin:defaultparams
Change-Id: I6934ea008c2c46af80a406e8085e18e1be7fa67b
2016-06-01 10:28:51 +01:00
Caolán McNamara
732dcfead9 bump apr and apr-utils
Change-Id: I35c2b6aede588dc65bcefa5f80fdb4d4840f7bc8
2016-06-01 10:26:44 +01:00
Justin Luth
c36b560c8d tdf#66469 impress: update outline text before saving
When custom annimations are present, any changes to the
Outline text were not updated unless EndTextEdit was called.
Ending Text Editing would cancel the cursor location, so
simply sync the changes and then save.

Change-Id: Iaf3b29e64d08c9d2fb6c18d7b0e3b3cc89c16d7f
Reviewed-on: https://gerrit.libreoffice.org/25739
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-06-01 09:12:17 +00:00
Sam Tygier
68ccab350c tdf#99994 Avoid invalid access by reusing getFontFamily() result
getFontFamily() can give a different result on the second call so in
order to protect against access to an invalid element of the vector
the result must be reused.

Change-Id: Iec7d58537263cb5c8a7c2ea95761dd929d659e01
Reviewed-on: https://gerrit.libreoffice.org/25704
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <anistenis@gmail.com>
2016-06-01 08:27:52 +00:00
Stephan Bergmann
5a728825e7 typo (-Werror,-Wuninitialized)
Change-Id: I26fec96cc5cce0aa400cbdd7a1e706085f9c575a
2016-06-01 09:58:43 +02:00
Jochen Nitschke
4291d61851 pass by reference
Fraction does SAL_WARN when we create an invalid Fraction
and SAL_WARN again when converted to double (returns 0.0)

remove the warnings here and use 1.0 for invalid Fraction

Change-Id: I26de55ed7e3c9b4dac69c422fcaf7900804a0807
Reviewed-on: https://gerrit.libreoffice.org/25467
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-06-01 07:07:14 +00:00
Xisco Fauli
d080fb811d tdf#89329: use unique_ptr for pImpl in msgpool
Change-Id: I97f7deab763b4da8e267e871cb78d0547711e777
Reviewed-on: https://gerrit.libreoffice.org/25751
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 07:01:12 +00:00
Xisco Fauli
2ba7893243 tdf#89329: use unique_ptr for pImpl in objface
Change-Id: Ie4d84a7e9958c5291b3a9db7f9e7e019ff27cfbd
Reviewed-on: https://gerrit.libreoffice.org/25750
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 07:00:16 +00:00
Xisco Fauli
c8ff6e35d6 tdf#89329: use unique_ptr for pImpl in itempool
Change-Id: Ie0a5e5a16cf4b724ff55b0a89ee0ec803df6eb41
Reviewed-on: https://gerrit.libreoffice.org/25635
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:54:11 +00:00
Noel Grandin
c150ac0787 loplugin:unusedmethods
Change-Id: Ia7981447e96d9ac87526ad1276585ab3077d7f08
Reviewed-on: https://gerrit.libreoffice.org/25707
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-01 06:48:50 +00:00