Commit graph

361958 commits

Author SHA1 Message Date
Caolán McNamara
aeac20e7bd coverity#706478 Uncaught exception
Change-Id: Ie37ebac80afb3e52668ae6ebeeb61eaddc892ef6
2014-10-12 16:39:55 +01:00
Caolán McNamara
92a65bd466 coverity#706476 Uncaught exception
Change-Id: I1461c99fccb57ccf5375e372e50948b0b355d4bb
2014-10-12 16:39:55 +01:00
Caolán McNamara
f2747a0354 coverity#706477 Uncaught exception
Change-Id: If44507458f8473d6fede3e430e69620f8fb1d698
2014-10-12 16:39:55 +01:00
Caolán McNamara
b8c9366803 coverity#735337 Unchecked return value
Change-Id: Ib1f27e51934d7deb4f30d74409554dfeb14928ff
2014-10-12 16:39:54 +01:00
Caolán McNamara
1119e4a98c coverity#735334 Unchecked return value
Change-Id: I8023e8c11e76def505568125703f30531161dfa7
2014-10-12 16:39:54 +01:00
Caolán McNamara
63fa3ba80e coverity#735322 Unchecked return value
Change-Id: I12f9392813f5fdd6f2d36398ea00a5cad812cd26
2014-10-12 16:39:53 +01:00
Caolán McNamara
68bb74ddab coverity#735321 Unchecked return value
Change-Id: I3733471b72e96c8d020b8b5238fdb5fc4bfcacce
2014-10-12 16:39:53 +01:00
Caolán McNamara
7ec1643c9f coverity#1226478 Unchecked return value
Change-Id: Idcd3f35d1b5f097e61963083f11712e4ab87bdaa
2014-10-12 16:39:53 +01:00
Caolán McNamara
34de4f3e1c coverity#1130166 Unchecked return value
Change-Id: I0730a099463ac77afce4bb999f3f00ad7bb097c7
2014-10-12 16:39:52 +01:00
Caolán McNamara
06210e5ded coverity#1078484 Unchecked return value
Change-Id: Ia9ce3d94aa5b825e0b7ba28240f00733332e606c
2014-10-12 16:39:52 +01:00
Miklos Vajna
22f92b8606 Remove dead code
Only doctok produced these tokens, so no need to handle them anymore.

Change-Id: Ied7df2515ac86562dd5ce782a1f01158fe3f684e
2014-10-12 16:26:02 +02:00
Miklos Vajna
b92cfa8829 Clean up now unnecessary boost::bind() magic in RTFSdrImport::initShape()
Change-Id: Ie373098959f8b3e04fe955a08031a4221faab3cc
2014-10-12 16:26:02 +02:00
Miklos Vajna
f99ebf4681 RTF filter: fix \acc* handling
The exporter didn't write circle and underdot at all.

Change-Id: Ia8f45f2b03fb14e9a0027ec24ee7f36adc8c018d
2014-10-12 16:26:01 +02:00
Miklos Vajna
997ce52eb7 DOCX filter: fix <w:em> handling
The real news here is that "comma" and "dot" was swapped on export, the
rest is just a fixup of recent breakage.

Change-Id: I54045f5837652dc38a30361e21ced25aeaf58257
2014-10-12 16:26:01 +02:00
Kohei Yoshida
352958b7c6 fdo#83901: Write a test for this.
Change-Id: If805ba07baa36cbf94ee22f77f98ef4057d8b306
2014-10-12 10:21:06 -04:00
Kohei Yoshida
0b29a16d1d fdo#83901: ROW() and COLUMN() to be properly recalculated on cell move.
For cases where ROW or COLUMN references another cell that has shifted.

Change-Id: Ic4bef8672dab811ceff6886d9af0388306a66485
2014-10-12 10:21:00 -04:00
Adolfo Jayme Barrientos
bf8876bb7e Remove a GtkFrame and its redundant label
It’s more than obvious that these are “Options”.

