summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-11bean: String comparisonRobert Antoni Buj i Gelonch1-1/+1
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-11accessibility: Calling String.toString()Robert Antoni Buj i Gelonch1-1/+1
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-11It is more efficient to use the integer implementations of String.indexOf()Robert Antoni Buj i Gelonch2-3/+3
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-11vcl: whitespace cleanup.Michael Meeks1-9/+9
Change-Id: I0e61ecfc32f13bba0fa992689604c8b79e6139e9
2014-10-11Cleanup.Kohei Yoshida1-2/+0
Change-Id: Ic39043d0453830d348ac3bc8a027b862e4bbdfd8
2014-10-11fdo#80846: Broadcast changes before EndUndo().Kohei Yoshida1-13/+10
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-11fdo#84647 : Fixed default value for TickLableSkip value.sushil_shinde3-1/+24
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-11fdo#84912 - MENU: Addition of AutoSpellcheck to Tools menuYousuf Philips3-0/+3
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-11coverity#703952 Unchecked return valueCaolán McNamara1-3/+0
originally return was checked in commit c37f4bb94a119e4031796c097a35c1217e221e6c Date: Tue Nov 4 13:30:21 2003 +0000 #112739# add breakLink method then use of bElExists was removed in commit aec29756d7e058b47dc8dcef79bc93c3e9c61928 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 00b1faf239dbf676178dcaa0d15a1678d1148a0d 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-11coverity#735621 Division or modulo by zeroCaolán McNamara1-8/+15
Change-Id: Ic92bb6946495124d50e57c2c84995cae6465af92
2014-10-11coverity#735605 Division or modulo by zeroCaolán McNamara1-2/+8
Change-Id: Ic3680ae833ed325ff4afe96fdca02f784ccd7d71
2014-10-11coverity#735648 Division or modulo by zeroCaolán McNamara1-1/+1
Change-Id: Ib70d76a022916409750887e0062d84326f7caa18
2014-10-11coverity#704073 Unchecked return valueCaolán McNamara1-1/+1
Change-Id: I4fe24b6c91d7302835c3366ff490f5a4455fc58f
2014-10-11coverity#704074 Unchecked return valueCaolán McNamara1-2/+2
Change-Id: I636ede58f83d9faa851c21406d27b8246ec40ff9
2014-10-11coverity#704076 Unchecked return valueCaolán McNamara1-2/+2
Change-Id: I07aa768662ba13455e4d8074afc9749f838f3e82
2014-10-11initialize nPolyCountCaolán McNamara1-3/+3
Change-Id: I774f0ea2576063b7d1f7005e7df41ae52fa9037c
2014-10-11coverity#983990 Uncaught exceptionCaolán McNamara2-2/+3
Change-Id: I78c58822cc92c8964e0b69f44d841c5cdb84b1bb
2014-10-11coverity#1130163 Unchecked return valueCaolán McNamara1-2/+3
Change-Id: Iffc4ba146ac8f851239e93a1ace53c6b34234824
2014-10-11coverity#1242367 Unchecked return valueCaolán McNamara1-3/+5
Change-Id: I899f97df32d943e61d7f0a125ae9ccea88b5374b
2014-10-11coverity#1242425 Dereference after null checkCaolán McNamara1-1/+1
Change-Id: I638d1601ac6cb5e43ee60f60869f6128060e6d05
2014-10-11coverity#735353 Unchecked return valueCaolán McNamara1-7/+13
Change-Id: Iab54019d07ac27b4d8247d789c29165d24e2288f
2014-10-11coverity#704113 Unchecked return valueCaolán McNamara1-1/+1
Change-Id: If6537d84953c67801bc1959e17dd3662cd1face7
2014-10-11too risky to dlclose basctl once openedCaolán McNamara2-0/+3
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-11fdo#84916 Fix string: Insert Audio/VideoSamuel Mehrbrodt1-1/+1
Change-Id: I76cd8502f9cb2af379dd732d2081feb094599aca
2014-10-11convert SFX_CALLMODE constants to SfxCallMode enum classNoel Grandin254-690/+717
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-11convert vcl StateChangedType to enum classNoel Grandin105-432/+446
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-11connectivity: Iterate over each Entry in a Map & Enhanced for-loopsRobert Antoni Buj i Gelonch1-8/+5
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-11fdo#75757: remove inheritance to std::mapTakeshi Abe4-12/+29
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-11drop -Wno-long-double compiler flagDouglas Mencken4-25/+3
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-11CppunitTest_sw_rtfexport: enable on WindowsMiklos Vajna1-6/+2
Change-Id: I232f13e8294ff1039519f943c3380f114f6821be
2014-10-11Fix missing quote in environment.pmChris Sherlock1-1/+1
Change-Id: I6f91165b5c4bfd06a23224f2ed16818c7d74852b
2014-10-11error C2677: binary '*' : no global operator foundMiklos Vajna1-1/+1
Change-Id: I13899545421fa710a590cde042e142cdb3293c7c
2014-10-11writerfilter: drop support for simple list types without constantsMiklos Vajna1-5/+2
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-10Have ScViewFunc::DeleteContents() to call ScDocFunc's.Kohei Yoshida1-75/+4
If bSimple = true, call DeleteCell(), otherwise call DeleteContents(). Change-Id: Ic08d9501797b537430bef0b6f3d920c3b497104b
2014-10-10Add DeleteCell to ScDocFunc, which is a variant of DeleteContents ...Kohei Yoshida2-5/+75
for a single cell case. This is equivalent of ScViewFunc::DeleteConents with bSimple = true. Change-Id: I5eccce21843f4cb21b29f96b0360617a180aebee
2014-10-10installer: populate installer::globals::[os,com,cpuname]Norbert Thiebaud3-0/+9
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-10remove unused $variables{'os'}Norbert Thiebaud1-2/+0
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-11sd: another temp-file leakMichael Stahl1-0/+1
Change-Id: Idcd31ea07c460aaecff3ea56072cf65e26040bda
2014-10-11sd: rename test classes to be uniqueMichael Stahl2-43/+43
Change-Id: I18d4f6af97fcfb9341711751a8d550e421f7a381
2014-10-11starmath: close SfxObjectShell in unit test to stop temp file leakageMichael Stahl1-0/+1
Change-Id: Iaf2df8a315b3e0c8cdd1f1a4a7d589682384ddaf
2014-10-11connectivity: firebird: recursively delete temp directoriesMichael Stahl2-2/+13
TempFile itself will only remove empty directories. Change-Id: Ibaf986856bde172de40686ae363821b19add8106
2014-10-11unotools: assert if TempFile::GetURL() fails due to missing file UCPMichael Stahl1-3/+3
Change-Id: I3dd844c656766835079bc191b3b55d3fba2c2219
2014-10-11move the removeTree function from desktop to unotoolsMichael Stahl3-52/+56
Change-Id: I98d3f4a68abfee42dac987633878b850134671d3
2014-10-11filter: stop leaking temp files in xsltfilter testMichael Stahl1-0/+4
Change-Id: Icefec168910ba0b059f4b1887ec67cce8505ffd6
2014-10-10fdo#65864: dont't traverse defs-nodes when in shape writing modeChr. Rossmanith1-5/+11
Relevant for opening svg images via File->Open: Children of the <defs> element should be interpreted only during the style collecting step. Collecting <path> elements from clip paths during the shape writing step leads to unwanted black polygons. Change-Id: I73598134c9be2877e975a7e756541ec3026fe768 Reviewed-on: https://gerrit.libreoffice.org/11793 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2014-10-10Print out the timing results unconditionallyTor Lillqvist1-2/+2
Because that is after all what we are after here, and we want them even in a non-debug build. Change-Id: I4770f6b0420b2a65ccc813f0e400cbb39b0d44fe
2014-10-10Make the variable name shorter and sweeter...Kohei Yoshida2-18/+27
Change-Id: Ibea26f3c99b50f2011050960794d9736566ee7ce
2014-10-10prepareScaleAutomatismForDimensionAndIndex -> prepareAutomaticAxisScaling.Kohei Yoshida3-4/+4
Change-Id: Ic66d2fcf78603bdd4fa1e08933900f49c66384b7
2014-10-10Hide the 3rd nested looping for clarity.Kohei Yoshida1-36/+35
Also aScaleAutomatism -> aAutoScaling. The word 'automatism' is a bit awkward. Change-Id: I9856f904d5693e79e19176ba5fff881267d5c7e7
2014-10-10Make this loop a bit easier to follow...Kohei Yoshida1-38/+69
Change-Id: Ib978f47925e1f7d77e02586bff50d24fa5b27f2c