5970 Commits

Author SHA1 Message Date
Caolán McNamara
3f50dfa1aa coverity#736776 Dereference before null check
Change-Id: Ifd666fe1b71087ab8c5a20f1bd002277fe8f05da
2014-03-22 16:00:46 +00:00
Caolán McNamara
383dbc04ee coverity#705160 Missing break in switch
Change-Id: I7be86ec16743dd8342cd82c9fcd089cb36d668ce
2014-03-21 08:54:44 +00:00
Caolán McNamara
bb7d4a0094 coverity#705159 Missing break in switch
Change-Id: I61975ae42519d2fc9e0074a32ad2a504c6821641
2014-03-21 08:54:44 +00:00
Armin Le Grand
674a8a084b Resolves: #i122984# Avoid too many Print JobSetups...
be more tolerant with last line TIFF imports

(cherry picked from commit 0ab284f5064f66a11741fa4aa2e2774c1d7e5f14)

Change-Id: I75c86422bfbf2f83e1027bbc1bd83260de39b3ca
2014-03-19 20:27:15 +00:00
Noel Grandin
96710f8e46 convert OUString::match to OUString::endsWith
Convert code like:
    rTxt.match( "---", rTxt.getLength()-3 )
to:
   rTxt.endsWith( "---" )

Change-Id: Iada74c5e714f7234f25b326526843a36255d5599
2014-03-19 08:55:21 +02:00
Noel Grandin
d593f45886 filter,formula: prefer passing OUString by reference
Change-Id: I332f1a593853283b72ecf4dfd82b36cc091661b4
2014-03-17 09:00:07 +02:00
Caolán McNamara
f35b1958e3 convert pdf warn dialog to .ui
Change-Id: I379c7f06ae87bee5571c1f2ef5053b3b863d6e61
2014-03-14 11:47:08 +00:00
Noel Grandin
13bc4094da svx: sal_Bool->bool
Change-Id: I673d022c01b7d076120c026b236a37735b5043b0
2014-03-14 07:50:32 +02:00
Noel Grandin
6c97bc4717 svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-11 08:18:24 +02:00
Noel Grandin
d1bffe3596 svx: sal_Bool->bool
Change-Id: I64d9c1bbe6ed85108783bf6a97329fcdc167ca62
2014-03-11 08:18:24 +02:00
Stephan Bergmann
ee2befb862 filter: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I56739de05cacebe93983bd27fcaa1ec7f27b5fa8
2014-03-10 17:39:55 +01:00
Caolán McNamara
fc225f32d9 coverity#707857 Uninitialized scalar field
Change-Id: I5ac6a1807f1c7f9041b768c96e5f2ffdc3a07a86
2014-03-10 16:17:55 +00:00
Caolán McNamara
4b99d7ebe0 coverity#707856 Uninitialized scalar field
Change-Id: Ib57a4703dfb20aab3b5976fab0331b93e4983c05
2014-03-10 16:17:55 +00:00
Caolán McNamara
aace6e19e2 coverity#707818 Uninitialized scalar field
Change-Id: I4c099d0e91cb1b90807a94d4e3ac17747a4b4b92
2014-03-10 16:17:55 +00:00
Caolán McNamara
10041dc7c3 coverity#707815 Uninitialized scalar field
Change-Id: If2f267f0815570c0484a78c2cc58cfba64a32a9b
2014-03-10 16:17:54 +00:00
Caolán McNamara
a65c80aae1 coverity#707814 Uninitialized scalar field
Change-Id: I5d4482eddc51b3c92a5ffb02d6048f3ae528184a
2014-03-10 16:17:54 +00:00
Caolán McNamara
24627a99fb coverity#707813 Uninitialized scalar field
Change-Id: Ia32de1febc5d4c139a7369d6b069a25ceac5e266
2014-03-10 16:17:54 +00:00
Caolán McNamara
bba56d9ec7 coverity#1103652 Unchecked return value
Change-Id: Ia05313ad580d09d1e2832a81829518f4692e18fd
2014-03-10 11:36:26 +00:00
Samuel Mehrbrodt
b6588bd7c8 Reduce image resolution by default in PDF Export
PDF Files can quickly become very big when a user inserts some images. Most users don't know how to reduce the size of their images.
This patch enables the resolution reduction for PDF Export to 300DPI by default.

