summaryrefslogtreecommitdiff
path: root/sfx2/source/control
AgeCommit message (Collapse)Author
2014-10-02coverity#1242921 Result is not floating-pointCaolán McNamara
Change-Id: Iaeb1d6074fa7c9f66810cee563be0850ccc1d769
2014-10-02fix for older compiler, doesn't like <::Noel Grandin
Change-Id: I2d05af506ae38ec3e61c9b6afaf2b39521067005
2014-10-02loplugin: cstylecastNoel Grandin
Change-Id: I4a230f45e91773fca7d537e91c9e9fb54773cf10
2014-10-01fdo#75757: remove inheritance to std::mapTakeshi Abe
from SfxItemPtrMap. Change-Id: Id7e9667f9b918afaf92d9e71bf0e2c2e9c296474 Reviewed-on: https://gerrit.libreoffice.org/11696 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-28fdo#75757: remove inheritance to std::vectorTakeshi Abe
from SfxVerbSlotArr_Impl. Change-Id: I84582f10095638a0fef82aa46f721d57a8b27c27 Reviewed-on: https://gerrit.libreoffice.org/11662 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-26fdo#75757: remove inheritance to std::vectorTakeshi Abe
from SfxFoundCacheArr_Impl, by typedef'ing it as boost::ptr_vector<SfxFoundCache_Impl>. Change-Id: Id0e50370b440fb53dbb56dabca9743b27a08b90d Reviewed-on: https://gerrit.libreoffice.org/11650 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25Start Center Template Manager TweaksEfe Gürkan YALAMAN
Template Manager and the related Start Center view has same transparent highlight color as Recent Documents. Also Template thumbnail containers should have the same size as Recent Docs view. Change-Id: I22e417a5c5ca5a849577d5a438a193371368fe24 Reviewed-on: https://gerrit.libreoffice.org/11467 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-25Fix miscellaneous memory leaksMatthew J. Francis
thumbnailview.cxx: ::ImplInitSettings is called from various places other than the constructor, so mpItemAttrs must be freed each time gloactiongroup.cxx: Must call g_list_free on list returned by g_hash_table_get_keys Change-Id: Id5a592520987a1596debdbc48bfa171a537e400b Reviewed-on: https://gerrit.libreoffice.org/11638 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-22remove unused fields pName and pMethodName in SfxSlot classNoel Grandin
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
2014-09-22fdo#84086 Fix assorted use-after-free bugsMatthew J. Francis
Change-Id: Iec004fffdb0afbe27bd69f379db90f6d904a8a65 Reviewed-on: https://gerrit.libreoffice.org/11553 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-11create a master document template typeCaolán McNamara
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-10Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULTStephan Bergmann
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
2014-09-09Doxygenize comments, and move them in front of the functions.Jan Holesovsky
Change-Id: I03723d1078b7ba726c8cc94887ca854324e3f9d8
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-08-26itemdel.[ch]xx is only used in sfx2Markus Mohrhard
Change-Id: I240f15f87e27ba8a52bab244f8c784d527bff179
2014-08-26move method documentation to the header fileMarkus Mohrhard
Change-Id: I7d4f77c50a8b6b2b0d7c0868c73b0cb13f952421
2014-08-26remove whitespace and put comment before methodMarkus Mohrhard
Change-Id: Ia3f22787a07628b1b531c61f21d345def5f6e99d
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-13warning C4245: '=' : conversion from 'int' to 'sal_uInt32'...Thomas Arnhold
...signed/unsigned mismatch Change-Id: I852ddf97dd1749e409baf74d9af72ec459f574ee
2014-08-08qsort and bsearch need different kinds of callback functionsStephan Bergmann
Change-Id: I4a661434c3a51169ec14336bb39a1d2ceeb139ad
2014-08-01hidpi, startcenter: Don't set fixed font heigt in the startcenter.Jan Holesovsky
Change-Id: I68efbd08d21b514ab1659cd6bddfc2c4788c4a74
2014-07-24sfx2: remove another DBG macro that arose from the graveMichael Stahl
The callers in dispatch.cxx use methods that were removed by commit a1ce4fb4f0dbc3c4141f510e5b2b732a24d862c8 - not sure if this warning is useful or not. Change-Id: I8bb654de8e26c054318dd2037055a85d013c8bfa
2014-07-23convert SfxItemState constants to a proper enumNoel Grandin
and while we're at it - use the enum type all over the place instead of passing around sal_uInt16 - don't use bitwise logic on enum values - use enum values instead of numeric constants Change-Id: I7f24cb4d242e1c00703e7bbcf1a00c18ef1e9fd4
2014-07-22callcatcher: update unused codeCaolán McNamara
Change-Id: I1dd1b40d807c7c9d9b145aca9f69a67d786ec5ff
2014-07-17fix spelling structur -> structureNoel Grandin
Change-Id: I7aa4a9bf72732db95a67cee368f3a83a0d71bb9c
2014-07-03coverity#708816 Unused pointer valueCaolán McNamara
Change-Id: I2ea7d4a8b142d67afa43ce165b51d81f65d251de
2014-06-29Typo: beeing->beingJulien Nabet
Change-Id: I34937e400ac8576154d33e1e11b80690222f532c
2014-06-27remove SFX_APP() macro that was a mer wrapper for SfxGetApp()Norbert Thiebaud
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-25remove spurious com::sun::star::chaosMichael Stahl
Apparently some time before inital CVS import a global search-and-replace went horribly wrong and added spurious namespace prefixes everywhere. Change-Id: I4009bc3ab4b1d4c80412f75ad0e4628a382f99f0
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: Ie5e9e21f4c592c58094afc954f1de54512719fd5
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-05coverity#1000658 Missing break in switch, assuming its intentionalCaolán McNamara
Change-Id: Id208942e98c8b8fc685aa77c3c11468ed2af832d
2014-06-04coverity#982646 Missing break in switchCaolán McNamara
Change-Id: I83cdafe9a27f026e2b6c8e9153de9e8270304686
2014-05-29Related: fdo#79392 std::out_or_range -> terminateCaolán McNamara
Change-Id: I0aada90e9ea4e9fc92fd9c365aa9c7171cb10a55
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-17fdo#78782 startcenter: open document on enter keyMaxim Monastirsky
Change-Id: I501dbd6a0f4e5323a003afbb19707aad67897cd0
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-14Fix warningMaxim Monastirsky
Change-Id: I90187024bc599f66bb99295ed342e106080adeb7
2014-05-14fix buildMaxim Monastirsky
Change-Id: I40b7f9388388e05ab5b034ac81861aa34a23d2a8
2014-05-14startcenter: another attempt to fix mouse up issuesMaxim Monastirsky
see commits 1a2a961c1e7cdef648c28e211433e8de6e8a831b 4a902e0c59b0dd01e6459c226268bdee4f15489a Change-Id: I94b90dfc5db779317d4dda1171aeceeac6373548
2014-05-14Revert "startcenter: react on mouse down instead"Maxim Monastirsky
This reverts commit 1a2a961c1e7cdef648c28e211433e8de6e8a831b. As suggested by Kendy, opening with a single click by mouse up is more natural. We need to find a better solution for the bug mentioned in the above commit.
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-06Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part4Julien Nabet
Change-Id: I8e52c2fd66f8f3291434ee82a745431e11b12caf
2014-05-06Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part3Julien Nabet
Change-Id: Ibabd6d2d5e84fe007364bd1a4182a01ea2352b7a
2014-05-06Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part2 + fix some errorsJulien Nabet
Change-Id: I9c889d718a9c91eb4c2bde2389a21dd754cbef36
2014-05-06Move a few more headers that are included only in sfx2 to sfx2Tor Lillqvist
Change-Id: I8bd81a45f5ef1b76fce1563b06e05a4eefcff0ec