summaryrefslogtreecommitdiff
path: root/editeng/source/items
AgeCommit message (Collapse)Author
2014-06-10coverity#735422 Logically dead codeCaolán McNamara
Change-Id: I5639746f25024b0808e9c4e620bb0fa9f1a2c0b6
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05coverity#705153 Missing break in switch, surely this is not intentionalCaolán McNamara
since the initial commit of c04e60275f273dacf8796e957e1ebadc08b497a1 Change-Id: I9d3c3c2870c145b2fdb5c4f6c6ed17a14d1162c2
2014-05-26coverity#705152 Missing break in switchCaolán McNamara
Change-Id: I9b56f5fe890d0d60e451cd35b69dcfb68e7b86b4
2014-05-26coverity#705151 Missing break in switchCaolán McNamara
Change-Id: I7bfddf3bb7be3ade65c8b33c6d41901522498d56
2014-05-26coverity#705150 Missing break in switchCaolán McNamara
Change-Id: I09249504ace6b38ae3dac677678995bbb5080a28
2014-05-23coverity#707758 Uninitialized scalar fieldCaolán McNamara
Change-Id: I39954506deafc42e854d556170417af67f5461b2
2014-05-23coverity#984086 Uninitialized scalar fieldCaolán McNamara
Change-Id: Iba162efd0b582541199f343b64ac3b8c59dcc3d8
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-11coverity#984086 Uninitialized scalar fieldCaolán McNamara
Change-Id: Iab787537a4212e58710a1db1b30f953784824dfa
2014-05-11coverity#707758 Uninitialized scalar fieldCaolán McNamara
Change-Id: I2f123b0be283b1cb7d890f0e2318dabb5a5930ec
2014-05-11coverity#1019408 Uninitialized scalar fieldCaolán McNamara
Change-Id: I63bc844627ca9eaf43f9b4b01ab987ef4f188afa
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8Julien Nabet
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-04-21remove some more bloatThomas Arnhold
Change-Id: I7b6c04d99c41360ff49be774afcb4447a829d31c
2014-04-17no temporary instance of SvtLanguageTable necessary hereEike Rathke
Change-Id: I35395e169e795386740fb2b5ee34fc3117b8c844
2014-04-16coverity#735422 Logically dead codeCaolán McNamara
Change-Id: I8e1694c311e1e29dc5ea59b292c6afe90fb762fa
2014-04-15editeng: sal_Bool->boolNoel Grandin
Change-Id: I71ea2f0e48a6252832180872945b96a120f21907
2014-04-11Introduce twip/mm100 conversion functions instead of duplicated macrosTor Lillqvist
Change-Id: Ib689e35b417e0e9016cd6a239c986e0603a99d62 Reviewed-on: https://gerrit.libreoffice.org/8837 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-09Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
2014-04-04svl/eitem.hxx: sal_Bool->boolNoel Grandin
Change-Id: I45dfd2429a490af3cc80f51340e0c05a91425668
2014-03-31use SAL_N_ELEMENTSCaolán McNamara
Change-Id: I533ce52828ae08a6ab111bcbeaaa6b44c62a6ab9
2014-03-31Presentation string for recently-added border typesLuke Deller
LibreOffice will show a textual description of a style in some contexts eg in the Organizer tab of the dialog for modifying a style. This change updates the description of border line types to support recently-added types: FINE_DASHED, DOUBLE_THIN, DASH_DOT, DASH_DOT_DOT Also this fixes an out-of-bounds array access in SvxBorderLine::GetValueString Change-Id: Ia354a05ab1455eb8bcc079c6e51419a0cc6429d6 Reviewed-on: https://gerrit.libreoffice.org/8781 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-31.doc support for recently-added border line typesLuke Deller
Some new border line types have been added recently to LibreOffice (FINE_DASHED, DASH_DOT, DASH_DOT_DOT) This change updates .doc import/export to support these. (Import of FINE_DASHED was already working, but not export). Change-Id: Id3bcb1d4e6e9ceb97b492f0c578fd5b885ab16ff Reviewed-on: https://gerrit.libreoffice.org/8780 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-28Merge back branch alg_writerframes to trunkArmin Le Grand
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62) Conflicts: comphelper/inc/comphelper/TypeGeneration.hxx comphelper/source/property/TypeGeneration.cxx cui/source/factory/dlgfact.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/tabarea.cxx cui/source/tabpages/tabarea.hrc cui/source/tabpages/tabarea.src cui/source/tabpages/tparea.cxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/texture/texture.cxx editeng/inc/editeng/unotext.hxx editeng/source/items/frmitems.cxx include/drawinglayer/texture/texture.hxx include/editeng/brushitem.hxx include/svx/sdr/primitive2d/sdrdecompositiontools.hxx include/svx/svxids.hrc include/xmloff/xmltypes.hxx reportdesign/source/ui/misc/UITools.cxx sc/source/ui/drawfunc/drawsh.cxx sfx2/source/dialog/tabdlg.cxx svl/source/undo/undo.cxx svx/inc/svx/unoshprp.hxx sw/Library_sw.mk sw/inc/doc.hxx sw/inc/format.hxx sw/inc/frmfmt.hxx sw/inc/swatrset.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/access/accpara.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docdraw.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/atrfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/porfld.cxx sw/source/core/text/txtfly.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/app/docst.cxx sw/source/core/uibase/app/docstyle.cxx sw/source/core/uibase/shells/drawdlg.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmpage.src sw/source/ui/inc/frmsh.hxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-19Add dash-dot and dash-dot-dot line styles.Kohei Yoshida
We need these for Excel interop. Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
2014-03-17Make this non-inline.Kohei Yoshida
Change-Id: I2002f7278b63b7678a5274e4213ab9dfb50e525e
2014-03-14fdo#68779: RTF import: set borders without explicit widthMichael Stahl
Word reportedly uses 0.75pt as a default if \brdrw is missing. Change-Id: I263c56f756c65ff6bb30870aa70806564d5826a6
2014-03-06coverity#1190356 Dereference null return valueCaolán McNamara
Change-Id: I9a857423cd190b2da9f535e8897a9c9baba40b73
2014-03-05remove unused code SvxNumRule::Create(SvStream&)Noel Grandin
Change-Id: I82205010e613a07df24f22071eec74f53578671d
2014-03-05remove unused code SvxNumberFormat::Create(SvStream&)Noel Grandin
Change-Id: If8cfea11552bf008ab4381ecec50aadf58a98a45
2014-03-04fdo#75260: Correctly draw double lines for both Writer and Calc.Kohei Yoshida
Fix all sorts of incorrect double line handling in drawinglayer in order to draw thick-thin double line types correctly. Also change handling of border lines in writer tables. There are still some outstanding issues but it's much better than how it was before. Also realized that Word and Excel handle simple thin double lines differently; Word varies widths of all of the lines and the gap whereas Excel only has one fixed size for its double line. For this reason I decided to add a separate double line type (DOUBLE_THIN) to handle Excel's double line. Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I26b1fe14023737b85bcf23628e4881c8be79f071
2014-03-03editeng: sal_Bool->boolNoel Grandin
Change-Id: I0aa375d35c796cfa1929f9c0e735eaaa05561ee4
2014-02-27Remove visual noise from editengAlexander Wilms
Change-Id: Id7582119a5628cb7f54347678580ce7e47f6d703 Reviewed-on: https://gerrit.libreoffice.org/8255 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Iede0a8ea3e28d1a77069e61c5a9b9d5bccc69adb
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ibce9442e46dffbfb21873bb64fbc851ad761b4dc
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ic4dec17e879e6e16c7d6c5e184288a629872ce84
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I977aa9d3cf18da00c69bfd777b51299613e01d1d
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I1c1d16e5b9690a5f61a04ed78d6e4be296800ebb
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Id309a574831dd46bce47009eb8c4879d26c3a332
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I12db4b88beeeabf3840116753a3c388b214428ed
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: If5b8269b35983e564f1002f6ed25ca607381eea7
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I87dbcb590484c6142c2ce33d57eed846998aac36
2014-02-27editeng: sal_Bool->boolNoel Grandin
Change-Id: I63bef7bcd7e20c6f667058f4be6d305c7f447b22