Commit Graph

394279 Commits

Author SHA1 Message Date
Samuel Mehrbrodt
860a82766f Remove last traces of First Start Wizard
Change-Id: Idf7171ecfd90edf47fb29d44b8036578a2e6ad61
Reviewed-on: https://gerrit.libreoffice.org/26935
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 10:35:30 +00:00
Stephan Bergmann
499f6f4920 loplugin:loopvartoosmall
Change-Id: Idc7b602d27a3198b222f5c9b6dc21b18d101bd45
2016-07-05 11:57:50 +02:00
Caolán McNamara
000263f799 Resolves: tdf#100770 crash on loading specific docx
use same safeguards as RemoveLastParagraph does

Change-Id: I43ed4eb28f44654054fd266bc464840af7014fea
2016-07-05 10:56:08 +01:00
Samuel Mehrbrodt
9106b326e6 Open sound dialog: Set default path to home dir
Before it was the gallery dir

Change-Id: I1d291fbd21c50e622f88f136cec666025cdbbc52
Reviewed-on: https://gerrit.libreoffice.org/26934
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05 09:50:09 +00:00
Noel Grandin
64354e6479 merge BibTabPage with BibGeneralPage
Change-Id: I16a80e7e98fdd2be08b5a8ce586b709a3720e694
Reviewed-on: https://gerrit.libreoffice.org/26929
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05 09:44:26 +00:00
Muhammet Kara
b6b34d5383 Clarify calculation precedence tdf#39440
Use parentheses to clarify the code.

Change-Id: I864dc6dacadb5b9ba9dca8e0abd9fa4e6db1eddc
Reviewed-on: https://gerrit.libreoffice.org/25677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-05 09:35:40 +00:00
Samuel Mehrbrodt
4ed2a7305f Custom animation sound: Set default path to home dir
Before it was the gallery dir

Change-Id: Ia02dfa796f3c6ee426447331a459fa5e8c47ef89
Reviewed-on: https://gerrit.libreoffice.org/26933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-05 09:27:19 +00:00
Winfried Donkers
a9457266cb Expand unit test for SWITCH function with extra use cases.
Change-Id: I109b2bb50dcc6959cf8a2dc435df676b2146d16e
Reviewed-on: https://gerrit.libreoffice.org/26239
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-05 09:24:41 +00:00
Caolán McNamara
3bbc0574d7 Resolves: rhbz#1352835 path options doesn't promptly destroy folder picker
Change-Id: I5133f63fd92f384221fa2812c6e2a0e7f3b37ac1
2016-07-05 10:17:22 +01:00
Caolán McNamara
7566851d65 Resolves: tdf#91995 copying cells to undo doc shallow copied note pointer
maybe UpdateCaptionPos isn't needed if we do it this way and deep
copy it.

surely we have to copy the note here, otherwise it gets deleted by both the
source and destination document

Change-Id: I6bc885c45b2938d0c775572c48642e67cd1ef5ca
Reviewed-on: https://gerrit.libreoffice.org/26913
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-05 09:14:16 +00:00
Caolán McNamara
80509950d3 Resolves: tdf#100761 after insert note, focus cannot return to inputbar
suspected regression from.

commit 11d605cc5a
Date:   Mon Feb 1 18:39:51 2016 +0200

    tdf#84843 Stop using PseudoSlots for drawing slots

Change-Id: I64aba363f7562c6b16ae1d679968149fea1ba763
Reviewed-on: https://gerrit.libreoffice.org/26909
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-05 08:58:32 +00:00
Takeshi Abe
a2278241d0 starmath: Remove unused GetRect()
Change-Id: I8544520a920f5ba2863a9d1b74e73f5cf47238aa
Reviewed-on: https://gerrit.libreoffice.org/26887
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-05 08:33:07 +00:00
Noel Grandin
b9854c60c6 merge tdoc_ucp::OfficeDocumentsEventListener with
tdoc_ucp::ContentProvider

