Commit Graph

1795 Commits

Author SHA1 Message Date
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
728ec86062 Typo: s/cant/can't/
Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
2014-04-18 00:30:35 +03:00
065a1aa0f0 WaE: 'bHidden' may be used uninitialized in this function
Change-Id: I452b42593ad36fa13f18126c49a6f80ce2fa9d43
2014-04-15 10:51:31 +03:00
8a81f542a6 xmloff: sal_Bool->bool
Change-Id: I873c80baec8e70e3e8f642644563b92137571a30
2014-04-15 09:02:31 +02:00
8d202fa72f typo: paramter -> parameter 2014-04-14 12:32:54 +02:00
2a4b6a6e6f typo: currect -> current 2014-04-14 12:32:17 +02:00
2805ac13dc typo: choosen -> chosen 2014-04-14 12:32:02 +02:00
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
9c51f5b806 Clean up function declarations and some unused functions
Change-Id: I2ca50a15209503020047975ac848df98b74089af
2014-04-09 12:04:12 +02:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
0f912872b6 xmloff: sal_Bool->bool
Change-Id: Id3d8f4f4ef32280a131907ffa32eb2ad5d6ea2e1
2014-03-31 12:39:03 +02:00
0e8ab0fa29 xmloff: sal_Bool->bool
Change-Id: Ib4a73215187923dccd72fc7793ffd4bcbef24ab9
2014-03-31 12:39:02 +02:00
6ac6fb820f xmloff: sal_Bool->bool
Change-Id: I64c33ae4c157e270acac9a1f820d3e6272ba0bea
2014-03-31 12:39:02 +02:00
f907d74035 xmloff: sal_Bool->bool
Change-Id: Ib8c99a646923257647487cd7f121023876587cd2
2014-03-31 12:39:01 +02:00
c98a7eec7f xmloff: sal_Bool->bool
Change-Id: I1c97da5b7bbac348150399afbf386613433e5551
2014-03-31 12:37:25 +02:00
ddb07081da xmloff: sal_Bool->bool
Change-Id: I1deb10cb1581137ab92e73367e63339822a9a094
2014-03-31 12:36:54 +02:00
ee1de94276 typo: persistance -> persistence 2014-03-29 19:16:18 +01:00
d757a98001 -Werror,-Wunused-const-variable
Change-Id: I8ae538d9eb23efde04d18c8bcde348e97bc8d0f5
2014-03-28 14:44:34 +01: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
5fb78604c1 Split TYPEINFO into plain and TYPEINFO_OVERRIDE
...where the latter contains SAL_OVERRIDE annotations

Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-03-26 11:54:55 +01:00
a16846dada coverity#705346 Missing break in switch
Change-Id: I80147bd28eedd9d1032cb173a653d4c52a1eb437
2014-03-21 11:13:51 +00:00
83f2bb7ef6 coverity#704115 Unchecked return value
Change-Id: Ic76d930f3f7a76c93c7b034570297b398497e9b4
2014-03-21 11:13:50 +00:00
f5a725abce coverity#705096 Dereference after null check
Change-Id: Ie7eed2a697062f495688dc6325ca52383e049d05
2014-03-21 11:13:49 +00:00
fddde2b74a xmloff,vbahelper: prefer passing OUString and OString by reference
Change-Id: I8b7e4284c122549c03edaa7f3963cbfb2024b3fc
2014-03-13 15:05:31 +02:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
e23ea87cb3 Remove visual noise from xmloff
Change-Id: I205d4e555f5b88654a90007eb7ac05bc7b00a904
Reviewed-on: https://gerrit.libreoffice.org/8346
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 04:32:34 -06:00
f8adeb2900 (T/t)herfor -> (T/t)herefore
Change-Id: I7678dcccc3afa8ecde5160a3f0d731b923f3bfca
2014-02-25 21:55:23 +01:00
d618ea6b86 xmloff: import/export loext:rel-width/height-rel for Writer shapes
Change-Id: Ie6e4367a235038479287530bd08b0a89c6bb498b
2014-02-25 12:43:32 +01:00
a13622923a Here the line made sense, bring it back.
Change-Id: Iba1c798edfe1b0eb5edcba904ceacec9174cacc6
2014-02-24 10:56:56 +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
e28cbd9084 coverity#708711 Uninitialized scalar field
Change-Id: I3f67e5609d0c25837b56d65ade364fc29c87d057
2014-02-21 12:40:34 +00:00
861c92c7c0 coverity#708712 Uninitialized scalar field
Change-Id: I11ac81246cba518763a9af759fa4b08880c90ae8
2014-02-21 12:40:34 +00:00
d44b788e7a coverity#708713 Uninitialized scalar field
Change-Id: Ia7a75985df0ad80e7cf0006b63a3f2a25c93bab1
2014-02-21 12:40:33 +00:00
fec7d941d0 coverity#708715 unused member variable
Change-Id: Idc7c58ec1f2646276e16177dcb748daea8f85849
2014-02-21 12:40:33 +00:00
b3e31cb9a6 coverity#708718 Uninitialized scalar field
Change-Id: I77c96d2b070f5c4735de000d7513d0867626bd5c
2014-02-21 12:40:33 +00:00
79941154fe coverity#708719 Uninitialized scalar field
Change-Id: I8188b0c1ac443938e645c41b9e3cd6eb340732aa
2014-02-21 12:40:32 +00:00
537a6be2a8 coverity#708720 Uninitialized scalar field
Change-Id: I62a103fb6c194f7e5cf88495be39759e349366f7
2014-02-21 12:40:32 +00:00
cf26d76143 fdo#74524: ODF import: fix unhandled exception in annotation import
Crash with unhandled UnknownPropertyException when trying to get "Name"
property from a PageNumber field.

