summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2013-09-10CID#1078790 Resource leakCaolán McNamara1-0/+3
Change-Id: I1c5af09932a5004c5c76080fd490e53d8927c285
2013-09-10String to OUStringThomas Arnhold8-87/+76
Change-Id: If859505c52b7166e9e586008b40a6aff3a2ccf3c Reviewed-on: https://gerrit.libreoffice.org/5893 Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org> Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org>
2013-09-10CppunitTest_sw_ooxmlexport: do not build failing testcaseMiklos Vajna1-3/+3
Change-Id: Iec2db10104e79406cb2b9b6bac81d64dbe597d8d
2013-09-10Improve border equal check in filter tests 2.Zolnai Tamás6-51/+51
Change the order of words BORDER and EQUAL in the macro name to become consistent with other macro names. e.g. CPPUNIT_ASSERT_DOUBLES_EQUAL Use a function inside the macro to make it type safe. Add additional message to make clear why the test failed. Change-Id: I9fc7a5813adf2cac36ae831d438cec498232b06c Reviewed-on: https://gerrit.libreoffice.org/5885 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-09CID#1079152 uninitialized m_bOnWinCaolán McNamara1-2/+5
Change-Id: I8f7e56ce86e7097379a8e063405bf95405616318
2013-09-09convert info not found to .uiCaolán McNamara6-13/+40
Change-Id: I553e6f696ad10e847d845c263fbfbab5d2279345
2013-09-09convert customize address list dialog to .uiCaolán McNamara8-212/+301
Change-Id: I91c69add679f62af5f67cc1bd7c2739b2de84cfb
2013-09-09convert find entry dialog to .uiCaolán McNamara8-107/+221
Change-Id: I0d8ef363e45f9032676a161c63d7cf9bcbe417fd
2013-09-09Use hex color code in character border filter testsZolnai Tamás5-21/+22
Change-Id: I19bd1cbedd42101186fd4afbcd7af9afb630f857
2013-09-09Avoid using in headerZolnai Tamás6-5/+9
Change-Id: I1365cf183a768f17dd2d16f695a27d9710eb4daf
2013-09-09String to OUstringMatteo Casalin4-25/+24
Change-Id: I98f2e16f1e679cb2c01984ed34dc4efb254c918d Reviewed-on: https://gerrit.libreoffice.org/5876 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09String to OUStringMatteo Casalin2-82/+76
Change-Id: I0adbe625400f71eb8cb21d0b36a117c708348a20 Reviewed-on: https://gerrit.libreoffice.org/5875 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09fdo#68291 RTF paste: don't set PageDescName during pasteMiklos Vajna4-0/+31
In general, paste should not deal with page styles. In this case, it even caused an additional page break. Change-Id: Ia7c5a9ad844821b6622babfbd94469ec3c04cf0a
2013-09-08convert add/rename entries dialogs to .uiCaolán McNamara10-107/+286
Change-Id: I40040a237763a0706177ba5c6c1a664a51b3ee07
2013-09-08SwAddrDlg can now be converted to SfxSingleTabDialogCaolán McNamara2-18/+6
Change-Id: I7fb53193d52d6c04c34fce23aa1610ce1035493c
2013-09-08SwBackgroundDlg can now be converted to SfxSingleTabDialogCaolán McNamara2-25/+6
Change-Id: I6e15b914e022674e27a14023144fe7a3add0ed43
2013-09-08SwDropCapsDlg can now be converted to SfxSingleTabDialogCaolán McNamara2-17/+7
Change-Id: I2d9baf887cf31789e0d439c4b9bbe3c1371b8f18
2013-09-08Related: fdo#38838 String::GetBufferAccess is now no moreCaolán McNamara6-31/+36
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08SwMailConfigDlg can now be converted to SfxSingleTabDialogCaolán McNamara2-11/+5
Change-Id: Ic9895e027be8b5406dda7756a19127bd4edee63d
2013-09-08convert already exists dialog to .uiCaolán McNamara7-87/+223
Change-Id: I6cb2a11b6ee2f94f611aa852c79dd1a6534381da
2013-09-08CharBrd 9.4: DOC filtersZolnai Tamás7-17/+102
-WW8 filter is the only MS filter which ignores padding of character border. Change-Id: I17973d8d2ae624d68356729334c701864fe0a10d
2013-09-08CharBrd 9.3: RTF filtersZolnai Tamás12-44/+113
-Use sprm:CBrc attribute for all MS filter (for ooxml too). -Extract general code to FormatCharBorder() method, it selects the border side and decides whether add shadow to the border. -RTF export has a color table, which must be filled with border colors before the actual export.temp Change-Id: Ic3ceae6e19ddc2ed5aaa8de85617f9a592289b4f
2013-09-08CharBrd 9.2: DOCX filtersZolnai Tamás10-6/+128
- Modify HasTextItem() method to able to get character attributes during export. (in this case RES_CHARTR_SHADOW) - Only one side of the border can be exported. Selecting order: (top, left, bottom, right) - During import set all four side and use the Word default shadow type (back, bottom-right, border width wide) Change-Id: I3e1e27a2ef2d77b397f2ca8efe578e09271bcf8c
2013-09-08CharBrd 9.1: HTML filtersZolnai Tamás7-7/+136
-I don't implement shadow because HTML filter use css1 attributes and there isn't box-shadow in css1. -Border merge: skip span open and close tags to get the right result. Change-Id: I17edc2e1cc42359b5f1721b8891350c528c7793e
2013-09-08Revert "It seems lcl_ExtendLeftAndRight is just a workaround"Zolnai Tamás1-1/+25
This reverts commit 9ece71a185c93845e38c25eae91bc1955d60bfed. I solved some bug which were hide by the usage of this method, but there are other cases where it is neccessary. Conflicts: sw/source/core/layout/paintfrm.cxx Change-Id: I01f27c812890d7bc4d47e645f25213ba67a955d5
2013-09-08Fix expected and actual order in odf export testZolnai Tamás1-13/+13
Change-Id: Ib8168112e297571cc99b39fbf365d888e2247da5
2013-09-08Improve border equal check in filter testsZolnai Tamás2-95/+47
With macro the error message will point to the right line. Check padding distinct. Change-Id: Id09fbf65350a7a3708923eb07d673068c2943b50
2013-09-08Generalize SwHTMLWriter::ToPixel methodZolnai Tamás4-19/+11
Change-Id: Iba4c292a3130f33792ef39b97d774a48c181359a
2013-09-08Use the equivalent GetScaledWidth()Zolnai Tamás1-3/+1
Change-Id: I621f9ad1a7f1aa47450da86d3462daec4e8fe124
2013-09-08Update attribute table of html filterZolnai Tamás2-18/+25
If these lists are not updated with new hintids, it can break the filters. Change-Id: I5f5408679cbfbf0922d7926de16122c0d21fc5e3
2013-09-08Paint character border for tabulatorZolnai Tamás10-41/+42
It seems tab portion is not a text portion so we have to move text portion join members to line portion. Avoid painting border for tabulator after numbering portion. Change-Id: Ic773dd14a8e90fd68980c5a0220c6ac14da0a693
2013-09-08Remove a useless code duplicationZolnai Tamás1-8/+0
Change-Id: I36e90fcc5773e418be7f6343e2abd8de8568092e
2013-09-07add/remove blank lines and braces (in sw/source/core/crsr/)Philipp Riemer17-49/+31
Change-Id: I4dea8ea84d83c28eb258d0e8ddc2966476a50223 Reviewed-on: https://gerrit.libreoffice.org/272 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07work on comments in sw/source/core/docnode/Philipp Riemer11-133/+78
Change-Id: Ie988076dc73f80fa962daa2e9d8e05132ed7180b Reviewed-on: https://gerrit.libreoffice.org/5869 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07remove/add blank lines for consistent code layout in sw/source/core/docnode/Philipp Riemer19-143/+15
Change-Id: I4ccd099b8ae491c69f25fd32d12a532348d6655d Reviewed-on: https://gerrit.libreoffice.org/5868 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07remove/add blank lines in sw/source/corePhilipp Riemer70-355/+42
Change-Id: I4d0aa521fc4c24f954d2636aa68e968456a829e7 Reviewed-on: https://gerrit.libreoffice.org/2879 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2013-09-07%1 placeholder never replaced with anythingCaolán McNamara1-0/+5
Change-Id: Icd7111ec044032fe76a19454bcf6b795229a0e56
2013-09-07set explicit default buttonCaolán McNamara1-0/+2
Change-Id: I288c00b5eff6876ba9d790ee5ab4f0d1cbc2cd4f
2013-09-06saing->saving, yikes!Caolán McNamara1-1/+1
Change-Id: I3597a00a5330aab32165da8308177879d1f2db96
2013-09-06bnc#779642 VML import: handle drawinglayer rectangle char spacingMiklos Vajna2-0/+16
Change-Id: I79fa72c9235682030d23a03fdb0c7c40370c4a8a
2013-09-06unused SwFont ctorMiklos Vajna2-28/+0
Change-Id: I9bb51b279fc2d61ff5e427f9257bc3669cfdb0bd
2013-09-05tinderbox is unhappy, let's link sot in this testMichael Stahl1-0/+1
Change-Id: I428545774544826be82459791e2d29d8195d1eb5
2013-09-05update pchThomas Arnhold2-6/+35
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05CID#705762: fix memory leakMarkus Mohrhard1-0/+2
Change-Id: I0602b158bb259e27915a46485cdeac471ba6cdf2
2013-09-05bnc#779642 VML import: fix TextHorizontalAdjust when layout-flow is verticalMiklos Vajna2-0/+11
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 McNamara1-6/+19
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 McNamara1-1/+6
Change-Id: I98accfecd5922d6882dfe97c8c72fff3afa5392c
2013-09-05CID#1079350 Uninitialized scalar fieldCaolán McNamara1-0/+12
Change-Id: I0a3bbb5a962b33aad1c9ef2c5fa751ec15d79dc9
2013-09-05convert include/svx/SpellDialogChildWindow.hxx from String to OUStringNoel Grandin2-2/+2
Change-Id: I6fe9e996b67dc689f4fc2abc1cf63cb4af39084f
2013-09-05convert include/svx/hlnkitem.hxx from String to OUStringNoel Grandin1-2/+2
Change-Id: I3c4d1b60c5fe3df35a91258ea523e9b7f46eea71