Change-Id: I4c743ce3d61d048ae9cf762462d9042337cd9d47
Reviewed-on: https://gerrit.libreoffice.org/26903
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05 08:24:39 +00:00
Noel Grandin
add9a35ba6 merge CGMOutAct with CGMImpressOutAct
Change-Id: I4d3d59b6c34edef9cd5bfd460f6379e4d1afa460
Reviewed-on: https://gerrit.libreoffice.org/26930
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05 08:24:18 +00:00
Laurent Balland-Poirier
6916368748 tdf#100754 Allow text after forced denominator fraction
For a fraction number format with forced denominator, stop detecting
denominator value after digits

Change-Id: I68281c5fc5b8a4c395932dff532179e694cf9827
Reviewed-on: https://gerrit.libreoffice.org/26907
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-05 08:01:52 +00:00
Rishabh Kumar
0f8ca94774 Icon view listbox for XHatchList
Change-Id: I40d39c28bbc217cb63a3857c8a90dba72d196878
Reviewed-on: https://gerrit.libreoffice.org/26896
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-07-05 07:52:19 +00:00
Mark Page
308a088211 Remove unused DELEGATE_PLUGGABLE_RENDERER to simplify mtf code
The code was added July 2008 as a way to delegate mtf action
rendering to external services.

Change-Id: I5b2277fada1a8ad85e82cb2c10c822df09da836a
Reviewed-on: https://gerrit.libreoffice.org/26371
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-05 06:36:05 +00:00
Noel Grandin
dac06d9cb0 merge svt::StoreString with svt::StoreContentURL
Change-Id: I6f2a7102c697cecc96e8b950b499bc9b0f91240e
Reviewed-on: https://gerrit.libreoffice.org/26904
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05 06:32:27 +00:00
slideon
a12955be5b Add test for sw_NormalizeRange
The docstring for the function gave some examples, but this method was not fully tested

Change-Id: I53bca734183297a9cca860c55b27570ad0e0f3e6
Reviewed-on: https://gerrit.libreoffice.org/25886
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-05 06:26:32 +00:00
slideon
bcbc72fc33 Add test for the TableBorderDistances struct, and the Uno Names
TableBorderDistances was not tested. Add tests for setting/getting the
TextTable name and template names. Test implementation and supported
service names of various XTextTable components.

Change-Id: Ieb9f2983c5d421f8c8ab4c99596444fb4ff001fe
Reviewed-on: https://gerrit.libreoffice.org/25888
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-05 06:25:10 +00:00
krishna keshav
9b95f149b2 tdf#90834 Turn in-line version control history comments
cleanup in sw/source/core/layout/layact.cxx

Change-Id: I495fef2fd6bab2ac0f6633134ec3fead8b023eae
Reviewed-on: https://gerrit.libreoffice.org/25598
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-07-05 06:15:21 +00:00
Laurent Balland-Poirier
051329101d tdf#99996 New algorithm for fraction
This new algorithm, based on continued fraction representation:
- is smarter (165 lines schrinked in 31)
- gives same results for 1 to 3 digits for divider
- gives better results for more than 3 digits for divider
- is faster: 1.5% for 1 digit, 5% for 2 digits, 20% for 3 digits, 70% for 4 digits

See details in bug report

In addition
- removed uncessary fonctions: ImpGGT and ImpGGTRound
- forced denominator do not required anymore calculation of nFrac and nDiv
- replace sal_uLong with sal_uInt32 for time
- replace sal_uLong with sal_uInt64 for fraction

Change-Id: I9bf3a54a5284104718a53406f8784379fd19f6e6
Reviewed-on: https://gerrit.libreoffice.org/26621
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-07-04 22:54:39 +00:00
Eike Rathke
9f8e2065c4 explicitly disable partial cell shift with change-tracking, tdf#73335 related
... in ScDocFunc::InsertCells()/DeleteCells() that can be reached via
API but ChangeTrack produces a SC_CAT_NONE action because the partial
shift is not handled. UI slots are disabled for this.

Change-Id: Ie0f992b05753bb1467d3f7a80263714bfcc1a2d7
2016-07-04 23:25:12 +02:00
Michael Stahl
ed913ce835 tdf#73335 sc: ODF export: ignore ScChangeAction SC_CAT_NONE harder
ScChangeTrackingExportHelper::WorkWithChangeAction() must not add
attributes when it does not export an element.

Change-Id: Ia6625b73114ab8bf93c4b7a31b484d11bef2fde9
2016-07-04 21:41:17 +02:00
Caolán McNamara
2511e27248 Resolves: tdf#90285 during sheet copying the old sheets retain their old index
at the point that ScDocument::CopyTab calls StartListeners so when