Change-Id: I3ce5191de35561b59169e52e2e2efbc4a343f025
Reviewed-on: https://gerrit.libreoffice.org/8422
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-03-10 05:58:12 -05:00
Caolán McNamara
f1529383d4 coverity#705649 Resource leak
Change-Id: I4899851af28b20a20c7b07301c22ddacdbb89b27
2014-03-09 21:20:12 +00:00
Alexandre Vicenzi
17c8678595 fdo#63154 Remove old solar.h references
Remove some unused references in tools.
Change sal_uLong to sal_uInt32 in filter and vcl.

Change-Id: I92b928b980b2e7371edddfd74face10d5bec07df
Reviewed-on: https://gerrit.libreoffice.org/8480
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-03-09 11:50:58 -05:00
Caolán McNamara
a1b78271c9 coverity#1190346 silence Unchecked return value
Change-Id: If6223276d2d45431a674047b9540d4ac3eb71395
2014-03-08 14:25:03 +00:00
Caolán McNamara
b2c18b7eb7 coverity#735434 Logically dead code
Change-Id: Ie81022b493accdfa300c6b962fcd438adb9ecfd7
2014-03-07 12:19:27 +00:00
Caolán McNamara
cd5acc5fc2 coverity#735429 Dead default in switch
Change-Id: I18d497f1e8dc339bd1ac7154a5ca9bb59895c52e
2014-03-06 16:35:50 +00:00
Caolán McNamara
7d7f91aead coverity#1190366 Uncaught exception
Change-Id: I18e732d8818ea9b6c0837b0df2bd58cb13066ec6
2014-03-06 16:35:43 +00:00
Eike Rathke
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
Andre Fischer
1cbec9cd98 Resolves: #i119480# Fixed import of curves from PPT
Reported by: Du Jing
Patch by: SunYing
Review by: Andre Fischer

(cherry picked from commit 7d4fbffcf83ae6cbd01485320c2f21155c3dd4de)

Change-Id: I1ca3caf3aaec255ab204a4a687ed8434fbdb234a
2014-03-05 09:23:40 +00:00
Michael Stahl
4fcd553434 filter: sigh... fix the xslt test to run on WNT too
Change-Id: Iadd5034418e077bf051b23cda70f070c52840645
2014-03-04 23:41:04 +01:00
Caolán McNamara
62d6252d2c I imagine this should have a SAL_CALL decoration
Change-Id: I04d50eb44156e4b2476c237848491cda73b9ef0a
2014-03-04 20:35:10 +00:00
Michael Stahl
8af7a89532 filter: don't wait forever if the xslt test fails
Change-Id: I38b5372b141629341d4b4285ff634679d657fbd2
2014-03-04 21:17:19 +01:00
Michael Stahl
bfdd18eb35 filter: and we learn that BootstrapFixture requires boost headers
Change-Id: I58d592a863ed96fee85e4c8838663791c76854da
2014-03-04 19:16:23 +01:00
Michael Stahl
6967da019b filter: make LibXSLTTransformer init backward compatible
As reported by Fernand Vanrie, initializing the XSLT service can fail
because the LibXSLTTransformer::initialize was changed to require
the parameters as a nested Sequence; accept previous parameter
convention as a fall-back.

(regression from ca0ea73a4ab104031a16b5bac7a9bb6e57c77ba0)

Change-Id: I136e6e6338f11ffecf9f856f0736d1d0e6b17c3f
2014-03-04 18:05:17 +01:00
Stephan Bergmann
5cab4411c9 warning C4310: cast truncates constant value
Change-Id: Id5535ec71c47ad29283607d1d1b9f3a502e34fe1
2014-03-04 16:03:47 +01:00
Tomaž Vajngerl
20b8944cd4 Remove SAL_CALL from isStreamSvg & isStreamGZip
Change-Id: Iec2954634cba674715029484917487ab1dac6439
2014-03-03 01:02:57 +01:00
Tomaž Vajngerl
4f7aa27c62 fdo#75487 Add support for svgz to SvgFilter and co.
Draw can open a svg file directly as a "document" not only as a
picture (which is handled by "graphicfilter" in vcl). This commit
adds support to also open svgz files by decompressing the stream
first.

