Commit Graph

352600 Commits

Author SHA1 Message Date
Noel Grandin
2d54aa1d22 reportdesign: sal_Bool->bool
Change-Id: Ib3e7a51a8b01165d4706857f7b347d622c2e624a
2014-05-08 11:48:12 +02:00
Noel Grandin
f0268c9c1b idl: sal_Bool->bool
Change-Id: I8b15c97b1fcc6acaf567e8b1d2d37cbc99687a9d
2014-05-08 11:44:54 +02:00
Noel Grandin
9c117de4c1 extensions: sal_Bool->bool
Change-Id: Ia22387bf25891fb83982c03af3fa4fffdb0c3cab
2014-05-08 11:44:53 +02:00
Noel Grandin
81bd29a61e canvas: sal_Bool->bool
Change-Id: I0f0fe3bb937299b4f00a46d7dda6764c9d21a18f
2014-05-08 11:44:53 +02:00
Noel Grandin
ff1a7a5943 RFC: add IsValueChangedFromSaved to VCL button and listbox
Add a method
   bool IsValueChangedFromSaved()
to the various Button and Listbox classes.
Use it to simplify code like
   if ( maBoldAppFont.GetSavedValue() !=
        TriState(maBoldAppFont.IsChecked()) )
to
   if ( maBoldAppFont.IsValueChangedFromSaved() )

Change-Id: I26b291d0980237497063ee301d63a49c7d2bc227
Reviewed-on: https://gerrit.libreoffice.org/9250
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-08 09:19:25 +00:00
Stephan Bergmann
10314b5d8b CLucene: Helgrind reported "pthread_mutex_destroy of a locked mutex"
> pthread_mutex_destroy (/usr/src/debug/valgrind-3.9.0/helgrind/hg_intercepts.c:478)
> lucene::util::mutex_thread::~mutex_thread() (workdir/UnpackedTarball/clucene/src/shared/CLucene/config/threads.cpp:179)
> lucene::store::FSDirectory::FSIndexInput::close() (workdir/UnpackedTarball/clucene/src/core/CLucene/store/FSDirectory.cpp:225)
> lucene::index::SegmentInfos::read(lucene::store::Directory*, char const*) (workdir/UnpackedTarball/clucene/src/core/CLucene/index/SegmentInfos.cpp:770)
> lucene::index::IndexFileDeleter::IndexFileDeleter(lucene::store::Directory*, lucene::index::IndexDeletionPolicy*, lucene::index::SegmentInfos*, std::ostream*, lucene::index::DocumentsWriter*) (workdir/UnpackedTarball/clucene/src/core/CLucene/index/IndexFileDeleter.cpp:149)
> lucene::index::IndexWriter::init(lucene::store::Directory*, lucene::analysis::Analyzer*, bool, bool, lucene::index::IndexDeletionPolicy*, bool) (workdir/UnpackedTarball/clucene/src/core/CLucene/index/IndexWriter.cpp:262)
> lucene::index::IndexWriter::IndexWriter(char const*, lucene::analysis::Analyzer*, bool) (workdir/UnpackedTarball/clucene/src/core/CLucene/index/IndexWriter.cpp:158)
> HelpIndexer::indexDocuments() (helpcompiler/source/HelpIndexer.cxx:55)

