summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-05convert HatchStyle to scoped enumNoel Grandin
Change-Id: Ibef51ae5ae135ae584791959ec3f7bf78c50e2a8
2016-09-05convert LineStyle to scoped enumNoel Grandin
Change-Id: I30cfa5a0649b806604c443f55683d1f2a430983d
2016-09-05convert RasterOp to scoped enumNoel Grandin
Change-Id: I136423c105316c9b5b18e64d04a248fd7ac5590b
2016-09-05convert FontAutoHint to scoped enumNoel Grandin
Change-Id: Ie60f2e94e178ab7ed292b20da88fb5958662a041
2016-09-05convert FontHinting to scoped enumNoel Grandin
Change-Id: I13ce9e6d50e8d4e087c936bd86e8e96997f020cd
2016-09-05convert OutDevSupportType to scoped enumNoel Grandin
Change-Id: I7a1e4448dfff0ea6909149533d228829d980796c
2016-09-04Revert "Update of pt-BR autocorr list."jan iversen
This reverts commit 27be36b66cc55886c47f0f424a354056392f75d0. Change-Id: I23add0b4942c4e9a52c0d314a3bf8fc8e20acf42 Reviewed-on: https://gerrit.libreoffice.org/28668 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-09-04coverity#1371177 default assign is good enoughCaolán McNamara
and coverity#1371311 coverity#1371240 Change-Id: I1f792b9a8e3e386633d4026d8b073ab615d243f3
2016-09-04coverity#1371167 Missing move assignment operatorCaolán McNamara
Change-Id: I95bafeb32b0444bf387efc1f6a56018975f09f29
2016-09-04Update of pt-BR autocorr list.Tiago Santos
Work is based on work according to author: " - 'DocumentList.xml' - This is the second version, with the changes introduced in 5.2.1. The file is not a patch, so it should replace the former one. The diff file is on the bug page. It should credit the Brazilian team, since the changes are mostly from them. I mostly triaged and cherry-picked. - 'SentenceExceptList.xml' - This is the abbreviations exception list. I have not done any work on it. Cherry-pick from the Brazilian version, so credit goes to them. - 'WordExceptList.xml' - Two Caps Letters exceptions. I have not done any work on it. Cherry-pick from the Brazilian version, so credit goes to them." Only DocumentList.xml contained changes. Original was sent by mail. Change-Id: Iabfc21072eb1d7f70bf5382636cd85c326d484db Reviewed-on: https://gerrit.libreoffice.org/28667 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-09-04get index only when neededJochen Nitschke
GetIndex_Impl can't be USHRT_MAX for nWhich > SFX_MAX_WHICH bSID is true and GetIndex_Impl returns nWhich - pImpl->mnStart Change-Id: I392e544d65196b7af143ee1864f9065e92b717d1 Reviewed-on: https://gerrit.libreoffice.org/28665 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-04loplugin:defaultparams: Default method parameterGiuseppe Castagno
Change-Id: I79f9eefecc6389bbf288d2be6b13129cd8f467ef Reviewed-on: https://gerrit.libreoffice.org/28663 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
2016-09-04Fix "CntUInt32Item::PutValue - Wrong type" warningsMaxim Monastirsky
... when clicking the currency button. Change-Id: I9e137b98a7c2c3025dfd66056b041257e7cf0a12
2016-09-04cppcheck: redundantIfRemoveJulien Nabet
Change-Id: I8576c5042265399de6d9c72ffd67bce0fb256923 Reviewed-on: https://gerrit.libreoffice.org/28661 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-09-04remove reimplementations of SfxItemPool::ReleaseDefaults()Jochen Nitschke
use method from base class SfxItemPool to release and remove the static pool of default items. SdrItemPool is child of XOutdevItemPool using the same static pool, no need for own code in dtor. ~SfxItemPool has a Delete() call too but with conditions. leave child's unconditional Delete() for now. Change-Id: Ife4e6398b7b0fa69483bc3c795719778c5efcc51 Reviewed-on: https://gerrit.libreoffice.org/28632 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-04tdf#101779 Multiline tooltips in template managerMaxim Monastirsky
This time just set a flag to use Balloon style, instead of forcing extended tips. Change-Id: I170bbe4b1bb95aeb9fde00cbecc2bb46c9078e9d
2016-09-04Related: tdf#101779 TipStyleBalloon for ShowQuickHelp tooMaxim Monastirsky
681294d55b6b4edcdef08982596cb4bcee32e635 converted TableDataWindow::RequestHelp to use ShowQuickHelp, but it wants to set TipStyleBalloon to be able to use line break. Also I want to do the same in the template manager dialog, in the following commit. Change-Id: Ie2569a5ab29620a5f4474dafd2309513c08bd7d2
2016-09-04tdf#101852 Revert "tdf#101779 Allow multiline tooltips in template manager"Maxim Monastirsky
This reverts commit 2decee2ccd9a4167949843da0db99edaebe6acd8.
2016-09-04Non-split currency buttonMaxim Monastirsky
Change-Id: I002af2140dd372302509509baf8d5f400ed4341a
2016-09-04Restore the toggle state of the currency buttonMaxim Monastirsky
Change-Id: Ibe7d8b183038c4a925282ccab1b637342a714712
2016-09-04cppcheck: Prefer prefix operatorJulien Nabet
Change-Id: Ie5afc17cd0a27989c11bbf1d107b95ddad1218c3 Reviewed-on: https://gerrit.libreoffice.org/28660 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-09-04cppcheck: nullPointerZolnai Tamás
Change-Id: I171d396198dc91b0e0d2ce00f130359ff5f6018b
2016-09-03cppcheck: variableScopeZolnai Tamás
Change-Id: Id290ca5e53c75b2c27dda6a6bb228a380084b115
2016-09-03cppcheck: variableScopeZolnai Tamás
Change-Id: I3850017bdf3ac2ac0436d4f64f45d61be9c8691a
2016-09-03cppcheck: variableScopeZolnai Tamás
Change-Id: Idd96330afaee66dcbeddc62c93691139c2a1830d
2016-09-03tdf#94551 Preset list: 3 entries per row and always show scrollbarYousuf Philips
Change-Id: I748b92d01031120e750f306549c7d46ed29a313a Reviewed-on: https://gerrit.libreoffice.org/28492 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-09-03coverity#1371244 Missing move assignment operatorCaolán McNamara
Change-Id: I172f8397a96e5b7d0d4639e35c591caea2a0eef4
2016-09-03try and silence uninit_memberCaolán McNamara
Change-Id: Iac633a1793a79049aa6e7adde1692b469b03b74b
2016-09-03coverity#1372444 Dereference after null checkCaolán McNamara
Change-Id: Ia756854e1f4a848b62dda38c9667ddd032989605
2016-09-03coverity#1372443 Unchecked return valueCaolán McNamara
Change-Id: I44532e3bf77e8397e1dc08d766c43ecfc0b0a59f
2016-09-03coverity#1372442 Unchecked return valueCaolán McNamara
Change-Id: I09c4500a66da8a53630e8701e1531a04e178eaf8
2016-09-03coverity#1372445 Uncaught exceptionCaolán McNamara
Change-Id: If28494c8727504c6f995576b59e6c79995e405a0
2016-09-03coverity#1372446 Uncaught exceptionCaolán McNamara
Change-Id: I831c0d2e6449eae76383163f08e7b16c7decc92f
2016-09-03Resolves: tdf#101795 restore hiding on end of Gtk fpicker executeCaolán McNamara
but don't hide it at the end of every RunDialog::run so that the dialog still exists and is visible if the "sure you want to overwrite" dialog needs to be displayed and restore the cui options stuff to its original state as well, undoing the earlier efforts of... commit c1bd3156cf66318023f36d81ce809a38072588e4 Author: Caolán McNamara <caolanm@redhat.com> Date: Thu Jul 21 21:44:06 2016 +0100 Resolves: tdf#101054 crash on options->path with non-native file picker and commit 3bbc0574d78d129359638b74612de2f93419eeb0 Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Jul 5 10:16:51 2016 +0100 Resolves: rhbz#1352835 path options doesn't promptly destroy folder picker Change-Id: I5d6bcee9fb0a73a95cc29e8f3f2ee2aea91a135a
2016-09-02tdf101725 - fixed missing autotexts from StandardMohammed Abdul Azeem
Change-Id: I1f751888e5fc28b54f4e32344769d568433eb387 Reviewed-on: https://gerrit.libreoffice.org/28572 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-09-02editeng: don't let wild-card auto-correct leave current wordMichael Stahl
If a paragraph has e.g. multiple -> in it then auto-correct of the first one will create via the .*->.* rule a new auto-correct entry that has as long-word the word that contains the first -> until the last -> and everything in between. This will be somewhat irritating when it is eventually applied. Avoid it by limiting the wild-card loop to the current word, which is apparently the intent anyway. (regression from a07425892205ff8951027ea20459b97370d01de6) Change-Id: I294bae863c44eb460627b61b4383133131fe4b3a Reviewed-on: https://gerrit.libreoffice.org/28608 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-02fftester: apparent wrong property tested for existenceCaolán McNamara
Change-Id: I5d208bb2a85d7aa4eea9b1c950eeb6f35493f759
2016-09-02tdf#101866: Get rid of two more erroneous upper-casings of stringsTor Lillqvist
Follow-up to f948dce856d51704e1962553198015dbebb6e527. Change-Id: I46c5a96a076fa6eec952e31201bb3563464cf602 Reviewed-on: https://gerrit.libreoffice.org/28626 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-09-02tdf#92733 Even better labels and tooltips for crop functionsYousuf Philips
Change-Id: I3b2368e9a0a0183bb46b3162f7c0f1503346c5fc Reviewed-on: https://gerrit.libreoffice.org/28625 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-02sd lok: implement SfxViewShell::NotifyCursor() APIMiklos Vajna
The same API is already implemented in sw and sc already, the sd implementation allows selecting a shape in one view, then creating a second view, and seeing the selection of the first view in the second view, without de-selecting and re-selecting the shape in question in the first view. Change-Id: Ia36e4772584d132f1ff6a7eb07ca4cadaa384ee9 Reviewed-on: https://gerrit.libreoffice.org/28623 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-02tdf#32581 Add the possibility to retrieve the filename of mediaAbhilash
Change-Id: I3ca1a9d830d3cb49753df61afa94413704c94a48 Reviewed-on: https://gerrit.libreoffice.org/28259 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-09-02tdf#62847 import image hyperlink in docxdrazil
The image hyperlink is a resource id in the document and needs to be translated into real URL. First I define a new type CT_Hyperlink_URL in the model and associate it with an action handleHyperlinkURL. In OOXMLFastContextHandlerProperties::handleHyperlinkURL I dispatch it to OOXMLHyperlinkURLHandler to translate resource id to real URL then set the PropertySet with real URL. Then the correct URL will be captured while resolving GraphicImport, which will be stored in GraphicImport_Impl::sHyperlinkURL as an OUString. Finally the property will be set in the GraphicImport::applyName if the length of the sHyperlinkURL is not 0. Also adds a test file image-hyperlink.docx and a test in ooxmlimport.cxx. Change-Id: I6194b9cc6bcc1bfaa033ab05e94836fe96e33f14 Reviewed-on: https://gerrit.libreoffice.org/28432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-09-02upgrade Gentium BasicCaolán McNamara
Change-Id: I054f552df5ac861abd7fe8f74ec52ba92e75faae Reviewed-on: https://gerrit.libreoffice.org/28620 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-02convert ppPoolDefaults to std::vectorJochen Nitschke
Change-Id: I13ba5b66f3ea70bae28181f580579c73a4353f68 Reviewed-on: https://gerrit.libreoffice.org/28599 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-02coverity#1371213 Missing move assignment operatorCaolán McNamara
Change-Id: I2454a230cd9a524086beba1a2ca32ea0b70bf17e
2016-09-02coverity#1371159 Missing move assignment operatorCaolán McNamara
Change-Id: I1470d6a27cb5ee5a98ddb13f4f12cb0b7289b282
2016-09-02coverity#1371145 Missing move assignment operatorCaolán McNamara
Change-Id: I3aa3267cb6a824d1a7a843f2f61d7ce08ae0cd52 Reviewed-on: https://gerrit.libreoffice.org/28619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-09-02Resolves: rhbz#101681 set hyperlink tooltip for the full hyperlink areaCaolán McNamara
not just a single point in it. This way gtk3 knows the successive tooltip hints for the positions along the hyperlink are for the same tooltip Change-Id: I46a8c960e528f6a9aaab5bea145c6870f22e46c5
2016-09-02svx: move GetSfxViewShell() to SdrMarkViewMiklos Vajna
... from SdrObjEditView. This way SdrMarkView can avoid SfxViewShell::Current() calls, and it can avoid clearing the LOK graphic selection of the old view when constructing a new view. With this, an existing graphic selection in an Impress LOK view is no longer cleared when creating a new view, thanks to the sd::View::GetSfxViewShell() override. Change-Id: I70a287aa9c2265bf59a9fb18e0c3839b8f119bbc Reviewed-on: https://gerrit.libreoffice.org/28618 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-02coverity#1371150 Missing move assignment operatorCaolán McNamara
Change-Id: Iaf59b0dfc822fd00563ae15d25fde8c3cf2e2462 Reviewed-on: https://gerrit.libreoffice.org/28614 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>