Commit Graph

337 Commits

Author SHA1 Message Date
9d2977d0a3 remove some more bloat
Change-Id: I7b6c04d99c41360ff49be774afcb4447a829d31c
2014-04-21 09:39:35 +02:00
5684e67aa8 no temporary instance of SvtLanguageTable necessary here
Change-Id: I35395e169e795386740fb2b5ee34fc3117b8c844
2014-04-17 23:15:04 +02:00
64b040866d coverity#735422 Logically dead code
Change-Id: I8e1694c311e1e29dc5ea59b292c6afe90fb762fa
2014-04-16 20:21:03 +01:00
3edb4611b2 editeng: sal_Bool->bool
Change-Id: I71ea2f0e48a6252832180872945b96a120f21907
2014-04-15 09:02:32 +02:00
84272d115d Introduce twip/mm100 conversion functions instead of duplicated macros
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-11 10:19:05 +00:00
b4fd20fc6b Clean up function declarations and some unused functions
Change-Id: Id9e29dcaab64b0244b5c53abb48ac27253a11917
2014-04-09 14:42:51 +02:00
a20b62dac8 svl/eitem.hxx: sal_Bool->bool
Change-Id: I45dfd2429a490af3cc80f51340e0c05a91425668
2014-04-04 13:44:18 +02:00
ddac6b1f30 use SAL_N_ELEMENTS
Change-Id: I533ce52828ae08a6ab111bcbeaaa6b44c62a6ab9
2014-03-31 16:33:23 +01:00
0b7c856978 Presentation string for recently-added border types
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 15:30:50 +00:00
fe3dff3020 .doc support for recently-added border line types
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-31 15:29:25 +00:00
6e61ecd096 Merge back branch alg_writerframes to trunk
(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-28 14:31:08 +01:00
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
402fffa1b4 Add dash-dot and dash-dot-dot line styles.
We need these for Excel interop.

Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
2014-03-19 00:28:16 -04:00
87efec9cc2 Make this non-inline.
Change-Id: I2002f7278b63b7678a5274e4213ab9dfb50e525e
2014-03-17 22:48:53 -04:00
84f4de3b65 fdo#68779: RTF import: set borders without explicit width
Word reportedly uses 0.75pt as a default if \brdrw is missing.

Change-Id: I263c56f756c65ff6bb30870aa70806564d5826a6
2014-03-14 19:15:57 +01:00
ca789f8ea4 coverity#1190356 Dereference null return value
Change-Id: I9a857423cd190b2da9f535e8897a9c9baba40b73
2014-03-06 16:35:50 +00:00
fd6a568ada remove unused code SvxNumRule::Create(SvStream&)
Change-Id: I82205010e613a07df24f22071eec74f53578671d
2014-03-05 09:17:47 +02:00
e964e2c56b remove unused code SvxNumberFormat::Create(SvStream&)
Change-Id: If8cfea11552bf008ab4381ecec50aadf58a98a45
2014-03-05 09:17:47 +02:00
2c62596cf2 fdo#75260: Correctly draw double lines for both Writer and Calc.
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-04 22:02:37 -05:00
074a2af8bc editeng: sal_Bool->bool
Change-Id: I26b1fe14023737b85bcf23628e4881c8be79f071
2014-03-03 08:59:37 +02:00
241f1a1ab4 editeng: sal_Bool->bool
Change-Id: I0aa375d35c796cfa1929f9c0e735eaaa05561ee4
2014-03-03 08:59:36 +02:00
710178094d Remove visual noise from editeng
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-27 07:26:53 -06:00
015b80e852 editeng: sal_Bool->bool
Change-Id: I9e27453f0b77a23ae3d811f0a50a85d3fdf80978
2014-02-27 12:30:30 +02:00
c521f07208 editeng: sal_Bool->bool
Change-Id: I7da10ad3ba8017d64c723b53795348edf0e7dd6d
2014-02-27 12:30:30 +02:00
27842247e5 editeng: sal_Bool->bool
Change-Id: Iede0a8ea3e28d1a77069e61c5a9b9d5bccc69adb
2014-02-27 12:30:28 +02:00
2a4a74a499 editeng: sal_Bool->bool
Change-Id: I3827611dc887985484aec7fa5506e15298ac916e
2014-02-27 12:30:28 +02:00
ab49749dfc editeng: sal_Bool->bool
Change-Id: Ibce9442e46dffbfb21873bb64fbc851ad761b4dc
2014-02-27 12:30:28 +02:00
b8eaa2b782 editeng: sal_Bool->bool
Change-Id: Ic4dec17e879e6e16c7d6c5e184288a629872ce84
2014-02-27 12:30:27 +02:00
a4850e3d78 editeng: sal_Bool->bool
Change-Id: I977aa9d3cf18da00c69bfd777b51299613e01d1d
2014-02-27 12:30:26 +02:00
bc7525a9a4 editeng: sal_Bool->bool
Change-Id: I1c1d16e5b9690a5f61a04ed78d6e4be296800ebb
2014-02-27 12:30:26 +02:00
127f62ccbd editeng: sal_Bool->bool
Change-Id: Id309a574831dd46bce47009eb8c4879d26c3a332
2014-02-27 12:30:25 +02:00
ef16d954c2 editeng: sal_Bool->bool
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-27 12:30:25 +02:00
fd1a348915 editeng: sal_Bool->bool
Change-Id: I12db4b88beeeabf3840116753a3c388b214428ed
2014-02-27 12:30:25 +02:00
bbe5d32dda editeng: sal_Bool->bool
Change-Id: If5b8269b35983e564f1002f6ed25ca607381eea7
2014-02-27 12:30:24 +02:00
46888b6f8d editeng: sal_Bool->bool
Change-Id: I87dbcb590484c6142c2ce33d57eed846998aac36
2014-02-27 12:30:24 +02:00
a18e08ba48 editeng: sal_Bool->bool
Change-Id: I63bef7bcd7e20c6f667058f4be6d305c7f447b22
2014-02-27 12:30:24 +02:00
356f47752d editeng: harmonized types related to Tell()/Seek()
Change-Id: If0484da58011abae23ad19cbc3b9cf7e2e654b4c
Reviewed-on: https://gerrit.libreoffice.org/8216
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-25 04:41:07 +00:00
83aa6d8180 Remove some temporaries around calls to SvNumberFormatter methods
Change-Id: Ib03c97a52df120bac1ac9b2b9d2e52431ead1027
2014-02-24 09:08:35 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
63a4219e69 editeng: sal_Bool->bool
Change-Id: I1a4b8ff5ccecc2776d1f145f8763f3dab6afb38b
2014-02-21 12:19:25 +02:00
a32ed92c95 editeng: sal_Bool->bool
Change-Id: I64cde75157fbdcda6ac92ca4064e6ab8197114c1
2014-02-21 12:19:24 +02:00
72c64c7691 editeng: sal_Bool->bool
Change-Id: I18717328ccd37649683b0d8cb57c85629cdcb4d9
2014-02-21 12:19:23 +02:00
5a5a80dd5c editeng: sal_Bool->bool
Change-Id: I92935238ff016dc441db72e3aadc28466fe84e68
2014-02-21 12:19:23 +02:00
32ef676504 editeng: sal_Bool->bool
Change-Id: I1b215ef78bcade675a2f80def0d6d5afe0ff3d2c
2014-02-21 12:19:23 +02:00
16c8fbfa07 editeng: sal_Bool->bool
Change-Id: I5f0b49b7a51f32fe4974739d2610204adefc4faa
2014-02-21 12:19:22 +02:00
e41ed900a4 sal_Bool->bool
Change-Id: I2849ab93619a0a8c9d28b3c43d370ee483820678
2014-02-21 12:19:22 +02:00
327dde336e editeng: sal_Bool->bool
Change-Id: Ib1113ebcfc523c8c97731debb2bf456a8c99d802
2014-02-21 12:19:21 +02:00
a1d5ff63db sal_Bool->bool
Change-Id: I0c2297ffa00ee23160f65b2859043fcd4842098c
2014-02-21 12:19:21 +02:00
8be2cbc856 sal_Bool->bool
Change-Id: I8623ebe2d46cb897d4dd0c0ec9c136d96af0186c
2014-02-21 12:19:19 +02:00