Change-Id: I241e695076b380735dc9b9fc27f5416fff68f6ab
2014-03-02 22:12:07 +01:00
Tomaž Vajngerl
51e7a789a1 fdo#75487 Register svgz as a recognisable extension.
Change-Id: If4b5d6a38b468e5412dd973547cbcd580a83e239
2014-03-02 22:12:06 +01:00
Caolán McNamara
7edf847bf7 coverity#704638 Dereference after null check
Change-Id: Ib5e8996d8eb9e487b1c961aa2137b859c887eb6a
2014-03-02 20:08:16 +00:00
László Németh
37021dfb3f fdo#72448 fix gradient color/transparency pos. in SVG export
Change-Id: If65ffb9ac71eda95d8b5c4b35fd5828795b0469a
2014-03-02 12:25:37 +01:00
Maxim Monastirsky
d5890e87ab Merge HTML detection to text detection service
Setting the filter name explicitly is not really required,
because TypeDetection::impl_checkResultsAndAddBestFilter
is able to select the correct filter anyway. But it seems that
other detection services also do it, so I followed that way.

Change-Id: I6e73fa79c6867d82f98d63e8d2b7865446f088ef
Reviewed-on: https://gerrit.libreoffice.org/8213
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-03-01 14:45:45 -06:00
Alexandre Vicenzi
e218663251 fdo#63154 Remove unused solar.h
Removed from dbaccess. editeng, filter,
framwork, formula, lotuswordpro, reportdesing, rsc,
uui

Conflicts:
	framework/source/uielement/menubarwrapper.cxx
	reportdesign/inc/RptDef.hxx
	uui/source/iahndl.hxx

Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273
Reviewed-on: https://gerrit.libreoffice.org/8118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-28 15:01:05 -06:00
Armin Le Grand
af63727b9f Resolves: #i15508# Added support for BMP file type
(cherry picked from commit 9956ed1303545cd61901e33b110698c4e5e224c4)

Conflicts:
	filter/source/msfilter/escherex.cxx
	include/vcl/gfxlink.hxx
	svx/source/xml/xmlgrhlp.cxx
	sw/source/ui/docvw/romenu.cxx
	vcl/source/filter/graphicfilter.cxx

Change-Id: Ibcbb69b9c57cd8a438788e9a9c95744e99b6fcdd
2014-02-27 19:30:40 +00:00
Alexander Wilms
aeaded675c Remove visual noise from filter
Change-Id: Ieab1d12204bcf917b2e1bf74f3145fc96d7b207c
Reviewed-on: https://gerrit.libreoffice.org/8261
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-27 06:10:36 -06:00
Noel Grandin
57779aa019 editeng: sal_Bool->bool
Change-Id: Id4174904487fc153d8e80471da7c829c52092f78
2014-02-27 12:30:26 +02:00
Noel Grandin
ef16d954c2 editeng: sal_Bool->bool
Change-Id: Ic3d9fe45d3242d3da147067d3c388e9d7305ee61
2014-02-27 12:30:25 +02:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Michael Meeks
2d3ed7ebb5 cid#736173 - increase default fill chars buffer size.
Change-Id: Ib7ae9b0a0cddd070372a244cf705f71b6e793473
2014-02-25 22:56:35 +00:00
Caolán McNamara
b854cb787e coverity#735747 Dereference after null check
also

coverity#736774 Dereference before null check

Change-Id: Ic2e2a341565af0609ec748b40ac7848a46c9e3af
2014-02-24 12:53:09 +00:00
Jacobo Aragunde Pérez
ad7fdc4e0f filter: Code reduction, prevents crash.
Not all shape types have the full com.sun.star. prefix, for example
FrameShape. The existing code would crash in that case, but the new
code doesn't.

Change-Id: I9aa3d0f20f48ab91a6770e8409a8da2028816504
2014-02-24 13:24:53 +01:00
Stephan Bergmann
ad73967e99 Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
2014-02-24 08:08:00 +01:00
Takeshi Abe
a53577e6ff Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
2014-02-24 10:20:51 +09:00