summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-08-15fdo#67799 read ending item also when assert is noopMatúš Kukan1-6/+3
Change-Id: I056212d0a01f7a647e846bbd1b605c04e1798a14 Reviewed-on: https://gerrit.libreoffice.org/5336 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit 7d8ab35f1f4a069d08b57652f79870fdcfc649af) Reviewed-on: https://gerrit.libreoffice.org/5422 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-14Resolves: fdo#67743 user autocorr file not writtenCaolán McNamara1-5/+8
regression since c9c2fbe485de2bb831bd2e58faef87a19ceff622 revert the logic change and keep the OUString conversion Change-Id: Ia4f8c3be2b6e325122ae7b21c431c301b8afecad (cherry picked from commit d2c3297eed9917c110da67b2a4c19265aecb38ed) Reviewed-on: https://gerrit.libreoffice.org/5325 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 447c22283f7e7d592a5653925f9c1bbc7fa3766a) Reviewed-on: https://gerrit.libreoffice.org/5390 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-08-14Uploading libwpd-0.9.9 releaseFridrich Štrba1-1/+1
(cherry picked from commit 9b56ecd00f409000a3c703bfe291a06b77bfe943) Signed-off-by: David Tardon <dtardon@redhat.com> Conflicts: download.lst Change-Id: If20156c48ec145389750a2283efad055d3b84363 (cherry picked from commit 9a0d1a3a5b81172a60dd6eefbedb9ea5d69859b8) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/5384 Reviewed-by: Petr Mladek <pmladek@suse.cz> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Tor Lillqvist <tml@iki.fi>
2013-08-06bump product version to 4.1.1.1.0+Christian Lohmaier1-1/+1
Change-Id: I80f7ad12f1c8b1ea5a8895c0693870907d936d12
2013-08-06Branch libreoffice-4-1-1Christian Lohmaier3-0/+0
This is 'libreoffice-4-1-1' - the stable branch for the 4.1.1 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 4.1.x release, please use the 'libreoffice-4-1' branch. If you want to build something cool, unstable, and risky, use master. Change-Id: I463cf417b211b81c19f05807ca6cd4863acf7d44
2013-08-06fix build with debug STLDavid Tardon1-7/+17
Failed with: /usr/include/c++/4.8.1/debug/safe_iterator.h:510:error: attempt to compare iterators from different sequences. Objects involved in the operation: ... The problem is that miPos in _copied_ object points ot maAttrs in the original object, not in the copy (and std::for_each takes a copy of the functor). This could be solved by defining copy constructor and operator=, but given the limited usage of the class, it is simpler to let copies share the state. (cherry picked from commit 95d1b05430d0d6384c6910fa9dfdd3c703201d34) Conflicts: sc/source/core/data/documentimport.cxx Change-Id: Icf3f02ecd2fe4ce6dd77f3cde226d32beb4d4b3f Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-08-06Updated coreAndras Timar1-0/+0
Project: help 2fbadc6dc2dc9ffb22764a41ec58cffb8674f926 add sid auxiliary files Change-Id: Iec7caac1f2c3c4f96db69adb9ecd696f420e7e6c Reviewed-on: https://gerrit.libreoffice.org/5294 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2013-08-06Updated coreAndras Timar1-0/+0
Project: translations 11b12e4cd996eb813d285253ca6b0bfb8a4139d4
2013-08-06Adapt Dialog XML import/export codeLionel Elie Mamane6-12/+116
to: commit 8ee69b0ba13f74d1515fac71df92947eb6328ab1 fdo#67235 adapt form control code to time nanosecond API change, step 3. Change-Id: I57b549c9c1379154173bb50463171a60ce35ca0c
2013-08-06Adapt UnoControlModel::read/writeStephan Bergmann1-0/+28
...to 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." It is a bit unclear to me how exactly this code is used, so to be safe, just read and write in the old format (of using a single integer to represent a Date resp. Time) at least for now, loosing nanosecond precision and the UTC flag. Change-Id: Ib5148f750a420ad09366c79b68370ad0efd501f4
2013-08-06More little fixes for JunitTest_forms_unoapiStephan Bergmann2-2/+6
...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: If0fc8109d6da56c8e8df181ae0b35a4d9b34e767
2013-08-06Add cases for css.uno.Date/Time to ValueChangerStephan Bergmann1-0/+12
...needed since 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: Id561151ac4b57b972761ec19f0e8943b8d25a54f
2013-08-06Fix uses of Java == on css.uno.Date/TimeStephan Bergmann2-20/+20
...introduced with 8ee69b0ba13f74d1515fac71df92947eb6328ab1 "fdo#67235 adapt form control code to time nanosecond API change, step 3." Change-Id: Ifdd449715ce0be602b7bc2d304d503385195eb66
2013-08-06correct pointers in offapi documentationLionel Elie Mamane1-3/+3
Conflicts: offapi/com/sun/star/sdbc/XStatement.idl Change-Id: I24389f1d35514cd45bbe203dbb3af83e4174a2d4 Reviewed-on: https://gerrit.libreoffice.org/5284 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-06fdo#67685 open xSourceLibrariesStor only when neededLionel Elie Mamane1-15/+15
else it keeps loadLibrary from completing, because the latter cannot open the storage because it is already open in read/write mode. Change-Id: Icd0aabfff6e67af2c38a8f9185f8485b46ab1516 Reviewed-on: https://gerrit.libreoffice.org/5262 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-06Resolves: fdo#65609 restrict width of all user-controlled edis and listsCaolán McNamara2-35/+49
Change-Id: I1f15e17c903daee849c53a689a8bb3465bac5f74 (cherry picked from commit 4938d06ad251e8e57ff66b185189d98587ca5104) Reviewed-on: https://gerrit.libreoffice.org/5253 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-06let's own the packaged stuff by root:root again (fdo#67388)Petr Mladek2-1/+9
We have started to use -fvisibility=hidden globally with GCC. The hacky libgetuid.so does not work if the symbols are hidden. In addition, the library was renamed from getuid.so to libgetuid.so during gbuildisation; There was more location where it was not fixed; The result was that the packages and files in the Linux download tarballs were owned by some "ugly" user and group. Change-Id: I22f62b861c373f2553dcccc85a84dddabaf1f418 Reviewed-on: https://gerrit.libreoffice.org/5251 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-06Add AppUserModelID for all supported formatsJesús Corrius1-0/+11
Now only the ODF formats have AppUserModelID, but we need AppUserModelID for all supported formats so the Windows 7 recent documents works as expected. This patch only adds a few registry keys during the installation process on Windows. Change-Id: I2d7460c1ed8b4ba77da8bb1c5b0c696c521353c5 Reviewed-on: https://gerrit.libreoffice.org/5275 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-08-06SingleSelectQueryComposer: the name of a non-SELECT column is its "real" nameLionel Elie Mamane1-7/+15
That is, the name in the table. Change-Id: I95326915f381ec0cf72c66f13352ce76d82e9517 Reviewed-on: https://gerrit.libreoffice.org/5247 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-06fdo#64117 *always* set the filter name to the correct nameLionel Elie Mamane1-2/+1
the removed test made absolutely no sense: aliasName is a fully-qualified name, but columns is indexed by column name. That is, schemaName.tableName.columnName as opposed to only columnName. Change-Id: I9066b5183298e3e6ab63c367594f92bb3e00979d Reviewed-on: https://gerrit.libreoffice.org/5246 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-06fdo#67639 Rotate crop area when the image is rotated.Tomaž Vajngerl1-1/+23
Change-Id: Ifdd0080f278b67b815f15c71523497de59e615bd Reviewed-on: https://gerrit.libreoffice.org/5235 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-05fdo#67684: Store imported text style entries, else they won't get exported.Kohei Yoshida1-0/+5
Change-Id: Id784772e677e176622e75ff5ae33ab3eb78b1d9a Reviewed-on: https://gerrit.libreoffice.org/5263 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-05fdo#67099: Don't use edit engine for a single unformatted paragraph.Kohei Yoshida2-8/+38
which is most common, and using edit engine for it would decrease loading performance. Change-Id: I65c20eef96c88edd8eb07c73c27716c4f03c4cda Reviewed-on: https://gerrit.libreoffice.org/5259 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-05fdo#67099: Remove overheads on inserting cells during ods import.Kohei Yoshida10-260/+485
We will switch to using ScDocumentImport to populate the document from import filters, instead of using ScDocument directly. Conflicts: sc/inc/column.hxx sc/inc/documentimport.hxx sc/source/core/data/column2.cxx sc/source/core/data/column3.cxx sc/source/core/data/documentimport.cxx sc/source/filter/xml/xmlcelli.cxx and a whole bunch of changes backported in order retrofit this code in the 4.1 branch. Change-Id: Ie59d6877d1ac4fc04751a84b663772a9dc9a3efc Reviewed-on: https://gerrit.libreoffice.org/5258 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-05bnc#593612: workaround for grpFillFelix Zhang1-3/+2
Change-Id: Ib75f2e5e0d77b5a65c6d3d75e7dd477251948bcc (cherry picked from commit 3b35ad42ed8bea8cab32e2131c81b03c8347cb67) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-08-04Clean up documentation of XDate-/TimeFieldStephan Bergmann2-7/+0
...after 8ee69b0ba13f74d1515fac71df92947eb6328ab1 changed it from using integers with special interpretation to self-explaining data structures. Change-Id: Ib05dbde969fedcfb5f8c55a926bfef4120e38030 (cherry picked from commit 118aee93197e093bc853b69ec8557f3e9cd512f3)
2013-08-04fdo#67235 adapt form control code to time nanosecond API changeLionel Elie Mamane31-432/+441
squash of steps 1, 2 and 3 in master Change-Id: If68ecf0691919d71d06d7b97d46db115013f9805 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-08-031st step fix for exporting SheetProtection fdo#64753 is to import correctlyNoel Power6-6/+117
(cherry picked from commit 016e18680e471d9f0cea8ee35f9716ae0f9baa11) 2nd step to export SheetProtection fdo#64753, actually export the data (cherry picked from commit 8ce1124359783df750d176b8390b4eb0f54fb6ba) unit test for fdo#64753 ( import/export of sheetprotection ) Conflicts: sc/qa/unit/subsequent_export-test.cxx Change-Id: If420b386543c15c7b550a720b6e2db69bf372d7f Reviewed-on: https://gerrit.libreoffice.org/5229 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-02fdo#67470 Element Dock: Subset icon missing in Set Operation sectionJoren De Cuyper1-1/+1
RID_XSUPSETY wasn't just listed, RID_XSUPSETEQY (notice the Q) was. Adding it adds it to the dock. Change-Id: I4c621aab74b424aacd5421ed90f35b42ae6e0a14
2013-08-02Fix build.Thorsten Behrens1-1/+1
Change-Id: Ic1a6ce26e84982a617d9814645a7bfc3ccd3a63f
2013-08-02fdo#67489: Don't stop range search even when the first cell is empty.Kohei Yoshida2-2/+37
Because we aren't supposed to. Think of those formula cells that follow the empty one. Change-Id: I2cd04833d5e6c561e9ab6d83a984dbdceefa2e71 Reviewed-on: https://gerrit.libreoffice.org/5233 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-08-02fdo#67621: Delay populating the ranges until the dialog is shown.Kohei Yoshida2-5/+15
Otherwise the table widget won't have any idea which rows are displayed, and end up not populating the ranges. This is caused by the switch to the .ui dialog, which delays calculation of the dialog size until late. But the code that populates the ranges was execuated when the widget was instantiated, at which time the widget didn't have its size assigned. Change-Id: I22943b41b21b58cc67e872dff13ad3c25eee8438 (cherry picked from commit b8b807ae589a0b0daa101a0b00bcbe21aa138e2f) Reviewed-on: https://gerrit.libreoffice.org/5227 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-02libmerged needs -lrt tooMatúš Kukan1-0/+1
since 9830fd36dbdb72c79703b0c61efc027fba793c5a Change-Id: I2cf7e59676d36fb0fe1a1ea4b70fa96d2a9ba976 Reviewed-on: https://gerrit.libreoffice.org/5240 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-31Resolves: fdo#67378 merge the label into the disclosure buttonCaolán McNamara5-1/+54
(cherry picked from commit 479bba2cdcda8dbd86861ea62c8c25bfef633148) (cherry picked from commit 06ac689a8d3887519d98a616f9a1727fcc7d0bf6) (cherry picked from commit 5718ffbf0e3e68e43f87541ce0368a15de8ec90e) Change-Id: I11c9a35e3d50a827127e4542a40f6f29580d4e8b 8b65b4986bf316e352131e737ebf736d91173d16 43df94c16a178c90da9c006565390a81c2fda29b Related: fdo#67378 rows missing HIG 6pixel spacing Change-Id: I6d4767c3159c1e9ebef19978a94ad994aab6ff4b (cherry picked from commit c2ce9bf0c2bfd2b38262de8571257c8f02b076b4) Reviewed-on: https://gerrit.libreoffice.org/5202 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-31fdo#66715: fontconfig: try harder to ignore duplicate fontsMichael Stahl1-14/+21
The thin space not being displayed correctly is caused by using the wrong font, namely /usr/share/fonts/liberation/LiberationSerif-Regular.ttf, which (on Fedora 18) is version 1 and does not contain u2006 etc. glyphs, whereas the LiberationSerif-Regular.ttf bundled with LO is version 2 and does contain these. There is already isPreviouslyDuplicateOrObsoleted() function to ignore older fonts but it does not work for this case because: 1) Only the previous element was looked at, but there may be several fonts with different weight/slant that need to be checked. 2) The LiberationSerif-Regular.ttf differ in the "lang" entry. Change-Id: I2f9e8d50a1f8155b65f8f07c9259dd988c32992a (cherry picked from commit 1c48e4efa2369e5708798bdefb46b74a86415d00) Reviewed-on: https://gerrit.libreoffice.org/5203 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-31fdo#67547 fix access to methods (getScript) of MasterScriptProvider from VBNoel Power1-1/+3
access to libreoffice objects ( and methods/properties of those objects ) from VB all goes through the ole automation bridge. There has been a long standing issue where the bridge falls over trying to access methods of the scripting framework MasterScriptProvider object. Change-Id: I3b9391286e1030bef2a12d6e546a5c47a4f68edb (cherry picked from commit 92500896a9d0ba873c06a4a2728eb5a1b9d8f68d) Reviewed-on: https://gerrit.libreoffice.org/5206 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-31fdo#67430 Keep original order of entry positions, not alphabetically sortedStephan Bergmann1-229/+232
...turns out ca0600f0c9022d631317423ab5a59493b41906ab "multiple unsequenced modifications to 'nPos' [-Werror,-Wunsequenced]" was wrong in assuming that the order of getPropertyPos had no meaning, as it determines the order in which form property dialogs display items. So, reintroduced a fixed order, but without resorting to undefined behavior due to repeated uses of ++ with no sequence points in between. This is rather sluggish, but gets the job done. (cherry picked from commit a6fe1fde409ff1accdea49ff9de69658de1e6f5f) Conflicts: extensions/source/propctrlr/formmetadata.cxx Change-Id: If9c5f4130fe6523eebd3a13e5a685fc9c0f53fc0 Reviewed-on: https://gerrit.libreoffice.org/5215 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-31fix for fdo#60883 ( macros disabled for documents opened from templates )Noel Power1-1/+4
Change-Id: I5d4478176bd18a5d7a08dd4472393ea56e1ea280 (cherry picked from commit 4bc42b6d7140144f5e17528276e8ddc80c033d6d) Reviewed-on: https://gerrit.libreoffice.org/5219 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-31fdo#67387 skip separating space between date and time in timestampLionel Elie Mamane1-0/+6
Change-Id: I3c38d179f8b2f59e79cd889fa88f4582f650c09e Reviewed-on: https://gerrit.libreoffice.org/5166 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-30Related: fdo#67395 adjust height of font name tabpage, etc.Caolán McNamara6-334/+259
+ put the language label beside the language listbox which reduces height by a line + use standard spacing between frames in position tabpage + use standard spacing horizonally between elements (cherry picked from commit 1d33fc35f787061c9440ba44dfd53de405bd430a) Related: fdo#67395 drop 'Preview' frame title it's clear that it's a preview, move that string into its Accessible name for those that can't see the preview (cherry picked from commit 1193dc782f4479a81f3d283c99df2f5c7e022682) Related: fdo#67395 drop 'Font' frame title + promote the family, style, size to frame titles and drop the surrounding 'Font' one + bottom align the previews again + drop empty spacing labels in favour of 6pixel spacing (cherry picked from commit 63ced8e54f1786e5814f082c9fb87c89e5c850a9) Related: fdo#67395 add border to preview to cut up whitespace (cherry picked from commit 167416c3ed3ed52249559ff3548c0fc06d0d0eef) Change-Id: I1191db7aaf0922978bf6dd8da17ec4f133944b94 684f451542f5300cc206c9ade7f3b130b1c3c876 2c0b78163894c5283162c37bd71fa1bbc3c341c7 c66bf59294f7c9fb4059574765734749a40b043f Reviewed-on: https://gerrit.libreoffice.org/5200 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30Advertized shortcuts somehow don't work well with Windows 7 shellFridrich Štrba1-0/+3
Change-Id: Ifc216cef7091bffe5971bed0b0e0ef65a26e87e0 (cherry picked from commit b40012bd6d0b5387005253f1d3f03929ce4d1ac6) Reviewed-on: https://gerrit.libreoffice.org/5196 Reviewed-by: Jesús Corrius <jcorrius@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-30tweak background fill color preview to be half-full heightCaolán McNamara1-16/+44
Change-Id: I44a9fc676129dda206e525ee89809f84d77aff48 (cherry picked from commit 3e787929d86ba9c306d54363a06de121fbe5c7aa) Reviewed-on: https://gerrit.libreoffice.org/5167 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30Related: fdo#66817 pressing space on a DisclosureButton should toggle itCaolán McNamara1-1/+1
Change-Id: Ib0f03e4389a35f1eb66c3c5951e89a9f70ec7145 (cherry picked from commit 9f7eab01a65c39b07afb1fba8819593694a3fef3) Reviewed-on: https://gerrit.libreoffice.org/5168 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30fdo#54264: Fix multi-argument ApplicationEvent::TYPE_OPEN/PRINTStephan Bergmann6-63/+113
...that had been broken when 5c22a03320f20ae9ac2c3c16025e7c5e3a7915d5> "Cleaned up CommandLineArgs" changed the representation of those multi-arguments from a single string with \n delimiters to vector<string> in desktop/soruce/app/cmdlineargs.hxx, but missed updating other producers of such ApplicationEvents. (cherry picked from commit 787940e0ac285aa1101ca8964d252faaab3ea8c1, plus 04f4d4bfb708ef477618fa47d5f17779f4e4cf3c "Add TODO comment expressing doubts about existing code") Conflicts: sfx2/source/appl/appdde.cxx Change-Id: I527d620c60a87f3a01d970927c521163fb6df192 Reviewed-on: https://gerrit.libreoffice.org/5192 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30rhbz#989246: Honor user's JavaDriverClass override in mysql driverStephan Bergmann1-11/+25
Change-Id: Ic7dbddb5b17af0bd23864fd19ab2bd815969d008 (cherry picked from commit 63897351fc4fd31305bef43b649be74e2b6006c4) Reviewed-on: https://gerrit.libreoffice.org/5193 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30Avoid crash on OS X: guarded fd exceptionTor Lillqvist1-1/+4
On OS X, a file descriptor that shows up as being of type "KQUEUE" in lsof output is apparently created behind the scenes when starting a thread. (Related to BSD kernel event queues: see man kqueue.) When we re-exec ourselves on OS X, and then close all file descriptors >= 3, closing such a KQUEUE fd causes a crash. Guard against this by closing only regular files. (cherry picked from commit 73a508f574995f09559c003cb810e5d2ff2691c2) Change-Id: I5011bfbaed156b04248b6bddb2a1a58624bee3d4 Reviewed-on: https://gerrit.libreoffice.org/5173 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30Resolves: rhbz#989686 Fix crash with ooo120774-1.docFridrich Štrba1-0/+2
Do not try to remove line breaks from empty string Reviewed-on: https://gerrit.libreoffice.org/4114 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> (cherry picked from commit 2cb9aaf44dc589af79d62d7b1136b5d65e9f47d4) Change-Id: Ieb12c541d42944aac813cee10ce479207b1c674b Reviewed-on: https://gerrit.libreoffice.org/5195 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30fdo#55955 select first column if possibleLionel Elie Mamane1-0/+6
Change-Id: I131cb0395c481d9cc1de210abc207221dab14bf4 Reviewed-on: https://gerrit.libreoffice.org/5178 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-30sanitize system clucene includesDavid Tardon1-0/+1
Apparently clucene bundles pieces of a very old version of boost (1.42) in CLucene/ext/boost, which breaks build with boost 1.54. (cherry picked from commit 24add548ac163651de5e3372798f0d4db347de77) Signed-off-by: David Tardon <dtardon@redhat.com> Conflicts: configure.ac Change-Id: Ib244222f8f048aefe0484060f9ad5f41bfd24def Reviewed-on: https://gerrit.libreoffice.org/5177 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-30fdo#67361 Prevent out-of-range values coming from ListBox GetSelectEntryPos.Javier Fernandez2-1/+7
Applied to master (LibreOffice 4.2.0.alpha) as: Change-Id: Ia787c412408ef53db3c8458f54c7843c669c81ad Reviewed-on: https://gerrit.libreoffice.org/4174 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu> (without the fdo#67361 reference) Squash with subsequent fixups: 1) -Werror=sign-compare (ListBox::GetSelectEntryPos returns sal_uInt16) Change-Id: Ia6e4bf4354523f5112ee3ade1d3da6db0f9ab2c4 2) Fix previous fix Change-Id: I2d7ea38b743d78327fd19886019c1106bc1316d6 Also fix discrepancy between log-areas.dox and SAL_WARN argument. Change-Id: I03fc1014da0be8335689954725ac605e32fbbee8 Reviewed-on: https://gerrit.libreoffice.org/5176 Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>