summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-18loplugin: unused return values in vcl/Noel Grandin
Change-Id: I879bd3bec4dd2cf002681f1e50b6c33cce0934a9
2016-01-18loplugin:bodynotinblockStephan Bergmann
...probably an oversight in 0d127baed75929e744d5b6249f510012cfbc0e88 "tdf#91083 - .doc: emulate table keep-with-next paragraph." The following comment had been oddly hanging around there ever since 84a3db80b4fd66c6854b3135b5f69b61fd828e62 "initial import," leaving it unclear whether it belongs to the preceding or following code, so just keep it hanging there oddly... Change-Id: I0c5cea5955b4b91efcffa499019975c810e6c983
2016-01-18loplugin: unused return values in writerfilter/Noel Grandin
Change-Id: I048fba90319bd164ddd7bf0078b4615092d5f33a Reviewed-on: https://gerrit.libreoffice.org/21567 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-18loplugin:unusedfieldsNoel Grandin
Change-Id: I321b594f1190cdd997b4769161e1c02d31f46213 Reviewed-on: https://gerrit.libreoffice.org/21566 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-18Wrappers for LTOPeter Foley
When building with GCC, the gcc-ar, gcc-ranlib, and gcc-nm wrappers must be used for the linker to properly resolve symbols from static libraries containing LTO objects. Likewise, clang requires the llvm-ar, llvm-ranlib, and llvm-nm wrappers. Change-Id: I539017b6da7732f998a49820dc01d0e6b302952a Reviewed-on: https://gerrit.libreoffice.org/21502 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-18Use test -f rather then cross-compilation unfriendly AC_CHECK_FILEPeter Foley
Change-Id: I3ea0f56606e75254bc8998238af76d31315f77e0 Reviewed-on: https://gerrit.libreoffice.org/21556 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-18Set file association for MS Write files on linux and MacSean Young
Other mime types used for MS Write are application/x-wri, application/mswrite and application/wri. I think these were pretty rare though. Change-Id: I2bf48ab7a2fb1d979db38774ae0547c5ab6040d4 Reviewed-on: https://gerrit.libreoffice.org/21552 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-18Use built-in autoconf cross-compile support.Peter Foley
Change-Id: If3f1de5a7b94bce799dc044be602a14d03dff357 Reviewed-on: https://gerrit.libreoffice.org/21555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-18Properly ignore in-tree sdk and ndkPeter Foley
Change-Id: If8aa9647def6741ba01bd47c02d386c43abaf452 Reviewed-on: https://gerrit.libreoffice.org/21548 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-18Fix cross-compilation with in-tree ndk/sdkPeter Foley
The build configure run tries to use the ndk as well. Prevent this by only auto-detecting the ndk when cross-compiling. Change-Id: I0c098a7ae3f34cd6210f1b6b14121f62ed892b13 Reviewed-on: https://gerrit.libreoffice.org/21547 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-18improve scp2 stamp messagesPeter Foley
Change-Id: I62fcad499601ad4870d4fa875b29d01618236925 Reviewed-on: https://gerrit.libreoffice.org/21523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-18loplugin:unreffunStephan Bergmann
Change-Id: I1008a51abb3834a65aabfdf05370d9515a18c1e2
2016-01-18Trade a little weaker test against loplugin:stringconstantStephan Bergmann
(what prompted writing that very fundamental test now anyway?) Change-Id: I83884908f8f5b1e4d58575960c77b411183f2fbb
2016-01-18vcl: change Font::SetName() to Font::SetFamilyName()Chris Sherlock
Change-Id: I9b7bd1ec25955981ebcb9085579cbb9fbaa802d5 Reviewed-on: https://gerrit.libreoffice.org/21560 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-18tdf#96685 - set initial focus of accessible editeng objectsJustin Luth
signalIMDeleteSurrounding searches for the focused accessible object. Since newly created accessible objects were not inheriting the focus setting of their peer, the search returned nothing until some event triggered the focus to be adjusted. Change-Id: I92f980b4bbe741d8ce9196165eff51059c807a2b Reviewed-on: https://gerrit.libreoffice.org/21002 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-01-18tdf#93637 TAB_OVER_MARGIN support for a few more casesJustin Luth
Extending nMaxRight when TAB_OVER_MARGIN compatibility is set and the right tabstop goes beyond the right margin fixes PDF output as well as certain cases of screen display. Change-Id: Ida4b4f399f06670d9bdefdc21978adf19a81d53a Reviewed-on: https://gerrit.libreoffice.org/19635 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-01-18tdf#91083 - .doc: emulate table keep-with-next paragraphJustin Luth
connect table with the following paragraph. Move forward to a new page together with the following paragraph if necessary. Most of the added code allows the table to split if all of the kept items do not fit on one page - allowing the emulated table to match the layout of kept tables. The only difference with .doc occurs when the table itself is larger than one page. In that case it ALWAYS starts a new page. Although it does not match .odt, it DOES match how MSWord handles that .doc. Change-Id: Ic6f495c0dc5cd4e9f8029a8cec9e31b4fab4b20f Reviewed-on: https://gerrit.libreoffice.org/20233 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org>
2016-01-18Updated coreStanislav Horacek
Project: help 19723e7abc12b4a1729cf4b854a7c84972a930ed use precise name of Exchange Databases dialog Change-Id: If6e18cb4d5865542a7e8612f0f9480ec5081e9b7 Reviewed-on: https://gerrit.libreoffice.org/21537 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-01-18Updated coreStanislav Horacek
Project: help 4c090e76e96c60b3615ae6e706f070279c2c8a0b adjust description of checkbox for register-true Change-Id: I3c6faa3e91b62d40711d6581e3743f092ad98aa6 Reviewed-on: https://gerrit.libreoffice.org/21539 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-01-18Updated coreStanislav Horacek
Project: help a831bdbf95af21d99c310f985370ec948409312b remove redundant tags Change-Id: I6ab93a826bcc1b768dab40ee90824da6375d6b85 Reviewed-on: https://gerrit.libreoffice.org/21538 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-01-17vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock
Change-Id: Ie20871a3078bf875c1782b7761d60591a9c9704f Reviewed-on: https://gerrit.libreoffice.org/21529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-18Don't update the save icon on every keystrokeMaxim Monastirsky
Change-Id: Iad6195ea8b082ca5e6c1a7e9fa48742ff2b495a6
2016-01-17crashtesting: plain-text import allows liberal with the UTF-8 inputCaolán McNamara
see ImplConvertUtf8ToUnicode which allows surrogates, so we need a non-liberal utf-input there if we want to enfore non-liberal utf-output here. Change-Id: I713818d7b6d79922d9b08f2b137a803384eccb65
2016-01-17cppcheck: fix 2 variableScope reports in scJulien Nabet
Change-Id: Iea1f8b851d3d9b5c9b22165f1a33e124212d8e80 Reviewed-on: https://gerrit.libreoffice.org/21535 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-01-17sax: use CPPUNIT_ASSERT_THROWMatúš Kukan
Change-Id: I34b0b559a91e77cc497e14d8ffad7e2c80e43d79 Reviewed-on: https://gerrit.libreoffice.org/21531 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Matúš Kukan <matus@libreoffice.org>
2016-01-17cppcheck: fix 2 variableScope reports in editengJulien Nabet
Change-Id: Ic87c5b1d8f96b7f25ce323a49455d1ac16d1bf86 Reviewed-on: https://gerrit.libreoffice.org/21533 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-01-17tdf#97196: Slide transition, fix some variant namesJulien Nabet
For Cover, Uncover and Diagonal Change-Id: If382287429c178b96d5a2f33d1224807f7382a05 Reviewed-on: https://gerrit.libreoffice.org/21527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-01-17Updated coreRicardo Palomares
Project: dictionaries 0d3b5e5314e68c3cf5d573b2e7bdc11143dcb821 Bring shipped Spanish dictionary up to version 2.0 Change-Id: Iecc9e2d62bd72fa5cdcafe6f04343c611b056cff Reviewed-on: https://gerrit.libreoffice.org/21522 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-01-16slideshow: Add some volume to the Honeycomb hexagons, making them look betterEmmanuel Gil Peyrot
Change-Id: Ic0f62f36faccb65ab4fbc7bb5553d096a2658f96
2016-01-16slideshow: Tweak a few constants to make Glitter and Honeycomb look nicerEmmanuel Gil Peyrot
Change-Id: I5dd15f3d483caaedbf58a7ad12bf24798694524f
2016-01-16tdf#97192 “Capacity” is a weird term for “size”Adolfo Jayme Barrientos
Also, rename “size” to “dimensions” so as to avoid repetition. Change-Id: Ide933e7ccd0cb50be56573ef96afad0b858413cf
2016-01-16revert vcl patch series that brok Mac and WindowsNorbert Thiebaud
revert: 9bc2f3de8672e812f3a67541c6d7069b434a7e42 vcl: add comment about ImplFontMetric::{Get|Set}LineHeight() 26371f105bc44e04469ec03fc5bb12505e651c6b vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic() 2dd0b4317372b8022efe3911b38b4fa02956d8b9 vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtual 5ab13bf3ead3539e4ad847656da81e7eb6029652 vcl: tabify font.hxx f99550dae55e40e49bf9c9875053fe2abb4c71ca vcl: change Font::SetName() to Font::SetFamilyName() 2b297116cb6bb1061c43e5714e2609c8ee9f57d2 vcl: rename Font::GetName to Font::GetFamilyName Change-Id: I23f38921187d66b970ca815eb30dda4222a2da62
2016-01-16tdf#96949 Remove global static variable m_bPreferrFirstInterceptor and ↵shubhamtibra
unused code Remove global static variable "m_bPreferrFirstInterceptor" which is always true, and remove the ifs where it is false. Change-Id: I54dcea7a6010c825a66020ec3f7448bb32d120b8 Reviewed-on: https://gerrit.libreoffice.org/21519 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16SIFR new icon for savemodified indicatorMatthias Freund
Change-Id: Id1db532103c97a09c72120a79b46edbc98af4882 Reviewed-on: https://gerrit.libreoffice.org/21514 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-16BASIC : Remove useless virtual function overrideArnaud Versini
Change-Id: I0f8e480bf73256e7f1284e11983cc70c0426172c Reviewed-on: https://gerrit.libreoffice.org/21513 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-16tdf#78431: Clean up pFrame parameter in ImplWindowFrameProcXisco Fauli
Change-Id: I441c1b89a975fa7d31094e66ef3ccad37ce40818 Reviewed-on: https://gerrit.libreoffice.org/21497 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-16BASIC : Remove useless methods in StarBasicArnaud Versini
Change-Id: I9e8ce92b967ee9c9485b7af15280f6a212ff599d Reviewed-on: https://gerrit.libreoffice.org/21498 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-16vcl: add comment about ImplFontMetric::{Get|Set}LineHeight()Chris Sherlock
Change-Id: I0cb13cdfbff3bfda13c08cd34a0032121500b4a3 Reviewed-on: https://gerrit.libreoffice.org/21518 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16vcl: FontAttributes::GetSlantType() -> FontAttributes::GetItalic()Chris Sherlock
This brings FontAttributes into line with ImplFont and Font, which is important to the refactoring work I am doing. Change-Id: I2a2ca2f18fc7b5be45d6f350c0328fad62bf2bc9 Reviewed-on: https://gerrit.libreoffice.org/21517 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16vcl: font.hxx and metric.hxx cleanup, make ctors explicit and the dtor virtualChris Sherlock
Change-Id: Iab0160bdf664689404ff6fd093b51c0b4d2c4f10 Reviewed-on: https://gerrit.libreoffice.org/21512 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16vcl: tabify font.hxxChris Sherlock
Change-Id: Iffe94aa2ff007d7361af7166f489ebfdb7593fc1 Reviewed-on: https://gerrit.libreoffice.org/21511 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16vcl: change Font::SetName() to Font::SetFamilyName()Chris Sherlock
Change-Id: I54a4036544c680c4a49607677af776aa7a433fbc Reviewed-on: https://gerrit.libreoffice.org/21510 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16vcl: rename Font::GetName to Font::GetFamilyNameChris Sherlock
Change-Id: I83927e0992dfe0a2a79d139818a9f45d3761aae5 Reviewed-on: https://gerrit.libreoffice.org/21509 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-16build liblangtag as shared lib on linux and OS XDavid Tardon
Change-Id: I3ae138d1a06d22be42a3cd6f565fba6950208fc6
2016-01-16drop superfluous dependencyDavid Tardon
Change-Id: Id105284fae75945c4c054fcac8c6390a4a62f1e1
2016-01-16Fix ODR Violations under LTOPeter Foley
/home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: warning: type ‘struct SlideshowImpl’ violates one definition rule [-Wodr] class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: note: a different type is defined in another translation unit class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:334:28: note: the first difference of corresponding definitions is field ‘mpShowWindow’ VclPtr<ShowWindow> mpShowWindow; ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:334:28: note: a field of same name but different type is defined in another translation unit VclPtr<ShowWindow> mpShowWindow; ^ /home/peter/libreoffice/include/vcl/vclptr.hxx:75:7: note: type name ‘VclPtr<sd::ShowWindow>’ should match type name ‘VclPtr<ShowWindow>’ class VclPtr ^ /home/peter/libreoffice/include/vcl/vclptr.hxx:75:7: note: the incompatible type is defined here class VclPtr ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:166:7: warning: type ‘struct SlideShowView’ violates one definition rule [-Wodr] class SlideShowView : public ::comphelper::OBaseMutex, ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:166:7: note: a different type is defined in another translation unit class SlideShowView : public ::comphelper::OBaseMutex, ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:232:45: note: the first difference of corresponding definitions is field ‘mpSlideShow’ SlideshowImpl* mpSlideShow; ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowviewimpl.hxx:232:45: note: a field of same name but different type is defined in another translation unit SlideshowImpl* mpSlideShow; ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: note: type ‘struct SlideshowImpl’ should match type ‘struct SlideshowImpl’ that itself violate one definition rule class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase ^ /home/peter/libreoffice/sd/source/ui/slideshow/slideshowimpl.hxx:162:7: note: the incompatible type is defined here class SlideshowImpl : private ::cppu::BaseMutex, public SlideshowImplBase ^ Change-Id: Ibbb7fb6f35f7e2771aef78a38fc4b6adef131845 Reviewed-on: https://gerrit.libreoffice.org/21503 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16Fix set but unused variable warningPeter Foley
Change-Id: I23fb9abf2b9462c939d4d9caf699e48ffded3bb4 Reviewed-on: https://gerrit.libreoffice.org/21505 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16Fix ODR violations when compiling with LTOPeter Foley
/home/peter/libreoffice/sd/source/ui/controller/slidelayoutcontroller.cxx:84:8: warning: type ‘struct snewfoil_value_info’ violates one definition rule [-Wodr] struct snewfoil_value_info ^ /home/peter/libreoffice/sd/source/ui/controller/displaymodecontroller.cxx:71:8: note: a different type is defined in another translation unit struct snewfoil_value_info ^ /home/peter/libreoffice/sd/source/ui/controller/slidelayoutcontroller.cxx:86:16: note: the first difference of corresponding definitions is field ‘mnBmpResId’ sal_uInt16 mnBmpResId; ^ /home/peter/libreoffice/sd/source/ui/controller/displaymodecontroller.cxx:73:17: note: a field with different name is defined in another translation unit sal_uInt16 mnId; ^ Change-Id: Ic5f5354424188a0889e842e80cb70dd90ecaeff3 Reviewed-on: https://gerrit.libreoffice.org/21504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-16use a map for dispatchBjoern Michaelsen
Change-Id: I29c88c834a01f8d04a2998ea3edfa95cd0cadb85
2016-01-16remove bDone band-aidBjoern Michaelsen
Change-Id: I7c4783ab70e7456d30ee86bb1c415e6d54df3285