summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-24Use "deprecated" API for OS X alias resolving on X 10.5Douglas Mencken
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>
2014-02-24implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann
...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
2014-02-24Add two saveas icons for sifr theme.Matthias Freund
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>
2014-02-24fix 'delete' not working in the Template ManagerCaolán McNamara
regression from b29c078c7f193dd7dae74baf89fe1abb9264239c because if the search view widget is visible then its assumed that we are in search view mode Change-Id: I8e81ffa06d5d3ac50e110105c9444707fd4c41c6
2014-02-24ETOMANY getPropertyValueCaolán McNamara
Change-Id: I787257603e919b12fda07d3302ceba2a7787a9b9
2014-02-24coverity#737536 Uncaught exceptionCaolán McNamara
Change-Id: Ia59a64934b65dd926c4f95953bc1ddaf00d6f8cf
2014-02-24coverity#737516 Uncaught exceptionCaolán McNamara
Change-Id: I7683cd9a27b09ed9d9b57574212cde14f103d53a
2014-02-24OOXML chart import: ignore rot values outside the valid rangeAndras Timar
Change-Id: I506a78a024d761d1d263a7bb1dcbf09a4bbcf4ef
2014-02-24fix MacOSX-x86_49-TDF tinderboxCaolán McNamara
Change-Id: I15632bd87be37d9bb5815c9d800271dfd4c3b016
2014-02-24Resolves: #i119006# delay Mac initial event until the app has launchedHerbert Dürr
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
2014-02-24coverity#737508 Uncaught exceptionCaolán McNamara
Change-Id: I100bd99fdbf2929214f89baac962d74cb6a530a6
2014-02-24coverity#737507 Uncaught exceptionCaolán McNamara
Change-Id: Id035849f94bfb5e6ba7f5463a6a548bf88b77e85
2014-02-24coverity#737506 Uncaught exceptionCaolán McNamara
Change-Id: Ib36b9bab3f31b32b8be3d7c51af7f26280a7a069
2014-02-24coverity#737504 Uncaught exceptionCaolán McNamara
Change-Id: I3cfa8ba3baaf071e4300b12c8bbcba4c652ee309
2014-02-24coverity#737502 Uncaught exceptionCaolán McNamara
Change-Id: I5f5b7244db311501af6ded863b4b1fa46e5a547a
2014-02-24Resolves: #i123840# prefer NSZero* constants over open coded alternativesHerbert Dürr
(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
2014-02-24coverity#737499 Uncaught exceptionCaolán McNamara
Change-Id: If4599fa76914b472ee6734f48941898f420519c3
2014-02-24coverity#737497 Uncaught exceptionCaolán McNamara
Change-Id: I1dc0acda818f1b520f74c282bdd17a195591e860
2014-02-24coverity#737495 Uncaught exceptionCaolán McNamara
Change-Id: I8a5e7111a0ddf1e651c25bd52c6af462d9075f93
2014-02-24coverity#737469 Uncaught exceptionCaolán McNamara
Change-Id: Ic090878483f2fbfc000bfc248bb52764e4e9727e
2014-02-24coverity#737458 Uncaught exceptionCaolán McNamara
Change-Id: Ida42725016395d9629bb97bd8cf0b660195c4f1c
2014-02-24coverity#737430 Uncaught exceptionCaolán McNamara
Change-Id: I1db24114b331970d75b01c0869708b1656be3836
2014-02-24coverity#737424 Uncaught exceptionCaolán McNamara
Change-Id: I8779bf79dd2342f183643767c4c424e7a5500cca
2014-02-24sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through itCaolán McNamara
which means that icons suddenly reappeared in the menus when the gtk theme had disabled them ref e8f8f24c8415898c787bbfb629247ed62e73a2b9 Change-Id: Ia9aef5ca39bda2ddf6d7c4ebc2bddc01d470d09b
2014-02-24coverity#737422 Uncaught exceptionCaolán McNamara
Change-Id: Ieca32131ad7b1019338af8042ab6905e3ba152d6
2014-02-24coverity#737388 Uncaught exceptionCaolán McNamara
Change-Id: I55fd2311d6439a6f8616f9c21fa1e7222efde794
2014-02-24coverity#737363 Uncaught exceptionCaolán McNamara
Change-Id: I29717d8379a69eede5ef44b57934c2fe70c04248
2014-02-24coverity#737355 Uncaught exceptionCaolán McNamara
Change-Id: Ib6b54de2a02fedd42fa28155762b4d3c25957607
2014-02-24coverity#737354 Uncaught exceptionCaolán McNamara
Change-Id: Iedbff972ef4fba9b0fa877db76a1e9b099223279
2014-02-24coverity#737343 Uncaught exceptionCaolán McNamara
Change-Id: I5097c5c98580619d066ea928f1970cc6e7160783
2014-02-24coverity#737340 Uncaught exceptionCaolán McNamara
Change-Id: I1549368658a5918fb16b58b614c2c789be94060e
2014-02-24coverity#737278 Uncaught exceptionCaolán McNamara
Change-Id: I8b9c02d5e87433cb48a7cee37b696d36e453dd52
2014-02-24coverity#737277 Uncaught exceptionCaolán McNamara
Change-Id: I4bb6964fb585a027ade3540456bf71bdf70d7662
2014-02-24coverity#737274 Uncaught exceptionCaolán McNamara
Change-Id: I33a22974a9485e4556ed44f990d6d13a8901c511
2014-02-24coverity#737273 Uncaught exceptionCaolán McNamara
Change-Id: Ib1e7ee8903c9b3e276c9244a6e4b67499f22c661
2014-02-24coverity#737272 Uncaught exceptionCaolán McNamara
Change-Id: Ibab84222db96181b175f58625105af1237e48136
2014-02-24coverity#737271 Uncaught exceptionCaolán McNamara
Change-Id: I3275220925cc81ce5dbf507793e0d74cb88e2ab4
2014-02-24coverity#737270 Uncaught exceptionCaolán McNamara
Change-Id: I7f129c868034df3d56060cc870c335b36a1a6d4a
2014-02-24coverity#737269 Uncaught exceptionCaolán McNamara
Change-Id: Ib6240c818c6f17df63693aa4fc4a4ca207df27b6
2014-02-24coverity#707304 Uncaught exceptionCaolán McNamara
Change-Id: I4384b87566d595ce47dd934e35c8bb9267d6cb1b
2014-02-24coverity#707318 Uncaught exceptionCaolán McNamara
Change-Id: I65bfcbe4ab6fceed3ae474dcb3225df197ddaa2b
2014-02-24coverity#735810 Dereference after null checkCaolán McNamara
Change-Id: I005ae6bf505fd2131c06e889f9fc3c12dae23c64
2014-02-24coverity#735808 Dereference after null checkCaolán McNamara
Change-Id: Idd8ff57f5c970d15e199831bb1b1251ced32eeec
2014-02-24coverity#735747 Dereference after null checkCaolán McNamara
also coverity#736774 Dereference before null check Change-Id: Ic2e2a341565af0609ec748b40ac7848a46c9e3af
2014-02-24coverity#735751 Dereference after null checkCaolán McNamara
Change-Id: Id7e11fefec40d11c509bde01533122ca68db7402
2014-02-24coverity#735801 Dereference after null checkCaolán McNamara
Change-Id: I4a403098388bdb7f4f09242fcd71a50d38fc630e
2014-02-24warning C4805: '==' : unsafe mix of type 'sal_Bool' and type 'bool'Stephan Bergmann
Change-Id: I3719401a0eb68ba9204be19c2dd4f93617bf097c
2014-02-24sw: Unit test for spreadsheets embedded in docxJacobo Aragunde Pérez
Change-Id: I0a91ea0ca36d57320c3495a5cedba7924d3a7ea7
2014-02-24sw: Preserve embedded spreadsheets in docxJacobo Aragunde Pérez
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
2014-02-24filter: Code reduction, prevents crash.Jacobo Aragunde Pérez
Not all shape types have the full com.sun.star. prefix, for example FrameShape. The existing code would crash in that case, but the new code doesn't. Change-Id: I9aa3d0f20f48ab91a6770e8409a8da2028816504