Change-Id: I19cb9bd49b339d206a624c1f1d3dacdd909f4e25
2014-05-08 11:08:51 +02:00
Vort
e0bde4c53b fdo#78427 PDF Import: Improve detection of bold italic font
(Bug #78427 is fixed only partially by this commit)

Change-Id: I080dca98a77a645c4c5ae19a9bbcae7d54179d3c
Reviewed-on: https://gerrit.libreoffice.org/9276
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-08 09:04:12 +00:00
Caolán McNamara
8ef22b9505 coverity#1209298 Logically dead code
Change-Id: I370f1ff7df1c19e23560599b86b2274649bd5f73
2014-05-08 09:56:23 +01:00
Caolán McNamara
791f3f9db9 coverity#1209146 Logically dead code
Change-Id: I6777dffb436471b5df69d40a15bd32b473dcfc40
2014-05-08 09:56:22 +01:00
Caolán McNamara
f6012f6c5d coverity#736452 Resource leak
Change-Id: I7880007562e6706c2a4439fbda3063dc70fe13a3
2014-05-08 09:56:22 +01:00
Caolán McNamara
e3193eb37a coverity#736451 Resource leak
Change-Id: Ifd806074e31a4d7f91023d5baf22bc465e52019c
2014-05-08 09:56:22 +01:00
Caolán McNamara
50511afead coverity#736155 Dereference null return value
Change-Id: I781a949abb47b6e845a222a4fa8f685e9a620693
2014-05-08 09:56:22 +01:00
Caolán McNamara
7984ab6b2a coverity#736152 Dereference null return value
Change-Id: I5582d0481c0b99f92e7a3a07fbe7a904a1696442
2014-05-08 09:56:22 +01:00
Caolán McNamara
ff97a873c3 coverity#736151 Dereference null return value
Change-Id: If5bc9d3a5c425ed56c27fa6b43aa7049cd5b2a06
2014-05-08 09:56:21 +01:00
Caolán McNamara
43d684af31 coverity#736141 Dereference null return value
Change-Id: I1b4aadd64a8695142685ca49378e3c45ef2db28d
2014-05-08 09:56:21 +01:00
Caolán McNamara
7209f84fd3 coverity#736136 Dereference null return value
Change-Id: I7668c95e2d40bb4e1e8e24627038b92f93b0008f
2014-05-08 09:56:21 +01:00
Caolán McNamara
fdd186c4cd coverity#735960 Explicit null dereferenced
Change-Id: I04ef56efe1e6e164de5ceaa2840a43271102d108
2014-05-08 09:56:21 +01:00
Caolán McNamara
c9445734e5 coverity#735959 Explicit null dereferenced
Change-Id: I9ba5a7ab1938174f083fdc81c046b286fc73a4e9
2014-05-08 09:56:21 +01:00
Caolán McNamara
a0118b2630 coverity#735958 Explicit null dereferenced
Change-Id: I78e3e2cce461b098dd3f56289bf5e30c977fca2f
2014-05-08 09:56:21 +01:00
Caolán McNamara
e3ae233c62 coverity#735957 Explicit null dereferenced
Change-Id: I70a46f251faa6a1d6e52bc816473a29416953ded
2014-05-08 09:56:20 +01:00
Caolán McNamara
ef4f94028d coverity#735956 Explicit null dereferenced
Change-Id: Ic55ef095bb4867c9e5e98bc4c2ded3e9b0c95253
2014-05-08 09:56:20 +01:00
Caolán McNamara
af598ec1d3 coverity#735955 Explicit null dereferenced
Change-Id: Ice64f610901ae9a5ee103fa1e4fec46a1142158d
2014-05-08 09:56:20 +01:00
Caolán McNamara
4041263bde coverity#735943 Explicit null dereferenced
Change-Id: I268ec2db2e8ec4a40dd8537989d2afe767207d40
2014-05-08 09:56:20 +01:00
Caolán McNamara
6fd5a490ff coverity#735938 Explicit null dereferenced
Change-Id: Ia95f3ec5817035a596a8d64b0a7e9dc4445ec648
2014-05-08 09:56:20 +01:00
Caolán McNamara
d9bf010727 coverity#735937 Explicit null dereferenced
Change-Id: Ic8d177dcf565fca8cf1f238c12b16c5cea2066a6
2014-05-08 09:56:19 +01:00
Caolán McNamara
7afdd1baed coverity#735936 Explicit null dereferenced
Change-Id: If85ed1e4c9aa4e1d816515264f21154d5661051c
2014-05-08 09:56:19 +01:00
Caolán McNamara
20d078326d coverity#735935 Explicit null dereferenced
Change-Id: Ic67e0d06402ae28d4cffb817262a5adb23afc3ee
2014-05-08 09:56:19 +01:00
Philipp Weissenbacher
bc834d9780 Translate German comments, fix some ws
Change-Id: I73867affd44a9c252f6892fb36ae5a25289d4d10
Reviewed-on: https://gerrit.libreoffice.org/9263
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-08 07:55:22 +00:00
Vinaya Mandke
d8b5bd541b fdo#78284 Content-type of ".png" images in Smart Art
Content-type for 'png' images was not getting added in
[Content_Types].xml. This was as  only 'jpeg' and 'wmf'
extensions were handled. Modified DocxSdrExport::writeDiagramRels
to handle all types of extensions.
Added UT for the same.

Reviewed on:
	https://gerrit.libreoffice.org/9252

Change-Id: I5e068d4db14f3a43be08a4b7c9bf265f388bf356
2014-05-08 09:26:58 +02:00
Stephan Bergmann
9beda5ab8f Handle bad SwWW8ImplReader::GetCol input
With previously found offenders out of the way, looks like
sw/qa/core/data/ww8/pass/CVE-2009-3302-2.doc is the only case that triggers
this, and that is likely deliberately malformed input.

As the whole ww8 parser appears not to be build around robust eager input
validation and error signalling, there is little more we can do here than throw
up our hands in despair.

Change-Id: Idf61fcf14a784cef1539654f2825c013c218987f
2014-05-08 08:32:09 +02:00
Markus Mohrhard
cabd5e4b2a correct casts
Change-Id: Ib74e924663c91be09d96e9e25e011e578656a6a0
2014-05-08 06:01:14 +02:00
Markus Mohrhard
2ca8dbba58 add include guards
Change-Id: I42ba4a97de241637b36704958fcf7b32d308a8a1
2014-05-08 05:22:45 +02:00
weigao
a63ad6f274 add reverse image shader
Change-Id: Ibd3aff8aeb71626dada762b53cde8f50f7fbf812
2014-05-08 05:20:57 +02:00
Markus Mohrhard
8018772ac7 fix wrong access to array
Change-Id: I3298bd15260b2cbfd9a74024504d982dc00f4137
2014-05-08 05:20:57 +02:00
weigao
38519bad1f fix the render part
Change-Id: I92f60d706408acefd763f0f80af5fa3398e667d4
2014-05-08 05:20:56 +02:00
Markus Mohrhard
7ee5bd5b98 we only want a fb that allows window rendering
Change-Id: I13d58c941e6a2411c3840b9efd341a4b827afc93
2014-05-08 03:06:29 +02:00
Markus Mohrhard
cdcdeb9334 fix another crash on exit
Change-Id: I580d17b16760516b73ac9f882fd8f9707ce6337b
2014-05-08 03:06:29 +02:00
Markus Mohrhard
702953442a don't put the parent window as child into itself
Change-Id: I961b92d47c35d63fa852bab2b478b93314e9add7
2014-05-08 03:06:29 +02:00
Markus Mohrhard
720515987c correct check for double buffered rendering
Change-Id: I52972cb477c77a86fa04aa876717db9740cc0113
2014-05-08 03:06:29 +02:00
Markus Mohrhard
657004ae5c we only want fb configs that support double buffered rendering
Change-Id: I808e36ccd2a0d1ad89af2449d709d24a92ecff4f
2014-05-08 02:30:56 +02:00
Markus Mohrhard
cfcb4a7cef this inheritance is no longer needed
Change-Id: I039dd767bcfd0c1343f4230d3fe8e52ab5a6e4fd
2014-05-08 02:30:56 +02:00
Julien Nabet
07f14bac2d Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part5
Change-Id: Iea68803e0889288d6d7f21e61e731284f0ad1011
2014-05-08 00:22:38 +02:00
Julien Nabet
2d5581b49a Reference can be removed
See http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107883.html

Change-Id: I4d29b9d80f8142792f948c6797006fe7e698a2a4
2014-05-07 23:33:23 +02:00
Michael Stahl
3b566ca82e fdo#62176: Revert "n757419: Hidden/Non-wrapping text."
This reverts commit 0f8f92a5b6.

Negative fo:text-indent values are explicitly allowed by ODF, so
whatever problem was worked around here needs to be fixed differently.

Conflicts:
	svx/source/unodraw/unoshape.cxx

Change-Id: I7e2ae38c4c950e37f0c96a32164a5b6ec10fd47d
2014-05-07 22:25:54 +02:00
Tor Lillqvist
c63e2919ea Need vclopengl now
Change-Id: I6f0aca371212fc51eefa29e526ccb646bdac70c3
2014-05-07 23:06:11 +03:00
Stephan Bergmann
cc66dec89e loplugin:saloverride
Change-Id: Ib9ab6ec00c907c2f552d116d261d9bf60d89e397
2014-05-07 21:55:39 +02:00
Miklos Vajna
ea1a038fe3 sw: fix indentation in rtfstringbuffer
Change-Id: Ie1029a03e614aceaeda10a762183cb06e93c1639
2014-05-07 21:47:14 +02:00
Miklos Vajna
c3239f45dd coverity#735892 Unchecked dynamic_cast
Change-Id: I0624dd7d50cc82ddfe76ce5d8219b2fa1c10f002
2014-05-07 21:47:13 +02:00
Miklos Vajna
6e2103585e unused SwAccessibleMap::FireSectionChangeEvent
Change-Id: Iabf50f68d06684d36eaf5793251361ccd771ae8d
2014-05-07 21:47:13 +02:00
Markus Mohrhard
b2dffb1add fix crash on exit
Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61
2014-05-07 21:23:55 +02:00