Change-Id: I501cc138caba034c85630519014b94d783ab8f39
2014-02-15 00:25:55 +01:00
8b34d05cb1 sal_Bool->bool
Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
2014-02-14 14:15:15 +02:00
f44024d1a0 sal_Bool->bool
Change-Id: Iadc9f9ef444fe36d58304c2d6219021173385118
2014-02-14 14:15:15 +02:00
fd3c9e16e1 sal_Bool->bool
Change-Id: Ia453c7868e030e3f10a7f69c1e2d28244758fdef
2014-02-14 14:15:14 +02:00
4eee115824 coverity#708722 Uninitialized scalar field
Change-Id: I553f573914a60c77184403cdf0478cb5b442475a
2014-02-11 14:33:35 +00:00
5d2d9092ea coverity#708721 Uninitialized scalar field
Change-Id: Ief6411d08837fc7b50bdca71bd33503f8eed16b9
2014-02-11 14:33:35 +00:00
feae30c4ce ODF export/import: text vertical adjustment attribute of text frames
ODF standard handle 'textarea-vertical-align' as a
'graphic-property' which "specifies formatting
properties for chart, draw, graphic, and frame elements".
So this change fit to the standard.

Change-Id: I956f512953380983c2c882e943178335fd4dbfeb
2014-02-08 02:59:50 +01:00
ac6e8ac7e4 typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01:00
b9fbf2b3a5 Remove needless SAL_DLLPRIVATE annotations
Change-Id: I6a85d226bd9f61eb4e348ed34ec556762de7b023
2014-02-03 16:05:13 +01:00
0b20f01a88 swpagerelsize: implement ODF import/export
Export rel-height-rel / rel-width-rel only in case rel-height /
rel-width is non-zero, though.

Change-Id: I36120cbd8679ac4fc072d1e7cf4dfc024836b5ac
2014-01-30 11:52:11 +01:00
fa189d7447 bool improvements
Change-Id: I238ab0ebe54cc804c85356a3de9fbdcc396057d3
2014-01-28 20:26:18 +01:00
b663316e83 Resolves: fdo#73355 reconcile legacy path bug detection
reconcile
 "223f6b631c1b087754c0f9051fb55f029f2503ce
    Resolves: #i123433# Detect pseudo-vertices at svg import..."
with
 "7a19798c73fd39d8d69ff6364f0696e68cdd1381"
    Compatibility option for incorrect relative moves after closePath (fdo#47406)
and
 "a2ee8055e9c136923f0244fe289cac6377933c31"
    Fix fdo#47406 incorrect relative moves after closePath

Change-Id: I1221099a40500aeb4165a3350d8ae2df1fd3111b
2014-01-24 12:56:09 +00:00