summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* OpenSSL @OS X: choose correct build targetDouglas Mencken2014-02-241-1/+3
| | | | | | | Change-Id: I58f3cc12f2fa177c26608d372f99c086503a13a5 Reviewed-on: https://gerrit.libreoffice.org/8205 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* Use "deprecated" API for OS X alias resolving on X 10.5Douglas Mencken2014-02-241-4/+61
| | | | | | | Change-Id: I68a49b95c9b4f4d1d0472a298f8b29d83435c88e Reviewed-on: https://gerrit.libreoffice.org/8195 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann2014-02-2416-55/+85
| | | | | | | | | | | | | | | ...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f "sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it" earlier when converting occurrences of sal_Bool to bool. Restricting this check to function call arguments avoids too much noise while hopefully still catching all the relevant problems. (This check partially overlaps the pointertobool check, so implicit conversions from pointers to bool call arguments will now generate two loplugin warnings, but that's harmless.) Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
* Add two saveas icons for sifr theme.Matthias Freund2014-02-242-0/+0
| | | | | | | | | | | I create two icons for the sifr-theme (the missing saveas icons). Hope this is correct. :-) Change-Id: I9b9063018d6d0662e8805b6cf502262deed46d3c Reviewed-on: https://gerrit.libreoffice.org/8191 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fix 'delete' not working in the Template ManagerCaolán McNamara2014-02-241-4/+4
| | | | | | | regression from b29c078c7f193dd7dae74baf89fe1abb9264239c because if the search view widget is visible then its assumed that we are in search view mode Change-Id: I8e81ffa06d5d3ac50e110105c9444707fd4c41c6
* ETOMANY getPropertyValueCaolán McNamara2014-02-242-4/+6
| | | | Change-Id: I787257603e919b12fda07d3302ceba2a7787a9b9
* coverity#737536 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: Ia59a64934b65dd926c4f95953bc1ddaf00d6f8cf
* coverity#737516 Uncaught exceptionCaolán McNamara2014-02-242-2/+3
| | | | Change-Id: I7683cd9a27b09ed9d9b57574212cde14f103d53a
* OOXML chart import: ignore rot values outside the valid rangeAndras Timar2014-02-241-0/+5
| | | | Change-Id: I506a78a024d761d1d263a7bb1dcbf09a4bbcf4ef
* fix MacOSX-x86_49-TDF tinderboxCaolán McNamara2014-02-241-2/+2
| | | | Change-Id: I15632bd87be37d9bb5815c9d800271dfd4c3b016
* Resolves: #i119006# delay Mac initial event until the app has launchedHerbert Dürr2014-02-243-27/+28
| | | | | | | | | | | | | delaying the initial event prevents complaints from OSX>=10.7's "windows restore" feature to recur infinitely. Apparently OSX cleans things up for us just before we get the applicationDidFinishLaunching() callback. (cherry picked from commit 0f3712ff654c740f3593b9580f34cdfe21ac3250) Conflicts: vcl/osx/salinst.cxx Change-Id: I0f1d59f03ffe4efc7c9a73fa881151fa06af5424
* coverity#737508 Uncaught exceptionCaolán McNamara2014-02-242-3/+5
| | | | Change-Id: I100bd99fdbf2929214f89baac962d74cb6a530a6
* coverity#737507 Uncaught exceptionCaolán McNamara2014-02-242-2/+5
| | | | Change-Id: Id035849f94bfb5e6ba7f5463a6a548bf88b77e85
* coverity#737506 Uncaught exceptionCaolán McNamara2014-02-242-6/+9
| | | | Change-Id: Ib36b9bab3f31b32b8be3d7c51af7f26280a7a069
* coverity#737504 Uncaught exceptionCaolán McNamara2014-02-242-4/+6
| | | | Change-Id: I3cfa8ba3baaf071e4300b12c8bbcba4c652ee309
* coverity#737502 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I5f5b7244db311501af6ded863b4b1fa46e5a547a
* Resolves: #i123840# prefer NSZero* constants over open coded alternativesHerbert Dürr2014-02-248-27/+21
| | | | | | | | | | | | (cherry picked from commit a8c471a7003fdac7d5e1c97e903f669da6bcf0c7) Conflicts: vcl/osx/salframe.cxx vcl/osx/salframeview.mm vcl/osx/salnsmenu.mm vcl/osx/salobj.cxx Change-Id: I379d80355d741dd28aad2e6119a8b82ac10159f5
* coverity#737499 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: If4599fa76914b472ee6734f48941898f420519c3
* coverity#737497 Uncaught exceptionCaolán McNamara2014-02-242-6/+9
| | | | Change-Id: I1dc0acda818f1b520f74c282bdd17a195591e860
* coverity#737495 Uncaught exceptionCaolán McNamara2014-02-242-4/+6
| | | | Change-Id: I8a5e7111a0ddf1e651c25bd52c6af462d9075f93
* coverity#737469 Uncaught exceptionCaolán McNamara2014-02-242-2/+3
| | | | Change-Id: Ic090878483f2fbfc000bfc248bb52764e4e9727e
* coverity#737458 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: Ida42725016395d9629bb97bd8cf0b660195c4f1c
* coverity#737430 Uncaught exceptionCaolán McNamara2014-02-242-3/+4
| | | | Change-Id: I1db24114b331970d75b01c0869708b1656be3836
* coverity#737424 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I8779bf79dd2342f183643767c4c424e7a5500cca
* sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through itCaolán McNamara2014-02-245-31/+34
| | | | | | | | | which means that icons suddenly reappeared in the menus when the gtk theme had disabled them ref e8f8f24c8415898c787bbfb629247ed62e73a2b9 Change-Id: Ia9aef5ca39bda2ddf6d7c4ebc2bddc01d470d09b
* coverity#737422 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: Ieca32131ad7b1019338af8042ab6905e3ba152d6
* coverity#737388 Uncaught exceptionCaolán McNamara2014-02-242-6/+8
| | | | Change-Id: I55fd2311d6439a6f8616f9c21fa1e7222efde794
* coverity#737363 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I29717d8379a69eede5ef44b57934c2fe70c04248
* coverity#737355 Uncaught exceptionCaolán McNamara2014-02-242-8/+9
| | | | Change-Id: Ib6b54de2a02fedd42fa28155762b4d3c25957607
* coverity#737354 Uncaught exceptionCaolán McNamara2014-02-242-5/+6
| | | | Change-Id: Iedbff972ef4fba9b0fa877db76a1e9b099223279
* coverity#737343 Uncaught exceptionCaolán McNamara2014-02-242-3/+5
| | | | Change-Id: I5097c5c98580619d066ea928f1970cc6e7160783
* coverity#737340 Uncaught exceptionCaolán McNamara2014-02-242-2/+3
| | | | Change-Id: I1549368658a5918fb16b58b614c2c789be94060e
* coverity#737278 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I8b9c02d5e87433cb48a7cee37b696d36e453dd52
* coverity#737277 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I4bb6964fb585a027ade3540456bf71bdf70d7662
* coverity#737274 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I33a22974a9485e4556ed44f990d6d13a8901c511
* coverity#737273 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: Ib1e7ee8903c9b3e276c9244a6e4b67499f22c661
* coverity#737272 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: Ibab84222db96181b175f58625105af1237e48136
* coverity#737271 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I3275220925cc81ce5dbf507793e0d74cb88e2ab4
* coverity#737270 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: I7f129c868034df3d56060cc870c335b36a1a6d4a
* coverity#737269 Uncaught exceptionCaolán McNamara2014-02-242-2/+4
| | | | Change-Id: Ib6240c818c6f17df63693aa4fc4a4ca207df27b6
* coverity#707304 Uncaught exceptionCaolán McNamara2014-02-241-1/+2
| | | | Change-Id: I4384b87566d595ce47dd934e35c8bb9267d6cb1b
* coverity#707318 Uncaught exceptionCaolán McNamara2014-02-241-136/+139
| | | | Change-Id: I65bfcbe4ab6fceed3ae474dcb3225df197ddaa2b
* coverity#735810 Dereference after null checkCaolán McNamara2014-02-241-2/+2
| | | | Change-Id: I005ae6bf505fd2131c06e889f9fc3c12dae23c64
* coverity#735808 Dereference after null checkCaolán McNamara2014-02-241-1/+1
| | | | Change-Id: Idd8ff57f5c970d15e199831bb1b1251ced32eeec
* coverity#735747 Dereference after null checkCaolán McNamara2014-02-241-1/+1
| | | | | | | | also coverity#736774 Dereference before null check Change-Id: Ic2e2a341565af0609ec748b40ac7848a46c9e3af
* coverity#735751 Dereference after null checkCaolán McNamara2014-02-241-2/+1
| | | | Change-Id: Id7e11fefec40d11c509bde01533122ca68db7402
* coverity#735801 Dereference after null checkCaolán McNamara2014-02-241-2/+2
| | | | Change-Id: I4a403098388bdb7f4f09242fcd71a50d38fc630e
* warning C4805: '==' : unsafe mix of type 'sal_Bool' and type 'bool'Stephan Bergmann2014-02-242-2/+2
| | | | Change-Id: I3719401a0eb68ba9204be19c2dd4f93617bf097c
* sw: Unit test for spreadsheets embedded in docxJacobo Aragunde Pérez2014-02-242-0/+31
| | | | Change-Id: I0a91ea0ca36d57320c3495a5cedba7924d3a7ea7
* sw: Preserve embedded spreadsheets in docxJacobo Aragunde Pérez2014-02-244-0/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Embedded spreadsheets consist on two files: * The spreadsheet found in word/embeddings/ directory. * A preview image found in word/media/ directory. This patch saves these two files and writes the proper XML to the document. It looks like this: <w:object> <v:shape id="ole_rId2" style="width:362.55pt;height:145.7pt" o:ole=""> <v:imagedata r:id="rId3" /> </v:shape> <o:OLEObject Type="Embed" ProgID="Excel.Sheet.12" ShapeID="ole_rId2" DrawAspect="Content" ObjectID="_227653443" r:id="rId2" /> </w:object> Some simplifications were done in comparison with the XML generated by Word; the lines above seem to be the minimum working code. Similarly to drawings, charts, etc. our code postpones the actual process of the OLE objects until the rPr tag is closed. TODO: * Unit tests. * Add information about xlsx extension to [Content_Types].xml * Without that, Word doesn't detect the OLE as an spreadsheet. Change-Id: Ia0c797b72cd6e99ca9ad7fa11897b62ab3867a5e