summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-10xmloff: make the export of the horrible field marks aware of auto-stylesMichael Stahl
When exporting the .DOC bugdoc of fdo#87110 to ODF, the auto-styles export will iterate over the fieldmarks in the page header and add the attributes for them but not export the elements, so the first auto-style gets a bunch of duplicate attributes. Change-Id: I3fcf39f03e3d9ae5fca661efa7eb4bbb3eab9f5c
2014-12-10sw: don't assert when SwXBookmark creates duplicate CrossRef*BookmarkMichael Stahl
The bugdoc of fdo#87110 has a couple such duplicates. Check for it and let SwXBookmark throw an IllegalArgumentException. Change-Id: I460dc3a8d9c554c194a32a73526e13422ddd1c52
2014-12-10fdo#87110: xmloff: don't catch IllegalArgumentException hereMichael Stahl
There are at least 2 callers of InsertTextContent() that have non-trivial catch handlers for this exception, which aren't called now. (regression from bebf8ccfba37f77d6a43c7874249b31736467b17) Change-Id: I085b710dfd5877e9b7e71610951543eddf6a6e46
2014-12-10sw: Unit test for cycle in lcl_CreatePortionsMatúš Kukan
Reviewed on: https://gerrit.libreoffice.org/13413 Conflicts: sw/qa/extras/uiwriter/uiwriter.cxx Change-Id: I26a8707046d7f30381fb51c41e49f8dee4796ba7
2014-12-10sw UNO API: fix infinite loop when building portions of a bookmark rangeMiklos Vajna
The problem was that in case the bookmark range points to a number of characters in a text node, where neither the start or the end is the paragraph start and end, and in case there is an at-char anchored object at the beginning of the paragraph, then lcl_CreatePortions() never ended. It is assumed that the loop in lcl_CreatePortions() will end at some stage, as every iteration moves the cursor forward. But this wasn't true in the above situation: the first frame was anchored at char pos 0, the range was char positions 1..7, and we failed to ignore frames which are anchored before start: so position was constantly 1. Fix the problem by explicitly ignoring frames before the current position, so lcl_ExportFrames() properly returns -1 when there are no anchored objects in the current range. Testcase is in the next commit. Change-Id: I73662e09cd09ee7e0ea4575b1150beb40f1ccc3a
2014-12-10CppunitTest --headless is not the same as soffice --headlessStephan Bergmann
...they just "happen" to have the same name Change-Id: Ia602f9a62e07c3af6fba2ffb84a858e1fb4b09ce
2014-12-10look for WiLangId.vbs in 8.1 SDK-dirChristian Lohmaier
the 8.1 one is the only where it is installed to in a plain install of VS2013 (update 4) Change-Id: I797c3d1501d6ee87e5f662279221c4d285933f2d
2014-12-10No need to re-check IsHeadlessModeRequested in get_desktop_environmentStephan Bergmann
It is already checked on all call chains: * CreateSalInstance (vcl/unx/generic/plugadapt/salplug.cxx) checks IsHeadlessModeRequested before calling autodetect_plugin -> get_desktop_environment -> get_desktop_environment * Application::GetDesktopEnvironment (vcl/source/app/svapp.cxx) checks IsHeadlessModeEnabled before potentially calling SalGetDesktopEnvironment (vcl/unx/generic/plugadapt/salplug.cxx) -> get_desktop_environment -> get_desktop_environment * The two calls to SalGetDesktopEnvironment in vcl/unx/gtk/ are clearly only done for GTK plugins, not headless Change-Id: I44b43cecd63effc5b2e3ad2a449943fee183462a
2014-12-10Resolves: fdo#87189 don't draw negative canvas sizesCaolán McNamara
Change-Id: Ia52bc54084883817ffdd8ade06c3079865d52f70
2014-12-10define _USING_V110_SDK71_ when building with VS2013 against 7.1A SDKChristian Lohmaier
and drop old VS2012 part from configure.ac Change-Id: If0bedff0972a40f92aaf86140a0405d2af1dbc8d
2014-12-10Any reason to use IsHeadlessModeRequested here?Stephan Bergmann
IsHeadlessModeEnabled should work just as well, given that Desktop::RegisterServices (desktop/source/app/appinit.cxx) calls EnableHeadlessMode if IsHeadless Change-Id: I4ffd8e6e3a37a8929620418e97854106ea937c9f
2014-12-10Headless implies invisibleStephan Bergmann
Change-Id: I97c1becd4a3f31ebb5d984d5efbfef7b9339f6bf
2014-12-10stray fprintfCaolán McNamara
Change-Id: I9046c57440b6adb83204d0f596b1cb8467405dfa
2014-12-10fdo#76776 crashes after paste a table from WriterCaolán McNamara
Change-Id: If859352a7d8d409e5c3c651e0ffea0b3687007db
2014-12-10do not save UNO marks in undo historyLuboš Luňák
These are usually very short-lived marks that are used for various internal purposes or by UNO interfaces, so restoring them from undo history does not make any sense. It can in fact lead to a crash on undo if the mark has been already deleted (which is usually the case with UNO marks) but the restoring still refers to it (this is not a problem with other mark types since those should be deleted only when they are no longer in the document, in which case they are saved in undo history by content positions rather than mark references). Change-Id: Id707dc3d2b888b5c96a974d04a0ef17b22fc024c
2014-12-10Fix generation of com.sun.star.uno.[Runtime]Exception classesStephan Bergmann
Change-Id: If9bd4d906906e0e6cd7c5bb61f8a67a163218395
2014-12-10priorities: prevent future compatibility problemsTobias Madl
Change-Id: I735bac570a0bed35d9ddc07e5f107fb696b49082
2014-12-10fdo#85286 android: add missing library for PPT loadingMiklos Vajna
Change-Id: I5f7bfffd1b9751c30c737c886afcd572fa44d234
2014-12-10loplugin:cstylecastStephan Bergmann
Change-Id: I7f7e9094cb992b2cec3ab156a83791559cbb4344
2014-12-10java: improve use of WrappedTargetException to set cause properlyNoel Grandin
since we introduced the new constructors that pass the cause all the way up to java.lang.Throwable. Also simplify some exeception printing sites, because Throwable will correctly print out child exceptions for us. Change-Id: Ibbecce3c6f971fbc80d6de2052ab4f33a4503c0a
2014-12-10Fake --headless more cleanlyStephan Bergmann
Change-Id: I3c119182c093b625b57ebc1c23986cab7faf09b0
2014-12-10The document argument to gtktiledviewer is apparently non-optionalStephan Bergmann
Change-Id: I81ac033ebe887256279232d192f5ab93dccc0434
2014-12-10be a bit more relaxed about that conditionMarkus Mohrhard
Change-Id: I794042c78723a0d40de8054084b27805cba6cfee
2014-12-10LOK: if loadComponentFromURL() returns an empty reference, say itMiklos Vajna
Change-Id: I47adee37ce1c4235f8c44650289c09a073da45b4
2014-12-10Make some dialogs resizable again.Jan Holesovsky
As discussed in http://listarchives.libreoffice.org/global/design/msg06845.html Change-Id: I9e9ada1b2bee6023ee7f79d28cf4de2765c5daa0
2014-12-10Improve description of OpenCLSubsetOnlyTor Lillqvist
Change-Id: I58f1f500594b53444dedb221eb89f383b2a87e91
2014-12-10Kill unused directx < 9 ifdeferyRiccardo Magliocchetti
Change-Id: I2cd5dd5b4f723e26802930003c68433917af782d Reviewed-on: https://gerrit.libreoffice.org/13371 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10Resolves: fdo#53460 crashes after casting SwTxtFrm to unrelated SwLayoutFrmCaolán McNamara
We still can't use ctrl+up to shrink the height of a row that has a table in it, but it doesn't crash anymore. This code presumably isn't truly table-in-table aware and should somehow step "over" the embedded table and not "into" it, which is what I guess it is doing here. Change-Id: I0e4c757c75438a89eb7721de32990f2f21c1ad8b
2014-12-10fdo#85286 android: don't convert objects on loadMiklos Vajna
For the WW8 bugdoc, the speedup is 435 -> 98 ms, and the end result is the same from a viewer perspective. Change-Id: I9b6ed3b77748cdc71f373daf07548c6cd0dc732e
2014-12-10android: speed up mobile-config.pyMiklos Vajna
Make it O(N) instead of O(N^2), where N is the number of children of the root note. 3.596s -> 0.960s for main.xcd Change-Id: I1b9904a377603cd57f84636c873ed2b752abd101
2014-12-10java: remove comment noiseNoel Grandin
Change-Id: If6347197ff4436b4edd06e6e62d8e8e6fe1d4db6 Reviewed-on: https://gerrit.libreoffice.org/13408 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: merge JUnitBasedTest into DocumentEventsNoel Grandin
since it was the only place that used it Change-Id: If9a71fbb468d02616da5cfacab0332e51a416d13 Reviewed-on: https://gerrit.libreoffice.org/13407 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: simplify the getMSF() methodsNoel Grandin
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: remove some comment noiseNoel Grandin
Change-Id: I4d15a0e606f468346bc5d2f43af2e14bcc758e13 Reviewed-on: https://gerrit.libreoffice.org/13405 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: the TempFileTest interface is unnecessaryNoel Grandin
Change-Id: Ic49f95117b54929f95984aff0f69e47b90daee7c Reviewed-on: https://gerrit.libreoffice.org/13404 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: unused importsNoel Grandin
Change-Id: I05824a6f19a5f3048a52101b96f6bf3d3099df08 Reviewed-on: https://gerrit.libreoffice.org/13403 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10Split into individual definitions, one per lineStephan Bergmann
Change-Id: Ib64def97e04273e66f7a2e514c49f0caecc10fe6
2014-12-10loplugin:cstylecastStephan Bergmann
Change-Id: I9bfd611ef5451b936f2b7b4dda6dd8ede23832a4
2014-12-10Typo: nuber=>numberJulien Nabet
Change-Id: Idc87ab05f817a21e491537a1fa4c014c5a313bf6
2014-12-09loplugin:cstylecastStephan Bergmann
Change-Id: If35fa5d97cec6c167bb0841da1e6819e5a4caf13
2014-12-09Typo: enventually=>eventuallyJulien Nabet
Change-Id: I70a769bac1fa04ff5606b729772c1d28b144b64e
2014-12-09Uno bridge: Apply debug info setting to noopt codeDavid Ostrovsky
Change-Id: Id949718baf77bb7e2d276d3db08f68149c114796 Reviewed-on: https://gerrit.libreoffice.org/13364 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2014-12-09fdo#37682 paint the right areaDavid Tardon
Change-Id: Ic3d1f6e47bf068e60dca711c97e3f6b194d14049
2014-12-10vcl: update REAME.GDIMetaFileChris Sherlock
Change-Id: Ica56b6b07f8fc521882d15c1bf95cc6c162b4fd1
2014-12-09writerfilter: move QNameToString to the OOXML tokenizerMiklos Vajna
It's filled with contents in the OOXML tokenizer anyway, keeping its interface outside of it is pointless. Change-Id: I10051c5b41a1247417bfb3dd3170a76bf20925aa
2014-12-09writerfilter: no need to include QNameToString in dmapperMiklos Vajna
All dmapper handler classes inherit from LoggedProperties, which takes care of logging already, and QNameToString is only useful to turn the numerical IDs into dmapper token strings. Change-Id: I437f2c815293caeda0dabbe65cf9458ae5a60566
2014-12-09writerfilter: move include to the implementationMiklos Vajna
Change-Id: I27b3c5276c5bfd1a29d8edadc6078c71cfbf2609
2014-12-09fdo#40835 add 4th argument to FDIST when exporting to OOXMLWinfried Donkers
In ODF1.2, the 4th argument (cumulative) is optional (default true) In Excel, the 4th argument is mandatory Change-Id: I0d38b73af541d52f3750ba61c0864202504ca8b1 Reviewed-on: https://gerrit.libreoffice.org/13172 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-12-09Revert "move RID_APPTITLE to desktop where its used"Caolán McNamara
this seems to have been re-committed as a conflict fixup, but it had been removed on purpose by commit 8c041824b67caa53d3f7f96803b7a69ced6614b5 Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Nov 25 13:39:28 2014 +0000 all these ids and their associated resources were unnecessary Change-Id: I3f538668c9c5f1727b8cf49ab72fd5879e12f156 This reverts commit f43162b09c4876cec317b83e2d6c1afbd8576001. Change-Id: I57514dcc9cd48c841620d4cb20d049ea8c55254e
2014-12-09Resolves: fdo#86786 take of a copy of the MarkDataCaolán McNamara
so macros that trigger on changed data don't change invalidate interators into them behind our back Change-Id: Ib7e626b4ec3eea3bd0b1f57f17280a008bb4060e