summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-05sd lok: Fix image insertionPranav Kant
OutputDevice::GetOutputSizePixel() returns invalid value for LOK case which leads to incorrect image positioning when inserted. Lets use page size for LOK, and place the image correctly to center of the page. Change-Id: Ie002d9a2d638cfab954c75a8cb545a003740f547
2016-07-05a11y crash on deleting certain frame in certain documentCaolán McNamara
I've an internal RH document which crashes in a11y when a paragraph with a graphic and a drawing frame in it is deleted. The SdrObject is removed and deleted, but when SwAccessibleContext::DisposeChild is called the object does not pass IsShowing so its not removed from the accessibility map. Leaving an entry in the map pointing to a deleted SdrObject So here take the route-one approach of always removing from the map accessibility children which depend on a SdrObject which is getting deleted, whether or not it is inside the visible area at the moment. The real change here is to SwAccessibleContext::DisposeChild and to SwFrame::RemoveDrawObj Change-Id: I764cd54d6216d233756f52b5be66c80737b5e38d Reviewed-on: https://gerrit.libreoffice.org/26824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-07-05Resolves: tdf#90285 do not reuse the same StartListeningContextEike Rathke
... that after UpdateInsertTab and related may point into broadcasters' ColumnBlockPosition that have been shifted to the next sheet. Change-Id: I6f657021b6102cec427734a8ff3105f0c4309a7a
2016-07-05tdf#100052 Add insert before/after to sd table context menuSamuel Mehrbrodt
Change-Id: I75c840c5d43e4b6edb79f51f0942fb6fd063e73d Reviewed-on: https://gerrit.libreoffice.org/26952 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05Template Manager: Merge local view and abstract viewAkshay Deep
Change-Id: I789ca15f04d27c1fe1422ff1a81746004b627977 Reviewed-on: https://gerrit.libreoffice.org/26890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05tdf#100052 Add insert before/after for draw tables alsoSamuel Mehrbrodt
Change-Id: Ifaf3b699e7415a1f784063616ac3fa4819d739c6 Reviewed-on: https://gerrit.libreoffice.org/26950 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05changes to floating windows shouldn't trigger re-layout on their parentCaolán McNamara
cause they are not inside them so don't affect the parents layout Change-Id: I3c08b874ac450fb4c824b62a4e882df93c34fa68
2016-07-05tdf#100052 Add insert before/after for sd tablesSamuel Mehrbrodt
Change-Id: Ifb2152503a3da6cf811f303048efdbc00cc1c940 Reviewed-on: https://gerrit.libreoffice.org/26948 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-05Fix link in commentStephan Bergmann
Change-Id: Iaa7bef1330e7bb1e3e5c3b01685540867af2bdb8
2016-07-05tdf#94378: Respond to OnStorageChangedStephan Bergmann
...as emitted from SfxObjectShell::SaveCompleted when toggling edit mode. Change-Id: I4d99554c3587cf3fd67993ce94ccd77629b5e259
2016-07-05tdf#100446 fix compatibilty issues with Excel.Winfried Donkers
Use cases added to the unit test showed various differences in results between Calc and Excel. The code changes makes Calc now return the same results as Excel, even if the result is somewhat unexpected. Change-Id: I348f7f2cc2c39a30f4db68dbed98b03de48f1ff5 Reviewed-on: https://gerrit.libreoffice.org/26544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-07-05use a dynamic library for minidump shared codeMarkus Mohrhard
This has the disadvantage to make the minidump_upload executable depend on LibreOffice libraries but there seems to be no other way to make the 7.1 SDK happy. Change-Id: I82c37f503ed29cb50711eae7db22063f49747a48 Reviewed-on: https://gerrit.libreoffice.org/26055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> (cherry picked from commit 3498cd3e7b2c820fc3f3025eb4434666a444fda1) Reviewed-on: https://gerrit.libreoffice.org/26915 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-07-05merge LineProperties with chart::ErrorBarNoel Grandin
Change-Id: Ic3490a15339ff981e90a86cb69c206c231db9161 Reviewed-on: https://gerrit.libreoffice.org/26932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05Remove last traces of First Start WizardSamuel Mehrbrodt
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-05loplugin:loopvartoosmallStephan Bergmann
Change-Id: Idc7b602d27a3198b222f5c9b6dc21b18d101bd45
2016-07-05Resolves: tdf#100770 crash on loading specific docxCaolán McNamara
use same safeguards as RemoveLastParagraph does Change-Id: I43ed4eb28f44654054fd266bc464840af7014fea
2016-07-05Open sound dialog: Set default path to home dirSamuel Mehrbrodt
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-05merge BibTabPage with BibGeneralPageNoel Grandin
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-05Clarify calculation precedence tdf#39440Muhammet Kara
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-05Custom animation sound: Set default path to home dirSamuel Mehrbrodt
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-05Expand unit test for SWITCH function with extra use cases.Winfried Donkers
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-05Resolves: rhbz#1352835 path options doesn't promptly destroy folder pickerCaolán McNamara
Change-Id: I5133f63fd92f384221fa2812c6e2a0e7f3b37ac1
2016-07-05Resolves: tdf#91995 copying cells to undo doc shallow copied note pointerCaolán McNamara
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-05Resolves: tdf#100761 after insert note, focus cannot return to inputbarCaolán McNamara
suspected regression from. commit 11d605cc5a0c221d2423b6e63f502db660d085d2 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-05starmath: Remove unused GetRect()Takeshi Abe
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-05merge tdoc_ucp::OfficeDocumentsEventListener withNoel Grandin
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-05merge CGMOutAct with CGMImpressOutActNoel Grandin
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-05tdf#100754 Allow text after forced denominator fractionLaurent Balland-Poirier
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-05Icon view listbox for XHatchListRishabh Kumar
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-05Remove unused DELEGATE_PLUGGABLE_RENDERER to simplify mtf codeMark Page
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-05merge svt::StoreString with svt::StoreContentURLNoel Grandin
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-05Add test for sw_NormalizeRangeslideon
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-05Add test for the TableBorderDistances struct, and the Uno Namesslideon
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-05tdf#90834 Turn in-line version control history commentskrishna keshav
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-04tdf#99996 New algorithm for fractionLaurent Balland-Poirier
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-04explicitly disable partial cell shift with change-tracking, tdf#73335 relatedEike Rathke
... 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-04tdf#73335 sc: ODF export: ignore ScChangeAction SC_CAT_NONE harderMichael Stahl
ScChangeTrackingExportHelper::WorkWithChangeAction() must not add attributes when it does not export an element. Change-Id: Ia6625b73114ab8bf93c4b7a31b484d11bef2fde9
2016-07-04Resolves: tdf#90285 during sheet copying the old sheets retain their old indexCaolán McNamara
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-04tdf#96750 docx - ensure all styles are initializedJustin Luth
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-04sw lok: Handle lok handling code first, for PageUp/DownPranav Kant
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-04Avoid -fsanitize=alignment in external/nssStephan Bergmann
...in a way that might be a performance issue, so include the patch only conditionally. Change-Id: I483a77d0d199c2dee00139fdd4fa41223192289c
2016-07-04Bad cast from SanExtensionImpl to CertificateExtension_XmlSecImplStephan Bergmann
...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 d5feca7dcd9b2de4332c6b53657f6f5acbeb7b9a "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-04Certificate viewer dialog can have various kinds of parentsStephan Bergmann
...like the "Security Warning: Domain Name Mismatch" WarnDialog (cf. TITLE_UUI_SSLWARN_DOMAINMISMATCH in uui), not only a CertificateChooser. Regression introduced with c42be58e4c006ab3e1f262b644789cba8659d0ab "Show the certificate use also in the View Certificate dialog", for which this fix is hopefully fine. Change-Id: I6efced1ebaad07c314fe7a5dd1cdc8e91d34555e
2016-07-04Modify the ImpGraphic class, mpGfxLink to use an unique pointerMark Page
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-04merge sdr::event::EventHandler with sdr::event::TimerEventHandlerNoel Grandin
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-04Make hatch UI bitmap resizableRishabh Kumar
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-04use SAL_DEPRECATED in uno::ReferenceNoel Grandin
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-04merge sfx2::IXmlIdRegistrySupplier with SfxObjectShellNoel Grandin
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-04merge vcl::DisplayConnectionDispatch with vcl::DisplayConnectionNoel Grandin
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-04merge ftp::ResultSetFactory with ResultSetFactoryINoel Grandin
Change-Id: I061145fefef33aa3e7349adf7da03222c3b2a911 Reviewed-on: https://gerrit.libreoffice.org/26898 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>