Age | Commit message (Collapse) | Author |
|
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
|
|
The bugdoc of fdo#87110 has a couple such duplicates. Check for it and
let SwXBookmark throw an IllegalArgumentException.
Change-Id: I460dc3a8d9c554c194a32a73526e13422ddd1c52
|
|
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
|
|
Reviewed on:
https://gerrit.libreoffice.org/13413
Conflicts:
sw/qa/extras/uiwriter/uiwriter.cxx
Change-Id: I26a8707046d7f30381fb51c41e49f8dee4796ba7
|
|
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
|
|
...they just "happen" to have the same name
Change-Id: Ia602f9a62e07c3af6fba2ffb84a858e1fb4b09ce
|
|
the 8.1 one is the only where it is installed to in a plain install of
VS2013 (update 4)
Change-Id: I797c3d1501d6ee87e5f662279221c4d285933f2d
|
|
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
|
|
Change-Id: Ia52bc54084883817ffdd8ade06c3079865d52f70
|
|
and drop old VS2012 part from configure.ac
Change-Id: If0bedff0972a40f92aaf86140a0405d2af1dbc8d
|
|
IsHeadlessModeEnabled should work just as well, given that
Desktop::RegisterServices (desktop/source/app/appinit.cxx) calls
EnableHeadlessMode if IsHeadless
Change-Id: I4ffd8e6e3a37a8929620418e97854106ea937c9f
|
|
Change-Id: I97c1becd4a3f31ebb5d984d5efbfef7b9339f6bf
|
|
Change-Id: I9046c57440b6adb83204d0f596b1cb8467405dfa
|
|
Change-Id: If859352a7d8d409e5c3c651e0ffea0b3687007db
|
|
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
|
|
Change-Id: If9bd4d906906e0e6cd7c5bb61f8a67a163218395
|
|
Change-Id: I735bac570a0bed35d9ddc07e5f107fb696b49082
|
|
Change-Id: I5f7bfffd1b9751c30c737c886afcd572fa44d234
|
|
Change-Id: I7f7e9094cb992b2cec3ab156a83791559cbb4344
|
|
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
|
|
Change-Id: I3c119182c093b625b57ebc1c23986cab7faf09b0
|
|
Change-Id: I81ac033ebe887256279232d192f5ab93dccc0434
|
|
Change-Id: I794042c78723a0d40de8054084b27805cba6cfee
|
|
Change-Id: I47adee37ce1c4235f8c44650289c09a073da45b4
|
|
As discussed in
http://listarchives.libreoffice.org/global/design/msg06845.html
Change-Id: I9e9ada1b2bee6023ee7f79d28cf4de2765c5daa0
|
|
Change-Id: I58f1f500594b53444dedb221eb89f383b2a87e91
|
|
Change-Id: I2cd5dd5b4f723e26802930003c68433917af782d
Reviewed-on: https://gerrit.libreoffice.org/13371
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
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
|
|
For the WW8 bugdoc, the speedup is 435 -> 98 ms, and the end result is
the same from a viewer perspective.
Change-Id: I9b6ed3b77748cdc71f373daf07548c6cd0dc732e
|
|
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
|
|
Change-Id: If6347197ff4436b4edd06e6e62d8e8e6fe1d4db6
Reviewed-on: https://gerrit.libreoffice.org/13408
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
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>
|
|
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3
Reviewed-on: https://gerrit.libreoffice.org/13406
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I4d15a0e606f468346bc5d2f43af2e14bcc758e13
Reviewed-on: https://gerrit.libreoffice.org/13405
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ic49f95117b54929f95984aff0f69e47b90daee7c
Reviewed-on: https://gerrit.libreoffice.org/13404
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I05824a6f19a5f3048a52101b96f6bf3d3099df08
Reviewed-on: https://gerrit.libreoffice.org/13403
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ib64def97e04273e66f7a2e514c49f0caecc10fe6
|
|
Change-Id: I9bfd611ef5451b936f2b7b4dda6dd8ede23832a4
|
|
Change-Id: Idc87ab05f817a21e491537a1fa4c014c5a313bf6
|
|
Change-Id: If35fa5d97cec6c167bb0841da1e6819e5a4caf13
|
|
Change-Id: I70a769bac1fa04ff5606b729772c1d28b144b64e
|
|
Change-Id: Id949718baf77bb7e2d276d3db08f68149c114796
Reviewed-on: https://gerrit.libreoffice.org/13364
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
|
|
Change-Id: Ic3d1f6e47bf068e60dca711c97e3f6b194d14049
|
|
Change-Id: Ica56b6b07f8fc521882d15c1bf95cc6c162b4fd1
|
|
It's filled with contents in the OOXML tokenizer anyway, keeping its
interface outside of it is pointless.
Change-Id: I10051c5b41a1247417bfb3dd3170a76bf20925aa
|
|
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
|
|
Change-Id: I27b3c5276c5bfd1a29d8edadc6078c71cfbf2609
|
|
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>
|
|
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
|
|
so macros that trigger on changed data don't change invalidate
interators into them behind our back
Change-Id: Ib7e626b4ec3eea3bd0b1f57f17280a008bb4060e
|