Change-Id: I192a1864bc43b3e20e98e179282dac02abbdbbf4
Reviewed-on: https://gerrit.libreoffice.org/11925
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-10-12 13:42:54 +00:00
Samuel Mehrbrodt
4d7806f73b Wording: 'Audio/Video' -> 'Audio or Video'
Change-Id: I9572d4c7fb5f50b869e69436302ac8c20e500392
2014-10-12 15:30:16 +02:00
Julien Nabet
4c12951a03 Typo: compatability->compatibility
Change-Id: If0b98a30452a9d1fcc340173deb6856755926471
2014-10-12 13:00:46 +02:00
Noel Grandin
d0d64225d8 convert SWFMTFLD_ #defines to an enum
Change-Id: I5daf6436fd049410c4863a4b065c9abd95b5d361
Reviewed-on: https://gerrit.libreoffice.org/11928
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-12 05:21:24 +00:00
Christian M. Heller
1361c56aab fdo#39468 Translate German Comments - sc/source/filter/inc/ leftovers
Change-Id: I0fe5c0165e1c430861028175c82ff116bac969aa
Reviewed-on: https://gerrit.libreoffice.org/11926
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 23:52:57 +00:00
Robert Antoni Buj i Gelonch
0c48deb59f bean: String comparison
Change-Id: Id2449ac887c92f87deb3b871b178ac16d3d6b4b8
Reviewed-on: https://gerrit.libreoffice.org/11922
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 23:50:58 +00:00
Robert Antoni Buj i Gelonch
581234b213 accessibility: Calling String.toString()
Change-Id: I125d2c337df606c6388ddbd41030e51a558ad054
Reviewed-on: https://gerrit.libreoffice.org/11920
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 23:49:44 +00:00
Robert Antoni Buj i Gelonch
d860ea91d7 It is more efficient to use the integer implementations of String.indexOf()
Change-Id: Idb1e4945088b8443e9b507826e5289ee758a2bd2
Reviewed-on: https://gerrit.libreoffice.org/11919
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 23:49:14 +00:00
Michael Meeks
6ba7f47de3 vcl: whitespace cleanup.
Change-Id: I0e61ecfc32f13bba0fa992689604c8b79e6139e9
2014-10-11 20:49:58 +01:00
Kohei Yoshida
b384ee5442 Cleanup.
Change-Id: Ic39043d0453830d348ac3bc8a027b862e4bbdfd8
2014-10-11 14:22:59 -04:00
Kohei Yoshida
424bfaa773 fdo#80846: Broadcast changes before EndUndo().
EndUndo() calls PostDataChanged(), which renders the recalculated formula
cells.  Not broadcasting before EndUndo causes some dependent formula
cells to not get recalculated.

This one unfortunately is not currently unit-testable as this behavior
depends on the presence of ScTabViewShell....

Change-Id: I86288608b7f2627cda7c74be27a18029832775ef
2014-10-11 14:22:15 -04:00
sushil_shinde
4027bc476a fdo#84647 : Fixed default value for TickLableSkip value.
1. 'TextCanOverlap' property was stored as false if TickLableSkip
      is not equal to one.
   2. For OOXML charts TickLableSkip can be between 1 to 999999999.
   3. We can not apply zero or less than zero  value to TickLableSkip.
      ( As per specification)
   4. In axis model default value for TickLableSkip was zero which is
      incorrect.
   5. Added unit test to check 'TextCanOverlap' property for chart.

Change-Id: Ib3104b1d932f6e9376c149eabb201c8e9ad23da9
Reviewed-on: https://gerrit.libreoffice.org/11901
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-10-11 16:57:32 +00:00
Yousuf Philips
89c98b7d20 fdo#84912 - MENU: Addition of AutoSpellcheck to Tools menu
Change-Id: I5e16f68f8565a26857f4ef233e06a002209e2566
Reviewed-on: https://gerrit.libreoffice.org/11915
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2014-10-11 16:37:58 +00:00
Caolán McNamara
9aad656156 coverity#703952 Unchecked return value
originally return was checked in

commit c37f4bb94a
Date:   Tue Nov 4 13:30:21 2003 +0000
    #112739# add breakLink method

then use of bElExists was removed in

commit aec29756d7
Date:   Fri Nov 14 14:24:28 2003 +0000
    #112923# ole implementation related changes

at which point this line should have been removed, but it wasn't

later at

commit 00b1faf239
Author: Jens-Heiner Rechtien <hr@openoffice.org>
    INTEGRATION: CWS warnings01 (1.19.10); FILE MERGED
    2005/11/03 10:31:40 cd 1.19.10.1: #i55991# Warning free code for gcc

this still wasn't removed, just bElExists commented out

