Commit Graph

361946 Commits

Author SHA1 Message Date
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
Miklos Vajna
7dc6c9af4b CppunitTest_sw_rtfexport: enable on Windows
Change-Id: I232f13e8294ff1039519f943c3380f114f6821be
2014-10-11 14:48:08 +02:00
Chris Sherlock
7538110902 Fix missing quote in environment.pm
Change-Id: I6f91165b5c4bfd06a23224f2ed16818c7d74852b
2014-10-11 18:44:20 +11:00
Miklos Vajna
9abc806736 error C2677: binary '*' : no global operator found
Change-Id: I13899545421fa710a590cde042e142cdb3293c7c
2014-10-11 09:40:24 +02:00
Miklos Vajna
f0e7d9eb64 writerfilter: drop support for simple list types without constants
In other words, from now it's a must to map ST_Foo simple types to
NS_ooxml::LN_something constants, and raw integers (which are hard to
grep and hard to track down where are they used) are no longer an
option.

Change-Id: I968b27bca3f64f6f4a382b87e2dbc499a3132ea2
2014-10-11 09:39:15 +02:00
Kohei Yoshida
ab58a180bd Have ScViewFunc::DeleteContents() to call ScDocFunc's.
If bSimple = true, call DeleteCell(), otherwise call DeleteContents().

Change-Id: Ic08d9501797b537430bef0b6f3d920c3b497104b
2014-10-10 20:36:36 -04:00
Kohei Yoshida
7168096fdf Add DeleteCell to ScDocFunc, which is a variant of DeleteContents ...
for a single cell case.  This is equivalent of ScViewFunc::DeleteConents
with bSimple = true.

Change-Id: I5eccce21843f4cb21b29f96b0360617a180aebee
2014-10-10 20:36:29 -04:00
Norbert Thiebaud
06c1844485 installer: populate installer::globals::[os,com,cpuname]
with there respective env variable OS,COM,CPUNAME
this is a first step to get rid of OUTPATH

Change-Id: Idab4dd7b19deba5252390cbd2cb74dfff9efe64e
Reviewed-on: https://gerrit.libreoffice.org/11907
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-10-10 23:28:08 +00:00
Norbert Thiebaud
d9b325f6b5 remove unused $variables{'os'}
Change-Id: Idaf0b0e9fc38dc05f24c111304ef5189b4ba111c
Reviewed-on: https://gerrit.libreoffice.org/11906
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-10-10 23:27:39 +00:00
Michael Stahl
99b6fc7b72 sd: another temp-file leak
Change-Id: Idcd31ea07c460aaecff3ea56072cf65e26040bda
2014-10-11 00:28:49 +02:00
Michael Stahl
8a74ad7f24 sd: rename test classes to be unique
Change-Id: I18d4f6af97fcfb9341711751a8d550e421f7a381
2014-10-11 00:28:49 +02:00
Michael Stahl
66d18c1fd4 starmath: close SfxObjectShell in unit test to stop temp file leakage
Change-Id: Iaf2df8a315b3e0c8cdd1f1a4a7d589682384ddaf
2014-10-11 00:28:48 +02:00
Michael Stahl
6c2cffdfc6 connectivity: firebird: recursively delete temp directories
TempFile itself will only remove empty directories.

Change-Id: Ibaf986856bde172de40686ae363821b19add8106
2014-10-11 00:28:48 +02:00