summaryrefslogtreecommitdiff
path: root/sw/source/core/draw
AgeCommit message (Collapse)AuthorFilesLines
2014-07-17SwVirtFlyDrawObj: suppress unused parameter warnings (it's used by assert)Michael Stahl1-0/+1
Change-Id: I2f5b530e011bf1bb95ca5e0421f6e03c0885872a (cherry picked from commit 39669d3244e3859471e665cf6afc754b6aca634e) Signed-off-by: Eike Rathke <erack@redhat.com>
2014-07-10fdo#78908 Revert "Merge back branch alg_writerframes to trunk"Miklos Vajna1-1/+0
This reverts commit 6e61ecd09679a66060f932835622821d39e92f01. Better not to have this on libreoffice-4-3 without 7d9bb549d498d6beed2c4050c402d09643febdfa (Related: #i124638# Second step of DrawingLayer FillAttributes..., 2014-06-02). Conflicts: cui/source/inc/backgrnd.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/backgrnd.cxx cui/source/tabpages/tparea.cxx include/basegfx/numeric/ftools.hxx include/svx/svxids.hrc include/svx/unoshprp.hxx sc/source/ui/drawfunc/drawsh.cxx sd/source/ui/func/fuarea.cxx sfx2/source/dialog/tabdlg.cxx sw/inc/fillattributes.hxx sw/inc/format.hxx sw/inc/frmatr.hxx sw/inc/swatrset.hxx sw/inc/unobrushitemhelper.hxx sw/qa/extras/rtfexport/rtfexport.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/layout/fillattributes.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unobrushitemhelper.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unostyle.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprhdl.cxx Also: Revert "cppcheck: Prefer prefix ++/-- operators for non-primitive types" This reverts commit 80ec4885e97b3fcb34b93e71ced52a4aab43ce93. Revert "WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'" This reverts commit d5d10b03b1f3e4bf784ad35254cb55d719a8c1b3. Revert "i#124638 support for DrawingLayre FillStyle for GraphicFrames and ..." This reverts commit 4a0b5e569d070c286daefb0fdfe45c0dd15d241c. Revert "svx: fix SID_OFFER_IMPORT and SID_ATTR_CHAR_GRABBAG having the same SID" This reverts commit b66d87086804460c1986df1b832fd6b2ea075a90. Revert "SwXStyle::getPropertyValue: don't try to read a float into a sal_Int32" This reverts commit 1e3c7b854baac2502bed72ff8e3e1b21b507735b. Revert "SwXTextFrame: also restore semi-lost BackColorTransparency property" This reverts commit 102bb87ca1a5dee3a09442bf503a54bb703c79ea. Revert "SwXTextFrame: restore semi-lost BackColor property" This reverts commit 5ce92b73ce06c805c66e53c48aa2c70c722aaf60. Revert "DocxAttributeOutput: port to FillAttributes" This reverts commit ec221b7339f8fe5520926ef85b450daa94392780. Revert "MSWordExportBase::OutputItemSet: handle fill attributes as frame ones" This reverts commit 84c40768f8acb0342dcfa223133497f57620fc14. Revert "sw: put getSvx* and setSvx* to a namespace, now that these are public" This reverts commit ebf960960a69c1edb5da1994c330ddddbecac44d. Revert "sw: fix DOC/DOCX/RTF export of TextFrame background color" This reverts commit c7837b8caad61b8c0dfd3704a133cdeaffd69b06. Revert "sw: still use SvxBrushItem for page style background" This reverts commit e826950e9d7736a6e3f9042755ba1b528f58a505. Revert "cui: unused code in SvxAreaTabPage::ClickBitmapHdl_Impl" This reverts commit 2032e9f5d7683e49b8753d7c7362899c690005b6. Revert "cui: unused code in SvxAreaTabPage::ClickGradientHdl_Impl" This reverts commit f4fa202b31277276dc4f05046c82152c0830ef21. Revert "cui: unused code in SvxAreaTabPage::ClickColorHdl_Impl" This reverts commit 1478e89e08a54f02a137c74c0cde6ae75e80d9f3. Revert "cui: unused code in SvxAreaTabPage::ClickHatchingHdl_Impl()" This reverts commit e9c9f3f793a91525ac4fb74f8791ba74222515e4. Revert "svx: fix Writer's insert -> frame crash" This reverts commit 831b8751fc9f423fd4e459623e54801c0a020eb3. Revert "sw: adapt frame/templatedialog4.ui to FillAttributes" This reverts commit 55916fc50a5b2d6273bca8c9ef6253011cf4fdbc. Revert "-Werror,-Wunused-variable" This reverts commit d0542fe7251d9c6538331b22a4b5e2e294a92e97. Revert "loplugin:implicitboolconversion,literaltoboolconversion" This reverts commit 47862e75de51a4ac7476acff773b504fdc0d6e76. Revert "loplugin:saloverride" This reverts commit be89e8b8ac19c0feca8850ccaddd90205c63dbe5. Revert "loplugin:literaltoboolconversion" This reverts commit 355b31fe347479f63906e41300042ec5cb38837c. Revert "-Werror,-Wunused-private-field" This reverts commit df9d13dd2e754184a4c6e321b8910ee1bc0cafa1. Revert "-Werror,-Wunused-const-variable" This reverts commit d757a98001a65baf4066c2eda037a08ab1beda46. Revert "unused XFillStyleItem ctor" This reverts commit b735fe1d67e6ad7ad448e448f237dcabef1a1c38. Revert "unused XGradient::VclGradient" This reverts commit 5bbc90be755aae4b87125f9d748828d74efe645d. Revert "fix "transparency" of floating tables in docx import (fdo#77723)" This reverts commit 313b59d787357ef3da34e2833fefcf1143b09b5e. Change-Id: If855b090f94288d384f8733f88ef1172e68c50a6 Reviewed-on: https://gerrit.libreoffice.org/10077 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit dc17dad5fd7509f191718df8690e5847ab87669a) Reviewed-on: https://gerrit.libreoffice.org/10086 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-05-19SwVirtFlyDrawObj: suppress unused parameter warnings (it's used by assert)Michael Stahl1-0/+1
Change-Id: I2f5b530e011bf1bb95ca5e0421f6e03c0885872a
2014-05-19fdo#78149: assert if SwVirtFlyDrawObj is being painted with no ViewPort setMichael Stahl1-3/+7
Change-Id: I2f94a28d85fa31c5623ff0c6067edc7060998d9e
2014-05-11coverity#705918 Dereference before null checkCaolán McNamara1-28/+25
Change-Id: Ic36d335f06833e830c97ca34b7d96c5ff421f944
2014-04-30sw: sal_Bool->boolNoel Grandin4-25/+25
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-21remove comments why a file gets includedThomas Arnhold1-2/+1
also remove some commented out code Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-18Thanks Badaa and Jiayanmin but we don't use in-line commit commentsTor Lillqvist2-5/+1
Change-Id: Iff5f70602e8451ea2b8432a58804bb38156d6b46
2014-04-14typo: retangle -> rectangleThomas Arnhold1-1/+1
2014-04-10coverity#735902 Explicit null dereferencedCaolán McNamara1-9/+11
Change-Id: Id32182b59a104c0de1fa61e91cdf9c25b29b243d
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann3-9/+9
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-11svx: sal_Bool->boolNoel Grandin3-14/+14
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-02-27Remove visual noise from swAlexander Wilms3-5/+1
Conflicts: sw/inc/unodraw.hxx sw/inc/unoframe.hxx sw/sdi/swriter.sdi sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unoparagraph.cxx sw/source/filter/ww8/rtfexportfilter.cxx sw/source/ui/inc/unotxvw.hxx sw/source/ui/lingu/hyp.cxx sw/source/ui/lingu/sdrhhcwrap.cxx sw/source/ui/uno/swdetect.hxx Change-Id: Ic0a3fb2392187c277c9b36915ffb10dcf0317908 Reviewed-on: https://gerrit.libreoffice.org/8322 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20svl: sal_Bool -> boolStephan Bergmann1-10/+10
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-06coverity#704882 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: I262c4d2efab8d3bfbb5edbe4208555cb446caf5c
2014-02-06coverity#704883 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: Ib5abe9a16fa4879d769f5ee229bc1b02f32fd62e
2014-01-28bool improvementsStephan Bergmann3-9/+9
Change-Id: Ibeb658e73b588f90242c95d23149f2ef45a7a815
2014-01-24bool improvementsStephan Bergmann1-6/+6
Change-Id: I7b66909d467f460d674434ae47c11808d1bf832d
2014-01-17bool improvementsStephan Bergmann1-1/+1
Change-Id: I9324483db587be43238af79c2148d724397a4622
2013-12-09GetBasic and m_pBasic are unusedCaolán McNamara1-1/+1
which is probably a good thing because it is zeroed in the copy ctor which looks rather dubious Change-Id: Ia082601982aaea5df92cf7aa9724cbe187716e0c
2013-11-27Drop duplicate #includeTakeshi Abe1-3/+0
Change-Id: I8c5daff82b96e4d9e2e89e18473c9be8c9c8162b
2013-11-14xub_StrLen to sal_Int32 in SwIndex and some relatedMatteo Casalin1-1/+1
Change-Id: I66735635a88844c30a7fa1c886d2c1df34008f4f
2013-10-26sw: ViewShell -> SwViewShell renameMiklos Vajna3-11/+11
It's a public class, so it should have the 'Sw' prefix. Change-Id: I0040c1cc37ffcba7fc5f58b71c86f4a7cb0bfce4
2013-10-24Related: fdo#70571 say [ctrl+]click to follow linkCaolán McNamara1-3/+3
as opposed to "hyperlink". Be more generic and consistent across both ctrl+click and click modes. Change-Id: I673ed59fc9f3408a0c4534c6490d9bbc3598bc08
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22Bin useless swmod commentsTor Lillqvist3-4/+4
Change-Id: I65df74242453a907b1a1a50f391e7b017bec5fcb
2013-10-18converting remaining usage of String in SW to OUStringNoel Grandin1-1/+1
Change-Id: Iaaa3812412dc880eb9d08144219ebe428007884e
2013-10-16[API CHANGE]: PreView -> Preview, including .uno:PrintPagePreView.Jan Holesovsky1-1/+1
Will be .uno:PrintPagePreview going forward. Change-Id: Ie5a35467917a54a60dab9eaacf0690c9df27e6f6
2013-10-02bWeiter -> bContinuePhilipp Riemer1-5/+5
Change-Id: Ia0bba3c1610dce5d364fb584f04e0b66cc41fb20 Reviewed-on: https://gerrit.libreoffice.org/6077 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-22Related: fdo#38838 remove UniString::InsertAsciiCaolán McNamara1-7/+6
Change-Id: I949b62842d77fe83caed2cc79784fe1e3f3ae400
2013-08-18String to OUStringMatteo Casalin2-3/+3
Change-Id: I22624e2f15b95257f950f48704909aeb6ae54ef4
2013-06-18Resolves: #i121917# Corrected access to text objectArmin Le Grand1-3/+17
(cherry picked from commit 2c9c9923fdf042c41cebaf9a15def7caac86032d) Conflicts: sw/source/core/draw/dcontact.cxx Change-Id: Ia214127ca540c4f4036a0006e7c227649fb39134
2013-05-28Resolves: #i120515# Implemented and finetuned the enhanced Undo featureArmin Le Grand1-0/+12
(see #i120498#) for sw (cherry picked from commit fb2580f1c8ae0cd1418c257823dc2d735607655f) Conflicts: sw/source/core/draw/dview.cxx sw/source/core/inc/UndoManager.hxx sw/source/core/undo/docundo.cxx Change-Id: I9970377d66f1104448a2ee7e4fb1cf82bf559cd8
2013-05-20sw: convert some usage of Point::X/Y to Point::set/getX/Y, take twoJulien Nabet3-5/+5
69c52bc5b7973a2e414209470f5bf9b66dcc4f30 had some typos, and got reverted in 78123a504b5215d061935d7b2771ba51e68cae0e, this does the same, except those typos corrected, so vertical layout is still OK. Change-Id: I79fe610e4cc8bbbddbd8415198d6309a93f4ba18 Reviewed-on: https://gerrit.libreoffice.org/3929 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-20drawinglayer: Fix typo Primitrive -> Primitive.Jan Holesovsky1-2/+2
Change-Id: Iec1f5192fb052e884c4878ffb017dfd2f5f99350
2013-05-15Resolves: fdo#64584 revert convert Point::X/Y to Point::set/getX/YCaolán McNamara3-5/+5
This reverts commit 69c52bc5b7973a2e414209470f5bf9b66dcc4f30 I found one place where Y should have been X, but didn't clear the problem, so threw my hat at it and reverted the lot, its cosmetic anyway so no functionality lost be reverting.
2013-05-08sw: convert some usage of Point::X/Y to Point::set/getX/YMiklos Vajna3-5/+5
As I understand it, Point::X/Y() basically provide direct access to the position, so they come without the usual benefits of getter/setter methods. Change-Id: I6d5bfd4f20ab8c7377419dcf5aac2c4ea0e9db05
2013-05-05fix indentation of a commentPhilipp Riemer1-1/+1
Change-Id: I4528725cdfe2bdd0ae071d5719d4e8e082d88e5b
2013-05-05fdo#62475 - remove pointless comments and ASCII art in sw/source/core/drawPhilipp Riemer4-75/+8
Change-Id: I223cdd6d3bfddf0216453406efc32beee2489ae4
2013-05-05doxygen-ize comments in sw/source/core/drawPhilipp Riemer4-107/+92
Change-Id: I04ef6f0992e6d00dd6519eb6e9bcddecbb97e8de
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza1-1/+1
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-1/+1
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-12Translate German commentsPhilipp Weissenbacher1-9/+2
Change-Id: I0b386fd0c7cb0382fa3a5187389369966365b1fb Reviewed-on: https://gerrit.libreoffice.org/2691 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-04doubled namespacesThomas Arnhold1-4/+0
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
2013-03-04remove unused and commented out codeThomas Arnhold1-5/+0
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold1-1/+1
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-22Comment translation german-englishMatthias Freund2-141/+54
Change-Id: I39ad80b9a952462e178be87ca5e53785036cdaf6 Reviewed-on: https://gerrit.libreoffice.org/2190 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22fdo#38838 search replace for String::CreateFromInt32().Jean-Noël Rouvignac1-2/+2
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ Change-Id: Ic500593e3a0b593522c9469b18da0145285007da Reviewed-on: https://gerrit.libreoffice.org/2280 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-16Doxygenize some comments, remove redundant info we know from version control.Jan Holesovsky1-43/+27
Change-Id: I02d1a8b5c9f1cd4640e84216c4ef7c3d1fab0042
2013-02-16Comment translation german-englishMatthias Freund2-91/+23
I had remove more of the the ascii-art ;-) Change-Id: Ia5c5d1d8b539ffb4286232177c12b294b0f60706 Reviewed-on: https://gerrit.libreoffice.org/2171 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>