Stephan Bergmann
9263b101c3
Activate the "suspicious cast to sal_Bool" parts of loplugin:salbool
...
Change-Id: I78a368ef2899b2462251b45a327fc7b1f31fe764
2014-07-01 17:49:10 +02:00
Caolán McNamara
485a7c880f
coverity#735881 Dereference after null check
...
Change-Id: I2fd45dd0ab1e0bedca7e827886949beb3f494cad
2014-07-01 16:43:07 +01:00
Caolán McNamara
0820f53c0d
coverity#735850 Dereference after null check
...
Change-Id: If164a92ed502502ce1b25ecddaa8852e83eb4f3c
2014-07-01 16:43:07 +01:00
Caolán McNamara
4d22b8f7b4
coverity#1038321 Unintended sign extension
...
and
coverity#1038320 Unintended sign extension
coverity#1038319 Unintended sign extension
coverity#1038318 Unintended sign extension
coverity#1038317 Unintended sign extension
coverity#1038316 Unintended sign extension
coverity#1038315 Unintended sign extension
coverity#1038314 Unintended sign extension
Change-Id: Ib8015baf8ffec48e1b2d6ce1e7ce284fb36303b0
2014-07-01 16:43:07 +01:00
Caolán McNamara
8a9bc476df
coverity#735883 Unchecked dynamic_cast
...
Change-Id: I4dec526d78dfaa1d894ab1be205e58e1224fbf72
2014-07-01 16:43:06 +01:00
Caolán McNamara
a7e1ffc248
coverity#706988 Uncaught exception
...
and
coverity#706989 Uncaught exception
Change-Id: I426ae26f69311effd60c0b60b7f4d677a2e35c80
2014-07-01 16:43:06 +01:00
Caolán McNamara
7950797f27
coverity#706468 Uncaught exception
...
and
coverity#706469 Uncaught exception
Change-Id: Ia67d777b09ac7f72a94a9019765266854775c53f
2014-07-01 16:43:06 +01:00
Caolán McNamara
968f633b24
coverity#706382 Uncaught exception
...
and
coverity#706377
coverity#706378
coverity#706382
Change-Id: I17f672e31867b1be77c16a8a6e121a8f67df7c90
2014-07-01 16:43:05 +01:00
Caolán McNamara
b35f3dfb1a
coverity#706240 Uncaught exception
...
Change-Id: Ie31f5e1ff74ff8b9f35d7ce08e1f02a780375890
2014-07-01 16:43:05 +01:00
Caolán McNamara
7dda48d56f
Related: fdo#80633 cache optimal size
...
Change-Id: Ic2c3aefebd3061d294f339c6d262a3c3e381fbe4
2014-07-01 16:43:05 +01:00
Niklas Johansson
8f7f2dc7a8
Updated core
...
Project: dictionaries 49086ee94c0cdef8a83f288919c3b6ae2d41f28d
Update the Swedish spelling dictionary
This update mainly consists of improvments to the handling of
compound words, as well as addition of proper nouns.
Change-Id: I8650b328e98b0b2164203b721a2aebe48fd25262
Reviewed-on: https://gerrit.libreoffice.org/10019
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-01 15:34:56 +00:00
Norbert Thiebaud
b382f5df84
coverity#705845 Dereference before null
...
Change-Id: I4aecc132ca45abd45183455c87be4c4a3749d983
2014-07-01 16:20:01 +02:00
Norbert Thiebaud
31050012a4
coverity#1202814 Overflowed return value
...
Change-Id: Ifc07a0b3f09dc1209e434056eb007a4401a09d3e
2014-07-01 16:20:00 +02:00
Stephan Bergmann
e50ef195bc
New loplugin:stringconcat
...
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-07-01 15:45:52 +02:00
Stephan Bergmann
363e39d636
loplugin:literaltoboolconversion
...
Change-Id: Ic598101a768874d8f72c7fedaf26adb955d99669
2014-07-01 15:28:31 +02:00
Jan Holesovsky
f38ab34213
android: We need com.sun.star.comp.filters.StorageFilterDetect to detect ODT.
...
Change-Id: Ia57e2cb4c5e1f65a78e0f3bddd3910c67971306d
2014-07-01 15:24:02 +02:00
Caolán McNamara
33e9d408aa
Related: fdo#80713 make 'Gif image', etc. translatable
...
Change-Id: I47d15623bd12b4b63a8d3701aaf1bebbba5ca7c5
2014-07-01 13:50:09 +01:00
Armin Le Grand
3ea1707311
Resolves: #i125187# more precision where the BLIP graphic is located
...
(cherry picked from commit 2be700effa5568859a0c6ba5f596e35ffc600320)
Conflicts:
filter/source/msfilter/msdffimp.cxx
Change-Id: I3926d5f47469049662a292063f9810826c575154
2014-07-01 13:50:09 +01:00
Stephan Bergmann
38baed1ece
loplugin:literaltoboolconversion
...
Change-Id: I5f591b3e57d9f5bb5395a7378af493a3d551a3ad
2014-07-01 14:35:42 +02:00
Caolán McNamara
63885c86f8
Resolves: fdo#42747 limits need to multiplied by num of decimal places
...
NumericFormatter limits need to multiplied by num of decimal places because
the arg is a long so to retain decimal places its got to be raised up by
the num of places
Change-Id: Idbc49a9b1dde5fe176e5170d3be605a998050da5
2014-07-01 13:30:42 +01:00
David Tardon
e6486afa85
upload libmspub-0.1.1
...
Change-Id: I57522b3fe0bff145a66a50bc944717aeaba9025b
2014-07-01 14:28:09 +02:00
Stephan Bergmann
e405fb8d2e
loplugin:saloverride
...
Change-Id: I6679d397754f1777441b35910059bda9a917ae2d
2014-07-01 14:26:55 +02:00
Stephan Bergmann
545adb6bdb
loplugin:literaltoboolconversion
...
Change-Id: I05c4c964e88f9123d75751c1eb7c8aae4d41f524
2014-07-01 14:21:12 +02:00
Stephan Bergmann
ff2fd4d131
loplugin:literaltoboolconversion
...
Change-Id: I864d5e3fbb7f8f8278c45b721be70f805c6a6713
2014-07-01 14:12:50 +02:00
Stephan Bergmann
b398f81576
-Werror,-Wtautological-constant-out-of-range-compare
...
Looks like 7d9bb549d498d6beed2c4050c402d09643febdfa "Related: #i124638# Second
step of DrawingLayer FillAttributes..." accidentally garbled this.
Change-Id: I4cdaad4fdebb8b9947e79afbec4a6e0973c55cac
2014-07-01 13:58:25 +02:00
Jan Holesovsky
ed52e65bcb
android: LibreOfficeKit needs the path to program/ as the starting point.
...
Change-Id: I7d4534649361e1bfa2c285e67e6765a4be55ec69
2014-07-01 13:48:28 +02:00
Miklos Vajna
7b66810f17
getSvxBrushItemFromSourceSet: add fix for JunitTest_sw_complex
...
Change-Id: I826cd15923ecb2088161e4cf9650b2f388fd84b5
2014-07-01 13:30:13 +02:00
Miklos Vajna
0df2e8d682
SwXPageStyle::GetPropertyValues_Impl: lost FN_UNO_HEADER/FOOTER_FIRST
...
Change-Id: I38d7372f713c115b7c975e2aad84ae14e3cf8e1f
2014-07-01 13:30:12 +02:00
Miklos Vajna
3350fabd23
SwXAutoStyle::GetPropertyValues_Impl: fix handling of CharAutoStyleName
...
Without this, all character properties defined inside automatic styles
are ignored.
Change-Id: I3c25f5d36503a9f40834dd88573a40c34380b967
2014-07-01 13:30:12 +02:00
Miklos Vajna
3d399b0e45
getSvxBrushItemFromSourceSet: let XFILL_NONE result in COL_AUTO
...
I'm not completely sure about this, but without this, automatic color is
translated back as rgba(114, 159, 207, 255), which sounds even worse.
Change-Id: I9f96f26b3797d9e289119a4795d2535b6d72262e
2014-07-01 13:30:12 +02:00
Miklos Vajna
9e9e9e4748
SwXPageStyle: fix FirstIsShared handling
...
At least now beans::UnknownPropertyException is not thrown when it is
written.
Change-Id: I6d4f8dbb1ac7caffc4bfdfb9c4c1c84eb9179883
2014-07-01 13:30:11 +02:00
Miklos Vajna
8624eafde1
Remove stray fprintf
...
Change-Id: I3cfe170091f11a3039ff6443b283fb45773a4e70
2014-07-01 13:30:11 +02:00
Caolán McNamara
d1465c64c6
fix tests
...
Change-Id: Ia7099e87baa553ce6f5537908e1fb65c268d3940
2014-07-01 13:30:11 +02:00
Armin Le Grand
5f0d957ac6
Resolves: #i125045# For XMLPropertyMapper using TEXT_PROP_MAP_SHAPE_PARA...
...
hide the DrawingLayer FillStyle entries by moving them to the front of
aXMLParaPropMap and using a higher index for construction
(cherry picked from commit 35f3ceaf60f109f45aa7fef7077aead398bed53f)
Change-Id: I8244e4dc685a2aa35e4154a43455ff62c8ee58fe
2014-07-01 13:30:10 +02:00
Armin Le Grand
378dc6ef20
Related: #i124638# Corrected relationship between DrawModel and...
...
DocShell in Writer, made SwDrawModel and handling more known
(includes suspicious removal of setting SID_ATTR_LINEEND_WIDTH_DEFAULT)
(cherry picked from commit a7ccadbf3b1ac378ca15d3630d48f48734700e5c)
Conflicts:
sw/inc/IDocumentDrawModelAccess.hxx
sw/inc/doc.hxx
sw/inc/docsh.hxx
sw/inc/dpage.hxx
sw/inc/drawdoc.hxx
sw/source/core/access/accmap.cxx
sw/source/core/doc/doc.cxx
sw/source/core/doc/docdesc.cxx
sw/source/core/doc/docdraw.cxx
sw/source/core/doc/docfly.cxx
sw/source/core/doc/doclay.cxx
sw/source/core/doc/docnew.cxx
sw/source/core/draw/dcontact.cxx
sw/source/core/draw/dpage.cxx
sw/source/core/draw/drawdoc.cxx
sw/source/core/frmedt/feshview.cxx
sw/source/core/layout/fly.cxx
sw/source/core/layout/frmtool.cxx
sw/source/core/layout/newfrm.cxx
sw/source/core/layout/paintfrm.cxx
sw/source/core/undo/docundo.cxx
sw/source/core/undo/unattr.cxx
sw/source/core/unocore/unodraw.cxx
sw/source/core/unocore/unoframe.cxx
sw/source/core/view/vdraw.cxx
sw/source/core/view/viewimp.cxx
sw/source/core/view/viewsh.cxx
sw/source/filter/html/htmldrawreader.cxx
sw/source/filter/rtf/rtffly.cxx
sw/source/filter/rtf/swparrtf.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
sw/source/filter/ww8/rtfattributeoutput.cxx
sw/source/filter/ww8/wrtw8esh.cxx
sw/source/filter/ww8/wrtww8.cxx
sw/source/filter/ww8/ww8graf.cxx
sw/source/filter/xml/swxml.cxx
sw/source/filter/xml/xmlexp.cxx
sw/source/filter/xml/xmlimp.cxx
sw/source/ui/app/docshdrw.cxx
sw/source/ui/uiview/view.cxx
sw/source/ui/uno/unodefaults.cxx
sw/source/uibase/app/docst.cxx
sw/source/uibase/app/docstyle.cxx
sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
sw/source/uibase/lingu/sdrhhcwrap.cxx
sw/source/uibase/shells/drwbassh.cxx
sw/source/uibase/shells/frmsh.cxx
sw/source/uibase/shells/grfsh.cxx
sw/source/uibase/shells/textsh1.cxx
sw/source/uibase/uno/unotxdoc.cxx
sw/source/uibase/utlui/content.cxx
Conflicts:
sw/source/uibase/app/docshdrw.cxx
Change-Id: Icb99eaa7bfb1eb8922a9fd928b5e4149821130dd
2014-07-01 13:30:10 +02:00
Armin Le Grand
c3f70303cf
Related: #i124638# Corrected paints of Writer Frames...
...
with DrawingLayer FillAttributes for all systems and AA/nonAA
(cherry picked from commit fcc24448899577e220db70f265bad59f0ffa8428)
Change-Id: I1b3d66061132d1d276080f99e94c421b429de936
2014-07-01 13:30:10 +02:00
Caolán McNamara
c7853b5b5c
hook up new drawing support to .uis
...
Change-Id: Id441a91e86b89bf8fe6bfd778ca09e732e054103
2014-07-01 13:30:09 +02:00
Armin Le Grand
7d9bb549d4
Related: #i124638# Second step of DrawingLayer FillAttributes...
...
for Writer objects, now added support for Paragraph and PageStyle (including
Header and Footer) for direct attributes and style attributes
(cherry picked from commit cc25c58f7052827bfebdc9fbeec668c8fa29ed1b)
Conflicts:
cui/source/factory/dlgfact.cxx
cui/source/factory/dlgfact.hxx
cui/source/inc/bbdlg.hxx
cui/source/inc/cuires.hrc
cui/source/tabpages/bbdlg.cxx
cui/source/tabpages/bbdlg.src
cui/source/tabpages/page.cxx
cui/source/tabpages/tparea.cxx
include/svx/pagectrl.hxx
include/svx/svxdlg.hxx
include/svx/svxids.hrc
include/xmloff/PageMasterStyleMap.hxx
include/xmloff/prstylei.hxx
include/xmloff/txtprmap.hxx
svx/Package_inc.mk
svx/inc/svx/hdft.hxx
svx/source/dialog/hdft.cxx
svx/source/dialog/pagectrl.cxx
svx/source/tbxctrls/tbxcolorupdate.cxx
svx/source/unodraw/unobrushitemhelper.cxx
sw/Library_sw.mk
sw/inc/fillattributes.hxx
sw/inc/format.hxx
sw/inc/frmatr.hxx
sw/inc/frmfmt.hxx
sw/inc/hintids.hxx
sw/inc/hints.hxx
sw/inc/ndtxt.hxx
sw/inc/node.hxx
sw/inc/swunohelper.hxx
sw/inc/unobrushitemhelper.hxx
sw/inc/unoprnms.hxx
sw/source/core/attr/format.cxx
sw/source/core/attr/hints.cxx
sw/source/core/doc/docdesc.cxx
sw/source/core/doc/docdraw.cxx
sw/source/core/doc/docfmt.cxx
sw/source/core/doc/docnew.cxx
sw/source/core/doc/docredln.cxx
sw/source/core/doc/poolfmt.cxx
sw/source/core/doc/visiturl.cxx
sw/source/core/docnode/node.cxx
sw/source/core/inc/frame.hxx
sw/source/core/inc/frmtool.hxx
sw/source/core/inc/rolbck.hxx
sw/source/core/layout/atrfrm.cxx
sw/source/core/layout/fillattributes.cxx
sw/source/core/layout/findfrm.cxx
sw/source/core/layout/paintfrm.cxx
sw/source/core/txtnode/ndtxt.cxx
sw/source/core/txtnode/thints.cxx
sw/source/core/txtnode/txtedt.cxx
sw/source/core/undo/rolbck.cxx
sw/source/core/unocore/swunohelper.cxx
sw/source/core/unocore/unoframe.cxx
sw/source/core/unocore/unomap.cxx
sw/source/core/unocore/unoparagraph.cxx
sw/source/core/unocore/unoprnms.cxx
sw/source/core/unocore/unostyle.cxx
sw/source/ui/chrdlg/paradlg.src
sw/source/ui/chrdlg/pardlg.cxx
sw/source/ui/fmtui/tmpdlg.cxx
sw/source/ui/fmtui/tmpdlg.src
sw/source/uibase/app/docst.cxx
sw/source/uibase/app/docstyle.cxx
sw/source/uibase/frmdlg/colex.cxx
sw/source/uibase/shells/basesh.cxx
sw/source/uibase/shells/textsh1.cxx
sw/source/uibase/uiview/viewstat.cxx
sw/source/uibase/utlui/uitool.cxx
xmloff/inc/PageMasterImportContext.hxx
xmloff/inc/xmloff/XMLShapeStyleContext.hxx
xmloff/source/draw/XMLShapeStyleContext.cxx
xmloff/source/draw/sdpropls.hxx
xmloff/source/style/PageMasterExportPropMapper.cxx
xmloff/source/style/PageMasterImportContext.cxx
xmloff/source/style/PageMasterPropHdlFactory.cxx
xmloff/source/style/PageMasterStyleMap.cxx
xmloff/source/style/prstylei.cxx
xmloff/source/text/txtexppr.cxx
xmloff/source/text/txtprhdl.cxx
xmloff/source/text/txtprmap.cxx
xmloff/source/text/txtstyli.cxx
Conflicts:
svx/source/dialog/hdft.cxx
sw/source/core/doc/visiturl.cxx
sw/source/core/txtnode/thints.cxx
sw/source/core/txtnode/txtatr2.cxx
sw/source/core/unocore/unostyle.cxx
Change-Id: I7e8779db6c0cbd1e242b63eab888f468f2de509a
2014-07-01 13:30:09 +02:00
Douglas Mencken
a5e137eb1d
writerfilter/source: change directory dependencies to .../ooxml/.dir
...
fixes build errors like:
./workdir/CustomTarget/writerfilter/source/ooxml/model_preprocessed.xml: No such file or directory
Change-Id: I1ee4e6247e9b87548a0314914fd3fc6499783ea6
Reviewed-on: https://gerrit.libreoffice.org/10008
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-07-01 11:00:06 +00:00
Norbert Thiebaud
42fcd888ae
coverity#735397 dead code
...
Change-Id: If8d82a39af7a506f42b6c13d8408ffc479b564e7
2014-07-01 12:44:06 +02:00
Norbert Thiebaud
611b419562
coverity#704299 Dead code
...
Change-Id: I41d4c99216cc19302f2d65db1471cb49016a784a
2014-07-01 12:44:05 +02:00
Norbert Thiebaud
691f0b3c38
coverity#704262 coverity#704263 Dead code
...
Change-Id: I3f015ea89a9a542226d18d0d203eb493f08b46a0
2014-07-01 12:44:05 +02:00
Norbert Thiebaud
69ea62a069
coverity#703975 Unchecked return value
...
Change-Id: Icef20c193a64b7de410e21124edaa4d0699d8a66
2014-07-01 12:44:05 +02:00
Norbert Thiebaud
5371bc50c0
coverity#703963 Unchecked return value
...
also avoid pointless double Guard
Change-Id: Ie7707fc3baf46f9363fdef6213df098123183ab9
2014-07-01 12:44:04 +02:00
Norbert Thiebaud
1f7a67083d
coverity#703955 Unchecked return value
...
Change-Id: If10c9643474620855e21caaa1fdcbbc4b7fd07ac
2014-07-01 12:44:04 +02:00
Jan Holesovsky
55fb9149d8
lok: It is expected that we point directly to the program/ directory.
...
Change-Id: I54329e8dc914ac2698c441c02dfc9da03b56614f
2014-07-01 12:43:08 +02:00
Stephan Bergmann
3818cc5329
simplify
...
Change-Id: I1f44dd938bd0033ad4a5b6af4d24d1ba3e76d852
2014-07-01 12:26:51 +02:00
Stephan Bergmann
732b8be76f
Fix osl_setEnvironment args
...
Change-Id: I243ecb42d7ba2ce58f4c1a0bf97ad74de947d8bd
2014-07-01 12:25:36 +02:00
Caolán McNamara
335db94e59
coverity#704986 Dereference after null check
...
Change-Id: I27aad830a4e211601a78a15b2eb42d44275f1abe
2014-07-01 10:56:17 +01:00
Caolán McNamara
542c50d684
coverity#704987 Dereference after null check
...
Change-Id: I9c2b946ec3616a59ef06bf958ee4a81e1751e7ea
2014-07-01 10:56:17 +01:00