Change-Id: I1af2635558cd4f47da06e148e45489f522e0183f
2014-10-11 17:33:53 +01:00
Caolán McNamara
9863f7db91 coverity#735621 Division or modulo by zero
Change-Id: Ic92bb6946495124d50e57c2c84995cae6465af92
2014-10-11 17:33:53 +01:00
Caolán McNamara
88e1b0215b coverity#735605 Division or modulo by zero
Change-Id: Ic3680ae833ed325ff4afe96fdca02f784ccd7d71
2014-10-11 17:33:52 +01:00
Caolán McNamara
4e4080175a coverity#735648 Division or modulo by zero
Change-Id: Ib70d76a022916409750887e0062d84326f7caa18
2014-10-11 17:33:52 +01:00
Caolán McNamara
edc18edbdc coverity#704073 Unchecked return value
Change-Id: I4fe24b6c91d7302835c3366ff490f5a4455fc58f
2014-10-11 17:33:51 +01:00
Caolán McNamara
a5defe0dde coverity#704074 Unchecked return value
Change-Id: I636ede58f83d9faa851c21406d27b8246ec40ff9
2014-10-11 17:33:51 +01:00
Caolán McNamara
d3a3fcbaa5 coverity#704076 Unchecked return value
Change-Id: I07aa768662ba13455e4d8074afc9749f838f3e82
2014-10-11 17:33:51 +01:00
Caolán McNamara
157fb92164 initialize nPolyCount
Change-Id: I774f0ea2576063b7d1f7005e7df41ae52fa9037c
2014-10-11 17:33:50 +01:00
Caolán McNamara
f6047410e1 coverity#983990 Uncaught exception
Change-Id: I78c58822cc92c8964e0b69f44d841c5cdb84b1bb
2014-10-11 17:33:50 +01:00
Caolán McNamara
7e3a84d170 coverity#1130163 Unchecked return value
Change-Id: Iffc4ba146ac8f851239e93a1ace53c6b34234824
2014-10-11 17:33:49 +01:00
Caolán McNamara
279e9914a9 coverity#1242367 Unchecked return value
Change-Id: I899f97df32d943e61d7f0a125ae9ccea88b5374b
2014-10-11 17:33:49 +01:00
Caolán McNamara
41df2c5c8b coverity#1242425 Dereference after null check
Change-Id: I638d1601ac6cb5e43ee60f60869f6128060e6d05
2014-10-11 17:33:48 +01:00
Caolán McNamara
01c74f4319 coverity#735353 Unchecked return value
Change-Id: Iab54019d07ac27b4d8247d789c29165d24e2288f
2014-10-11 17:33:48 +01:00
Caolán McNamara
c10548eaa9 coverity#704113 Unchecked return value
Change-Id: If6537d84953c67801bc1959e17dd3662cd1face7
2014-10-11 17:33:47 +01:00
Caolán McNamara
f969515094 too risky to dlclose basctl once opened
e.g. use macro organizer for the first time and launch a macro, user event
with handle to basctl function posted

Change-Id: I2f0f4a7536f071926ea1bd6994f8178fbd4a796f
2014-10-11 16:40:00 +01:00
Samuel Mehrbrodt
475df8db91 fdo#84916 Fix string: Insert Audio/Video
Change-Id: I76cd8502f9cb2af379dd732d2081feb094599aca
2014-10-11 17:37:16 +02:00
Noel Grandin
8044acf2db convert SFX_CALLMODE constants to SfxCallMode enum class
and fix a couple of bugs in SC and SW where the call mode was
being passed to the hints parameter by accident

Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58
Reviewed-on: https://gerrit.libreoffice.org/11916
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 15:14:52 +00:00
Noel Grandin
cb7ede2d99 convert vcl StateChangedType to enum class
Change-Id: Ifa46523619ae7fb8d112525b8df594836e51bb8f
Reviewed-on: https://gerrit.libreoffice.org/11843
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 15:14:32 +00:00
Robert Antoni Buj i Gelonch
0bc6ea3637 connectivity: Iterate over each Entry in a Map & Enhanced for-loops
Change-Id: Id4a340584fc727058f6e37c1f0d3c5887e931417
Reviewed-on: https://gerrit.libreoffice.org/11917
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-11 14:51:48 +00:00
Takeshi Abe
c51f77b1c0 fdo#75757: remove inheritance to std::map
from oox::core::Relations.

Change-Id: If2e0109a2ad6598436177b7638cb6d568fb2d3d6
Reviewed-on: https://gerrit.libreoffice.org/11899
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-11 14:24:09 +00:00
Douglas Mencken
b592b3e89e drop -Wno-long-double compiler flag
new GCC compilers do not accept "obsolete and totally removed
in gcc 4.2 and later" -Wno-long-double flag

actually, it used to be Apple-only GCC extension for gcc<=3.3

Change-Id: Ied3320cbd45915682b628c99bb0a168ea4753bb7
Reviewed-on: https://gerrit.libreoffice.org/11819
Reviewed-by: Douglas Mencken <dougmencken@gmail.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-10-11 14:14:40 +00:00