summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2018-04-12Resolves: tdf#116540 Revert "ofz infinite loop"Caolán McNamara1-1/+0
This reverts commit e4551b905e12aa92b7509d9b994bfae5dec3d8e0. Change-Id: I95634dd166c51586b5da47b996993a098823ca32 Reviewed-on: https://gerrit.libreoffice.org/51942 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 35f5f4c1537eadab85cddde5f9fd47a7421ebf3d)
2018-04-12ofz#7165 set a recursion limit for svm in svmCaolán McNamara2-5/+10
Change-Id: Id9089986012588690b6d5e33cd71d094ef2357dd Reviewed-on: https://gerrit.libreoffice.org/51983 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 2e82188ff824f9d9f1cf7161f882ff7f3d227e7f)
2018-04-12tdf#112997 multiple animated gif only one frameNoel Grandin2-10/+5
Not sure what the problem is, but using a vector and just making sure we insert into the right spot for the sorting fixes it. Change-Id: I11c08e08a14c98ba7eb6a5d925c75bab891ecf63 Reviewed-on: https://gerrit.libreoffice.org/51829 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit d312ff2b52c0ea2e2864518a36f6b432653c8297) Reviewed-on: https://gerrit.libreoffice.org/52009 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2439b95b4d34e519aa2a5617a7f1e194b7864222)
2018-04-10coverity#1426923 Pointer to local outside scopeCaolán McNamara1-2/+2
Change-Id: I200b09dc514b64fbd88050a1f5a8668ec640305f Reviewed-on: https://gerrit.libreoffice.org/47040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 6fabcc6d45774d1c99c99a6d0dc92c44ac196185)
2018-04-03tdf#116241 Customizing value highlighting colorsSzymon Kłos1-0/+4
Available in: Tools->Options->Application colors Change-Id: I6e4f7a0dcad9a6ee222275019596853f0cbd3ab0 Reviewed-on: https://gerrit.libreoffice.org/51791 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/51976 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2018-03-28Fix copy-paste errorTor Lillqvist1-1/+1
Change-Id: I01b20482aefadb1a755cc1d2f5705b2f7f7cf739 (cherry picked from commit 9c7f19a6a38eb6796df6216ff3f014db30dd635a)
2018-03-28lok: don't post events on disposed windowPranav Kant1-0/+3
Change-Id: I7721380b1bb6e9ec21338a72523326d0cae6729e Reviewed-on: https://gerrit.libreoffice.org/51777 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit ed4df95f28d4081c8d244dc013fda53cee5f91b7)
2018-03-28Mention that SfxApplication is a singletonTor Lillqvist1-0/+2
Change-Id: Ib1f46c9172285245ed7bbc1fab299d29928c4d10 (cherry picked from commit c5fc1a0bbffa73d0a7249f8b38823588446831c8)
2018-03-28Add debug output operator<< for SfxHintId, SvMacroItemId, and SfxEventHintIdTor Lillqvist2-0/+164
Change-Id: I36fd3efc630d99643fb7db3b89f777d4054ec87d Reviewed-on: https://gerrit.libreoffice.org/51651 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 406edb6407532ed725165c2d7e1d360680050377)
2018-03-28lokdialog: Set parent for AutoCorrect Options... so that it can be tunneled.Jan Holesovsky1-1/+1
To get this dialog: Right-click on a mis-spelled word, and it's in the tunneled context menu. Still it should be converted to async though. Change-Id: Ia8f2aaf0d04f144c74999107de98e52cd51876e7 Reviewed-on: https://gerrit.libreoffice.org/51441 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit 7b83827d7b5d07401878fe552c421331629a7880) Reviewed-on: https://gerrit.libreoffice.org/51548 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 67a023ef9b251c1e6e2a46521a51ad829c417451)
2018-03-28Add BSTR handlingTor Lillqvist1-2/+4
Change-Id: I89fcb37a5848120d5a3b2d73d40384c18d6cc069 (cherry picked from commit 584063ccaa3c5b7b984f30e288380cdf3b2f0ec4)
2018-03-27lok: update main threadHenry Castro1-0/+3
In the pre-initialization phase of the tiled rendering case the SvpSalInstance is created in a different process and when a new process is created (fork), the main thread identifier does not match so it is required to update it. Change-Id: I189e53f0b46c60f34a8016222079c9b1e2b3fef8 Reviewed-on: https://gerrit.libreoffice.org/50477 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2018-03-27lok: notify clients of clipboard changesAshod Nakashian1-0/+11
Change-Id: I93d8eacc0defb1176ec5d767f49356812cf90ff6 Reviewed-on: https://gerrit.libreoffice.org/50327 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit de774e261a59625336fe4d744d8c8e2966b570d2)
2018-03-27First cut at annotating 'exotic' filters.Michael Meeks3-1/+9
The idea being that we can improve security by warning for these. Change-Id: I7d993417bfb6a8fe868bc3e07ccbcfe71bf285ff Reviewed-on: https://gerrit.libreoffice.org/50387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 25e4b59b2e9805ebd3c38c40e5591125a05ed5b0)
2018-03-27lokdialog: Tunnel the spell-checking context menu with recommendations.Jan Holesovsky1-0/+9
Change-Id: I1a7952e88a3f89346c97d2516628b4a7a0423de6 Reviewed-on: https://gerrit.libreoffice.org/51062 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/51166 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 8938e8b153f32f3f5926baddb87cb76c8e72755a)
2018-03-26lok: enable pre-loading with Vcl's builderMichael Meeks1-7/+3
Cache vclbuilder's loaded modules globally & simplify logic. Pre-populate that cache on preload for LOK vs. a somewhat inelegant pre-canned list of dialog libraries. Change-Id: I86d936862a41495fd37908f3ee7eb2e0c363d651
2018-03-26Resolves: tdf#116100 fewer array of references cases, tdf#58874 relatedEike Rathke1-2/+9
In particular if in any ForceArray context use the matrix result instead of the array of references list. (cherry picked from commit cfc6cf5177f8df23af35c4509c0276a19de56cce) Change-Id: I72328a690760637f6d31fadba447641c64711a67 Reviewed-on: https://gerrit.libreoffice.org/50842 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit b52ca1a7cf9e3652ebd433753b6642b6f5124d1f)
2018-03-26tdf#116179 Support reading "auto" colour from docxLuke Deller1-4/+1
In docx a colour value is represented as a 6-digit hex RGB value, or alternatively the word "auto" to represent automatic colour. - Add support for reading the value "auto" as COL_AUTO. Previously this would be read as if it were a hex value, stopping at the letter 'u' which is not a valid hex digit, resulting in the colour 0x00000A - a very dark blue, which looks close enough to black that it went unnoticed for a long time :-) - Remove code which tried to handle this wrong 0x00000A value, including the constant OOXML_COLOR_AUTO, as it is no longer needed and will cause surprises for anyone who really wanted this exact shade of dark blue - Fix unit tests that were checking for 0x00000A Change-Id: I6000070341931147ff9341ad6281cd3b53c02b46 Reviewed-on: https://gerrit.libreoffice.org/50995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/51461 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 3967aebca94be9ceea3e36b43f7f53589473ad4e)
2018-03-26Bin incorrect comments, this is not "org::openoffice" but "ooo::vba"Tor Lillqvist1-2/+2
Change-Id: I044bb3afa1e134dd851dd30f639b475400f4ceea Reviewed-on: https://gerrit.libreoffice.org/51006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit cf42f0916d1f30d8939de15bff626cabb6836d35)
2018-03-26tdf#116283 oox customXml: Don't write the Relationship to DOCX files twice.Jan Holesovsky1-1/+5
Change-Id: Id3da40138e86c142707e377aa897df372aacb704 Reviewed-on: https://gerrit.libreoffice.org/50947 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit bf5c486946f2b0a708a251c8ff614293ae37c6ba)
2018-03-26oox: preserve the ContentType of custom filesAshod Nakashian1-0/+12
Generic logic to preserve custom files with their correct ContentType. Standard default file extensions with respective ContentType preserved in [Content_Types].xml. Reviewed-on: https://gerrit.libreoffice.org/50856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 8f79f22a8d4b1c2d209c55cd618c24428960088f) Change-Id: I651ed691e9a4745cd2cb4b3c4d4c5fd7287b66c2
2018-03-26tdf#116074: Don't block on sending email interactivelyMike Kaganski1-0/+3
When sending e-mail using a MAPI mail client that doesn't recognize MAPI_DIALOG_MODELESS flag, and doesn't return from MAPISendMail until message compose dialog is closed (like MS Outlook 2010 and older), waiting for the senddoc process blocks UI, which is unexpected and prevents users from copying stuff from documents to the mail body. Waiting for senddoc process completion is used for two things: 1. To serialize sending multiple mails (e.g., using mailmerge); 2. To show error in case when it failed. This patch allows to avoid blocking the UI in case when compose UI is requested - i.e., user interaction with the mail client is expected, and serialization is not required. In this case, the senddoc process will show the error message itself -> no need for main application to wait for its return. The error message now includes actual error code. To avoid cases when closing main program would remove temporary attachment files before they were used by mail client, they are copied to base temporary directory (instead of default session temporary directory that gets deleted upon program shutdown). senddoc cleans up its temporaries itself. The temporary attachment files are copied to files with ASCII-only filenames, and their original filenames are passed to mail clients using MAPI. This allows to avoid cases when the filenames contain characters outside of current Windows codepage, and the mail client does not support Unicode MAPI, thus receiving wrong filename and erroring out from the send. Reviewed-on: https://gerrit.libreoffice.org/50826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 2f061dad7f875f704e3744fc5780c1d145b22e9f) Change-Id: I4a517bd7a797e76e4c0b7ea48bb1a7b652741a81
2018-03-26lok: Re-introduce the cancellation of tracking.Jan Holesovsky1-0/+6
Without this, the charts tend to crash on double-click. This kind of reverts commit 86ea687d3f19c04192ee2b7a82736e110c7be334. Change-Id: I462e4beec71008a0abe29ec0bb570c8a35c82a7f Reviewed-on: https://gerrit.libreoffice.org/50408 Reviewed-by: Marco Cecchetti <mrcekets@gmail.com> Tested-by: Marco Cecchetti <mrcekets@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/50481 Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit 82d38099a3f152590074851fe28401709a10a48f)
2018-03-25lok: All mouse,key events asyncPranav Kant2-0/+51
custom posting of mouse,key events on main thread This still bypasses vcl while keeping the processing of events on the main thread which is what we want. Change-Id: Ia7a6f5ef1ac546245715abe418d261b49df12d4c Reviewed-on: https://gerrit.libreoffice.org/50274 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com> (cherry picked from commit 3c3e07b51fb09d09cfef54193f93b07304f4ccda)
2018-03-25lok sc: Post mouse events to main threadPranav Kant2-0/+63
Reviewed-on: https://gerrit.libreoffice.org/50253 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit f48c0d09990e9fa59d1d5f2d1d6e013feedb92d3) Change-Id: I1311938d7c01d0e3bfd239743e6cb2148da56cdf
2018-03-25postExtTextInputEvent() -> postWindowExtTextInputEvent()Pranav Kant2-8/+8
Let's avoid the confusion and name all these new APIs that can post both to document and window to have 'Window' in their name. The ones without window are the old APIs. In future, we can have postWindow{Key,Mouse}Event() to post to both document and window and deprecate the existing post{Key,Mouse}Event()s. Change-Id: I1f55386e7790e9c5b5d023b8831f3cd1e6faa2bb (cherry picked from commit 0a1a3a64823c0509c4b5f1edc6ee51ca991d3501)
2018-03-25sc lok: Make the Validation "Invalid value." message box working.Jan Holesovsky1-1/+3
Change-Id: Ic0131fa6fc397ae440efed834266b8396aa9e619 Reviewed-on: https://gerrit.libreoffice.org/50160 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit b8d5061f54408960177992d0f4be312b7d123167)
2018-03-25tdf#116020: use actual whichIds in dialogs for character propertiesMike Kaganski1-0/+2
... instead of converting back and forth between character-specific whichIds and generic. This eliminates creating duplicate properties in the set passed to dialog. A temporary GrabBag entry "DialogUseCharAttr" is used to indicate that dialogs should use character-specific Ids. This simplifies and unifies preparation of the set for different dialogs. Reviewed-on: https://gerrit.libreoffice.org/50339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 074fc4a1499aac6eb67cd0b2dca00a51071cff0e) Change-Id: I41b982ff05d54b0dfc283c07aef806f51c87209c
2018-03-25lokdialog: Allow Execute()ing first, silently cancels othersPranav Kant1-0/+3
We want to be able to detect which dialogs are important and need to be converted to async while not completely disallowing them. Allow only first instance of such dialogs being Execute()d and warn when another such instance tries to Execute(). Change-Id: I6742784fa95d9e3f9ff87ece294126d390ae9e9e Reviewed-on: https://gerrit.libreoffice.org/50092 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit 391660de4125da06775f7d94ef352da3926c115f)
2018-03-25tdf#115938: Properly detect shadow size control's changed stateMike Kaganski2-7/+17
This change makes sure that only if the shadow size edit box' text is changed, it is converted to the size in twips. It sets wrapper's default value on each SetControlValue, to return proper initial size when the size text wasn't modified. Also both ExampleSet and OutSet in SfxTabDialog's Reset handler are processed to set relevant items back to initial value; otherwise, as the restored item (marked as unchanged) will be absent in tab's result set, it would not modify the old items in the two, and they would keep previous modified values. Change-Id: Ie4362811968c6e6cbe0f9229bd3c9b29462f5704 Reviewed-on: https://gerrit.libreoffice.org/50196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit b37a46fdf91dbc66f6ddc1c070aec70716d94a01)
2018-03-25Manually recognize some IIDs that don't have cleartext names in the RegistryTor Lillqvist1-0/+27
Change-Id: I9deadfdd324f9b9014fef8370593e107302ed843 (cherry picked from commit 515885f39e648b987cf40df64450803df26d4a29)
2018-03-25tdf#115892: properly get the box' saved valueMike Kaganski2-9/+12
Previously textual value like "10,5 pt" was converted to int as simply 10 (multiplied by 10, it became 100), which compared as different from unchanged value of 105. This made the fractional values to be treated as always changed. This patch uses the same code to convert saved value as is used for current edit box value. Reviewed-on: https://gerrit.libreoffice.org/50066 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit f00e891f3369f7b8c2532634d9ff4ab19da17c33) Change-Id: I09a84a6bf33b17e0192b79b31af21ef14d7e9c63
2018-03-25tdf#115639: Handle alignment correctly for multiple paragraph caseTamás Zolnai1-1/+1
I used the wrong calculator method to get the line width. This commit also fixes the crashes found by crashtest. Change-Id: I25392f86af912ee54c07b14480d82282210ac346 Reviewed-on: https://gerrit.libreoffice.org/49994 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit f0485ba2d90aae0312f5775588f22789016165d2)
2018-03-25tdf#115639: Align right/center with trailing spaces the same as MS PowerPointTamás Zolnai3-1/+13
* Add HoriAlignIgnoreTrailingWhitespace compatibility option. ** For MSO file formats it is set to true ** For ODP format it's set to false by default ** The flag is saved to ODP format as user data if the document comes from an MSO format. Reviewed-on: https://gerrit.libreoffice.org/49889 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit 1da3a3cb74a415a76fa547ef0c8f61780e260e7f) Change-Id: Ie22233d33a25e605de46120bfc2195038dffd63c
2018-03-25PPTX export scale for TextFitToSizeSzymon Kłos1-0/+2
MSO requires to save fontScale attribute to have all the text shown properly (with FitToSize property) Values are approximated, after any modification in MSO scale is recalculated. Change-Id: I73657fdd663b540b436747cfeeef3c76e8fe388c Reviewed-on: https://gerrit.libreoffice.org/49742 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit 2c2919cb591d88b11bb2e25e45d6f75923821457)
2018-03-25Do what the TODO saidTor Lillqvist1-3/+34
Change-Id: I6358b550482188c6fdaf0cd01af353850d12138b (cherry picked from commit 032c49b98635f3cc787d90cb744fcc212405a833)
2018-03-25Apply clang-formatTor Lillqvist1-147/+362
Change-Id: I089cdb8c770df5e8c99d55870061a18645b2cd05 (cherry picked from commit 1647bfa019124aefd34d8ad231d19399e93a6096)
2018-03-25Add debug output operator for VARIANTTor Lillqvist1-0/+196
Change-Id: I3994f0444b2f415e55645f890a84e42e66512d03 (cherry picked from commit d1416444e5622132b30e4a90fcad8b8eaca09399)
2018-03-25Make this work also outside LibreOffice code (for test programs)Tor Lillqvist1-2/+8
If LIBO_INTERNAL_ONLY is not defined, just include <windows.h> directly. Don't use OUStrings. Change-Id: I9ddaab6029c5198538c47b623457f4ff2089e3f6 (cherry picked from commit 09cb65bb92318bf8edb467fcd7720f072306f379)
2018-03-25lok IME: support dialogs as wellPranav Kant3-9/+10
Change-Id: Ic78da45dadaa5a4e1ca78e20d04974108581121e Reviewed-on: https://gerrit.libreoffice.org/49714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit 712540224d7c5c8cdb4a5214e2d7963a314c1928)
2018-03-25oox: cosmetic cleanupAshod Nakashian1-4/+3
Change-Id: Ifafd7338ddfec8b707b5ddf4acb39512faf186da Reviewed-on: https://gerrit.libreoffice.org/49325 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 97a73d2772a86e26369fc32e25a59c0d5a274c01)
2018-03-25oox: preserve custom oox fragments and packagesAshod Nakashian1-0/+3
Change-Id: Ic4c75d136601a9b7d772aab577c9fbebc7391eaf Reviewed-on: https://gerrit.libreoffice.org/49236 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 335a2b80fa900848a8b60d8fd5db6656bc30a95a)
2018-03-25oox: move putPropertiesToDocumentGrabBag to XmlFilterBaseAshod Nakashian1-0/+2
Reviewed-on: https://gerrit.libreoffice.org/49235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit e26a95360e60e0c17e70e72f36fb988bb664ddb5) Change-Id: Ic3cbabc420c7856682b889528043563622997c14
2018-03-25lokdialog: Handle dialog items' invalidation in generalTamás Zolnai2-3/+1
Change-Id: Ib7b178fe97964bc5fd6ac173a143ba8ba089e237 Reviewed-on: https://gerrit.libreoffice.org/49240 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> (cherry picked from commit b33287cde2d270d83e2658529be768a99dba98f0)
2018-03-25tdf#115394 correct transition in case of 0sSzymon Kłos1-0/+1
Change-Id: I23d18acef0bd5db4a4ad6fc67d409e7ed5c93949 Reviewed-on: https://gerrit.libreoffice.org/49462 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit df835773fa8d66a1bd534c5b374ac27552751941)
2018-03-25tdf#108210: Allow to ignore a lock file if there's no filesystem lockMike Kaganski2-5/+17
Two cases are handled: when a file is being opened, and when it was opened read-only already, and one tries to reopen it in edit mode. The option to ignore locking and open the file anyway is only offered when there is no filesystem lock present on the file. Change-Id: I377d3cae4c949ae64d449634acea8fb3f68a5700 Reviewed-on: https://gerrit.libreoffice.org/49448 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> (cherry picked from commit 2a7057250c8f73fdfb4c65a7525d17e9770459df)
2018-03-25Add debug output operator for IIDTor Lillqvist1-0/+41
This file is the place for future similar additions. Change-Id: Ibe168731ed97fe2366afb89409fe5ae2afa711e4 (cherry picked from commit ceb082c94fd1a8bb308a2c2699699b1fc0f0e7fb)
2018-03-25sd, sc lok: IME support + unit testsPranav Kant1-1/+1
Reviewed-on: https://gerrit.libreoffice.org/49385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit b746577d27437f9298fa111512d083eaccd4fbed) Change-Id: I710ba4347977641102b89fd274a159d34bc29e72
2018-03-25sw lok: IME support + unit testPranav Kant6-0/+37
Change-Id: I557493db23dfa3529606050c86161628dbd722e7 Reviewed-on: https://gerrit.libreoffice.org/49354 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk> (cherry picked from commit 7f9f58f3a304733f7089719a5a65eef8c68c2b8d)
2018-03-25tdf#115394 import custom slide transition time in PPTXSzymon Kłos1-0/+4
* custom values are imported correctly * standard (fast, slow, medium) values are changed to match values in the MSO Reviewed-on: https://gerrit.libreoffice.org/49139 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit a8a3e6a7fee5ac23bc2155b9391ead9402211147) Change-Id: I004242afbbf641fe414abc8df248a2844c104502