void ScColumn::StartListening(sc::StartListeningContext& rCxt...

calls rCxt.getBlockPosition(nTab) it calls it with the old nTab index
in ScDocument::maTabs, so the return block position is not correct.

Here I bubble down the requested ScAddress and use its Tab/Col/Row
members rather than trust the members of the indexed-into elements

Change-Id: I291e8c1146c2caa4d0976780b1ee6bcc41994e3c
Reviewed-on: https://gerrit.libreoffice.org/26552
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2016-07-04 19:31:58 +00:00
Justin Luth
f76b8d1cfe tdf#96750 docx - ensure all styles are initialized
Change-Id: I50467cb2798ef81dd89006768c66aa7e93cb411c
Reviewed-on: https://gerrit.libreoffice.org/26892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-07-04 15:32:02 +00:00
Pranav Kant
6db7f9e673 sw lok: Handle lok handling code first, for PageUp/Down
m_aVisArea is not set in case of lok, which means
m_nLOKPageUpDownOffset would never be set for lok case.

Change-Id: Ie0416ebb680695430c76b25416f4744172dc3daf
Reviewed-on: https://gerrit.libreoffice.org/26902
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.com>
2016-07-04 15:19:52 +00:00
Stephan Bergmann
3e27c43770 Avoid -fsanitize=alignment in external/nss
...in a way that might be a performance issue, so include the patch only
conditionally.

Change-Id: I483a77d0d199c2dee00139fdd4fa41223192289c
2016-07-04 15:47:08 +02:00
Stephan Bergmann
321b8ff86b Bad cast from SanExtensionImpl to CertificateExtension_XmlSecImpl
...both ultimately derive from css::security::XCertificateExtension, but that is
all they have in common.  The special handling of 2.5.29.17 (and thus the bad
casts) was introduced with d5feca7dcd
"tkr38: #i112307# Support for x509 v3 Subject Alternative Name extension added".
Lets assume that it was an oversight there that setCertExtn (which is a function
of CertificateExtension_XmlSecImpl, not inherited from a---common---base class)
should not be called on such special-case SanExtensionImpl instances.

Change-Id: I96cfd42f606c79920d1548f323b68f17ff4e9081
2016-07-04 15:38:33 +02:00
Stephan Bergmann
d746a99558 Certificate viewer dialog can have various kinds of parents
...like the "Security Warning: Domain Name Mismatch" WarnDialog (cf.
TITLE_UUI_SSLWARN_DOMAINMISMATCH in uui), not only a CertificateChooser.

Regression introduced with c42be58e4c "Show the
certificate use also in the View Certificate dialog", for which this fix is
hopefully fine.

Change-Id: I6efced1ebaad07c314fe7a5dd1cdc8e91d34555e
2016-07-04 15:19:35 +02:00
Mark Page
e9c3eccdb1 Modify the ImpGraphic class, mpGfxLink to use an unique pointer
Change-Id: I74eb2347970ef19f7a215b86bfeae9945c07dbea
Reviewed-on: https://gerrit.libreoffice.org/26889
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 12:59:02 +00:00
Noel Grandin
f81316af4f merge sdr::event::EventHandler with sdr::event::TimerEventHandler
Change-Id: Id81c6b67d95d976dae417cf225bd43347c716d06
Reviewed-on: https://gerrit.libreoffice.org/26905
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 12:55:14 +00:00
Rishabh Kumar
d92b41ce9c Make hatch UI bitmap resizable
Change-Id: I34e1db1f462c87d7b3a2ff9531189bea189b2ce8
Reviewed-on: https://gerrit.libreoffice.org/26894
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>
2016-07-04 12:35:02 +00:00
Noel Grandin
4e3ed5aeb5 use SAL_DEPRECATED in uno::Reference
and fix a couple of usages that have crept in

Change-Id: Ia3e7fcc05dac6e0d205e69c0e0372c74653e7c5e
Reviewed-on: https://gerrit.libreoffice.org/26851
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 12:30:09 +00:00
Noel Grandin
6964c17415 merge sfx2::IXmlIdRegistrySupplier with SfxObjectShell
Change-Id: I7e8bad6b1c944f14b850b91b902b82613c26faeb
Reviewed-on: https://gerrit.libreoffice.org/26899
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 12:28:41 +00:00
Noel Grandin
c752aad433 merge vcl::DisplayConnectionDispatch with vcl::DisplayConnection
Change-Id: I0eb83905896e1d7549a5bd4adde45e9d69209401
Reviewed-on: https://gerrit.libreoffice.org/26888
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 12:21:58 +00:00
Noel Grandin
3459ab4a5d merge ftp::ResultSetFactory with ResultSetFactoryI
Change-Id: I061145fefef33aa3e7349adf7da03222c3b2a911
Reviewed-on: https://gerrit.libreoffice.org/26898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 10:58:42 +00:00
Noel Grandin
20b9cbd0e5 merge toolkit::NameContainer_Impl with toolkit::ScriptEventContainer
Change-Id: I14e9401056e31ee9d4ad5945a73ca31969430b4c
Reviewed-on: https://gerrit.libreoffice.org/26891
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 10:55:08 +00:00
Noel Grandin
64acc9d576 merge dbaui::OQueryView with dbaui::OQueryDesignView
Change-Id: I9982d6c27863f533bfdb929d99602f0188972950
Reviewed-on: https://gerrit.libreoffice.org/26895
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 10:51:53 +00:00
Caolán McNamara
43fbd02a82 this flush refers to the gtk2/X impl
where there is two connections to the display, for gtk3 there
is just the one connection

Change-Id: I2da02efa12205ab4ca39d9585965e5d6d0adf474
2016-07-04 11:36:21 +01:00
Caolán McNamara
a760ff5b41 lets assume its ok this was commented out
Change-Id: Ic22c8b1f0f0b9e7427eae756f9f16630f951baa6
2016-07-04 11:36:21 +01:00
Arnold Dumas
aee49860ee tdf#100726: Improve readability of OUString concatenations
Change-Id: I7018f3c339ffcab7d46d97f1d3784da1be644f0a
Reviewed-on: https://gerrit.libreoffice.org/26870
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-04 10:24:30 +00:00
Christian Lohmaier
8d2f282abe typo: emtpy → empty
Change-Id: I60cdcdc7fc38c175243c071f34295efa8739b717
2016-07-04 12:20:48 +02:00
Christian Lohmaier
39979c8f38 "it is working properly", not "it is working property"
Change-Id: Ief34f2e110060dc9d6200e8533c64b1e12bfb37b
2016-07-04 12:13:51 +02:00
Mike Kaganski
3a9c151e6e tdf#100734: Update bullet of paragraph on UNDO
Change-Id: I1afe0b4ca537eea752d3bced8bbc8944380c3514
Reviewed-on: https://gerrit.libreoffice.org/26874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-07-04 09:18:37 +00:00
Akshay Deep
00dd9cf513 Add Impress Selection to show by default
Change-Id: I0108bff79f1bd6b4d7e75f2e3a4f00e7ab50696e
Reviewed-on: https://gerrit.libreoffice.org/26861
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-04 08:17:24 +00:00
Szymon Kłos
d430e8e55f sidebar: adaptable paragraph indent icon size
Change-Id: I4f000ffb3fee660e6bf9efa9592617f1d037f17c
2016-07-04 10:12:50 +02:00
Stephan Bergmann
a743b7ca36 ASan: value nan is outside the range of representable values of type 'int'
Change-Id: Icd0a383ddec97c1129a3937fbcd8c9a9e61ff8eb
2016-07-04 09:50:20 +02:00
Mark Page
66576fc1f6 SfxModule to use initializer_list instead of variadic arguments
The compiler can perform type checking with initializer lists

Change-Id: I1d26b56a3a2b67fe719f33d758ca9b0c95ebd4d1
Reviewed-on: https://gerrit.libreoffice.org/26852
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 07:08:38 +00:00
Jochen Nitschke
3cc30343be tdf#43157 clean up OSL_ASSERT in connectivity
replace with compile time checks

Change-Id: I9f3dd3b44fe0aa953feaa34a1bc0ccbdc3600899
Reviewed-on: https://gerrit.libreoffice.org/26801
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04 06:51:06 +00:00