summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-09-05update pchThomas Arnhold
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05CID#705762: fix memory leakMarkus Mohrhard
Change-Id: I0602b158bb259e27915a46485cdeac471ba6cdf2
2013-09-05bnc#779642 VML import: fix TextHorizontalAdjust when layout-flow is verticalMiklos Vajna
The shape had no special properties about hori/vert text adjustment, so it should be hori left / vert top. Then it has vertical layout-flow, so vert should be top and hori should be right (vert was center). Change-Id: Ia89d8587b6a822ead45198dc5d1ba23907cc3567
2013-09-05CID#1079393 Wrapper object use after freeCaolán McNamara
If coverity is taking exceptions into account its right, if its not then its a false positive. Lets do the save and restore on scope to find out. Change-Id: I007f86d701e193c2e097a186119c1d0b367cbb97
2013-09-05CID#1079333 Uninitialized scalar fieldCaolán McNamara
Change-Id: I98accfecd5922d6882dfe97c8c72fff3afa5392c
2013-09-05CID#1079350 Uninitialized scalar fieldCaolán McNamara
Change-Id: I0a3bbb5a962b33aad1c9ef2c5fa751ec15d79dc9
2013-09-05convert include/svx/SpellDialogChildWindow.hxx from String to OUStringNoel Grandin
Change-Id: I6fe9e996b67dc689f4fc2abc1cf63cb4af39084f
2013-09-05convert include/svx/hlnkitem.hxx from String to OUStringNoel Grandin
Change-Id: I3c4d1b60c5fe3df35a91258ea523e9b7f46eea71
2013-09-04Remove more unused methodsMarcos Paulo de Souza
Change-Id: I8fec40d767905bcca366257a67f669eaa1055cbc Reviewed-on: https://gerrit.libreoffice.org/5789 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-04fdo#68787 DOCX export: handle zero width footnote separatorMiklos Vajna
Change-Id: Ieb1d8d1f8609558b4af06630b603a51da3e665f4
2013-09-04fdo#68787 DOCX import: handle when w:separator is missing for footnotesMiklos Vajna
There were two problems here: 1) OOXML has no way to explicitly disable the footnote separator, what is does is that it omits the <w:separator/> element in that case. We didn't parse that previously -- now we do, and if it's missing, the separator is disabled. 2) The footnote stream isn't read by the importer, only when the main stream references the footnote one, the relevant part of it is parsed. At the moment we always parse the first (special, "separator") entry in the footnote stream, that may be optimized later if it becomes a bottleneck. Change-Id: Ie588270a212fc90fc41095029a362cfd832b24f8
2013-09-04XubString->OUStringCaolán McNamara
Change-Id: I72b2678c79401320c355c7b6635a6180b01202f1
2013-09-04c++11 and c++03 have different enum namespacing behaviourCaolán McNamara
Change-Id: I899d1ad9e26feb7fcf83c137e4e68628cfdceec8
2013-09-04String to OUStringThomas Arnhold
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166 Reviewed-on: https://gerrit.libreoffice.org/5790 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04XubString->OUStringCaolán McNamara
Change-Id: I9ce007261555008a438b90b36a888a8d4cb4f140
2013-09-04sw/paint: replace bools by enum in DrawGraphic methodPierre-Eric Pelloux-Prayer
This change has 2 purposes: * fix gradient background when writing pdf. Before a gradient filled frame would be displayed as white (or transparent), because the transp. rendering mode was taking precedence over the gradient one. * making the code more readable by grouping multiple conditions in an enum. Change-Id: I5a30756b72be5eabf364c67e175c7b9d22bfa1c0 Reviewed-on: https://gerrit.libreoffice.org/5759 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-04fdo#68839: add unit testMichael Stahl
Change-Id: Ic47bfdeb1466a3772c95008dbf035f294cc3ece4
2013-09-03typoMiklos Vajna
Change-Id: Icea791684399fb15b5f7940b5691cdc76b3dde1f
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke
Change-Id: I6189cc5b45c085e3b8207980fb2931fab8fa3421
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke
Change-Id: Ib57abbb298160ce21fd584a5f3b88519e5422cfc
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke
Change-Id: I12cf6ad7ad658646dcee8cb54776e0915f1c8042
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke
Change-Id: I123fe95ea4d772571001bc97133705d43a335465
2013-09-03OUString::replaceAll() is not in-placeTor Lillqvist
Change-Id: I92c639b8b391dd07c07835241f8530e71ef6e885
2013-09-03Resolves: fdo#68726 make navigator child dialog float on topCaolán McNamara
i.e. set its parent to the thing it wants to be on top of As an aside I'm not entirely sure that this little dialog has the decorations set on it that it would like, I suspect it wants to be more like the tearable-off font color floatingwindow. But lets not muddy the waters in this commit. Change-Id: I9e0c35fbb66e50c04c7b28904d3937cf9ae417f4
2013-09-03fix html export of line spacingIvan Timofeev
regression from 84931eb8aeeb55a2570edb24f5c2d3409f9c2398 Change-Id: Ifcedcd34721a1ca162495f57ad36cfc6859ab0c4
2013-09-03fix html export of SfxPoolItemsIvan Timofeev
hintids.hxx and SwAttrFnTab were out of sync => wrong functions were called. regression from 288bcd68bdccd7a57b2c6da2c0bb91b71e8fcd3b Change-Id: I2a8a68178249f6a4a8a82f38960b046850f7368b
2013-09-03String to OUStringMatteo Casalin
Change-Id: I41bda1a4d37bff782a51d07e36d471df2d6b421b Reviewed-on: https://gerrit.libreoffice.org/5776 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-03fdo#68607 bnc#816593 DomainMapperTableHandler: don't always start a frameMiklos Vajna
This is a port of commit 8fe8bd6c3b5b1a539b7370f8c457fa69c061d2de "Related: fdo#61594 SwWW8ImplReader::StartApo: don't always start a frame" from the WW8 filter to the DOCX one. (regression from edc4861a68e0269b83b17e0ec57912a1ce4220ad) Change-Id: If1bb4a8a3786aacd618585cf859b57ce9be85c51
2013-09-03convert select index dialog to .uiCaolán McNamara
Change-Id: I49a3d67e9c22c1608354b732f8aee27afcf15885
2013-09-02bDel is unused uninitializedCaolán McNamara
Change-Id: Idac3a6805700d896b8569d1df79d32ca493c48b3
2013-09-02convert apply styles dialog to .uiCaolán McNamara
Change-Id: Id596ceaebc0dda3be046be89f22b6bf1a304fa4e
2013-09-02rework SwIndexTreeLB to be a SvSimpleTable to make .ui conversion easierCaolán McNamara
Change-Id: I7ce02cb53e6164e69f0d4efd9863ba16a4fab025
2013-09-02XubString->OUStringCaolán McNamara
Change-Id: I5424a148c7173409e6e56f9483fcc769696707bc
2013-09-02bnc#816593 DOCX import: ignore page breaks in tablesMiklos Vajna
Change-Id: Ibb250148d41d1929fa17dd993bb71c93c0e09dcf
2013-09-01Make it possible to build without ATLNiklas Johansson
Change-Id: I381934bc00273da7bf359610bb471ec4cbc49545 Reviewed-on: https://gerrit.libreoffice.org/5740 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01WW8: really reserve those FFN bitsMatteo Casalin
All of the information that I found on the Internet seem to agree on that. This patch could also make unnecessary some special cases in FFN handling (e.g. in ww8par6.cxx). Change-Id: If86f2da2697200f1a01a3c70badae7230125c3a2 Reviewed-on: https://gerrit.libreoffice.org/5738 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01String to OUStringMatteo Casalin
Change-Id: Ibb2489e4e895f3f855208fe20749f7078a360710 Reviewed-on: https://gerrit.libreoffice.org/5737 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01sw: unused includes in flyincntMiklos Vajna
Change-Id: Icb195e98cfb890d5ab9fc6a94506a5a9193ba59d
2013-09-01sw: unused includes in flyMiklos Vajna
Change-Id: Ie1cb1f4f48a1b67a038347b12083dda1b3f975c4
2013-09-01sw: unused includes in flycntMiklos Vajna
Change-Id: I33ebd4757cebf95c60cd8af1500a382cb45d0092
2013-09-01Rework some loopsMatteo Casalin
Change-Id: I756ebba899838caa2193bad4f9e4e6df841f15d1 Reviewed-on: https://gerrit.libreoffice.org/5736 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01This member function can return just a boolMatteo Casalin
Change-Id: Iba6661eca670c83d27630c1918f4b5421bbbf08f Reviewed-on: https://gerrit.libreoffice.org/5735 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01Remove unneeded member dataMatteo Casalin
Change-Id: Ifc8cd48b9cfdd7d1fcd0ed9472b7080ba8ff6c6c Reviewed-on: https://gerrit.libreoffice.org/5734 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01Remove unused #includeMatteo Casalin
Change-Id: I233fd84b96c038e0e462c568c0cd76e5dd466e72 Reviewed-on: https://gerrit.libreoffice.org/5733 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01String to OUString, xub_StrLen to sal_Int32Matteo Casalin
Change-Id: I3e21da63ce60b518681e1479d72d60d94c8b586e Reviewed-on: https://gerrit.libreoffice.org/5732 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01EqualsIgnoreCaseAscii(char, 1, 0) in SwWW8ImplReader?Matteo Casalin
Probably a typo for EqualsIgnoreCaseAscii(char, 0, 1). Standalone fix before String to OUString conversion. Change-Id: Id549f1fd1d45c45c458fbebda05146cc9ce36383 Reviewed-on: https://gerrit.libreoffice.org/5731 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01String to OUStringMatteo Casalin
Change-Id: I0285d1ad9edaf07be869c5e8325ed693beaee5f2 Reviewed-on: https://gerrit.libreoffice.org/5730 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01XubString->OUStringCaolán McNamara
Change-Id: Ib14fef2055d90b2427c41865b0ad42d5f7b81d6a
2013-09-01docx export: simplify pgBorders handling, and fix pgSz bugPierre-Eric Pelloux-Prayer
If a document had page borders, pgSz was wrongly exported as a child of pgBorders. Change-Id: Ibd47d3efd387f942274c0162fd0cbc46662348d5 Reviewed-on: https://gerrit.libreoffice.org/5664 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01docx export: add unit test for page size with page bordersPierre-Eric Pelloux-Prayer
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I999fa2893fc404f90136b2a2e79aefa93f177896 Reviewed-on: https://gerrit.libreoffice.org/5665 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>