summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Collapse)AuthorFilesLines
2016-08-26tdf#100726 - Improve readability of OUString concatanationsGökhan Gurbetoğlu1-3/+3
Change-Id: I3099818283a9801976288d0efa67a8711106f376 Reviewed-on: https://gerrit.libreoffice.org/28360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-24tdf#96505 get rid of "long" integer literals 'L'Asela Dasanayaka2-4/+4
Remove L from integer literals in module rsc all OL and 1L Change-Id: I4a47fead01c2e7f1febc5299eb0905ecf14cee2a Reviewed-on: https://gerrit.libreoffice.org/27818 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2016-08-01GSoC Writer Table Styles; Table Styles PanelJakub Trzebiatowski1-0/+1
Table styles panel: + Added simple table style panel tab icon. icon-themes/galaxy/sw/imglst/sf06.png + Listing table styles (hierarchical, same order as in container) + Listing all table styles (sorted by name). + Listing applied table styles. + Listing custom styles. + Listing hidden styles. + Hide/show style. + Applying style by double clicking. + Highlight current table style. Everything else yet to be done. Table styles (SwTableAutoFormat): + "hidden" property. + "userDefined" property. "Default style" is not user defined. Styles loaded from tblauto.fmt are also not user defined. Styles loaded from .odt are user defined. Styles created manually (before binary load/save roundtrip) are user defined. Change-Id: I739a48ae1d7ae66f4f8c08076871437ca491bd4e Reviewed-on: https://gerrit.libreoffice.org/27638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-27improve passstuffbyref return analysisNoel Grandin3-4/+4
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-25new loplugin overrideparamNoel Grandin9-18/+18
verify that parameters on override methods have the same set of default values for their params as their parent/super-methods do. Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2 Reviewed-on: https://gerrit.libreoffice.org/27437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-11loplugin:nullptr: Better heuristic to determine code shared between C and C++Stephan Bergmann2-6/+6
Change-Id: I51e1c5fa4639e51fac90f92adf3d87d12960d589
2016-07-08loplugin:redundantcast: redundant static_casts in rscStephan Bergmann2-5/+5
Change-Id: I6cdc267965d787ac4caa6ccb9e277fff18f9841f
2016-07-04remove comphelper::string::removeNoel Grandin1-1/+1
and replace it with OUString/OString::replaceAll Change-Id: I37b1c3b51251dfd9d749d6f1060c75b3a93d7f1a Reviewed-on: https://gerrit.libreoffice.org/26850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-28loplugin:singlevalfields in variousNoel Grandin3-4/+1
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e Reviewed-on: https://gerrit.libreoffice.org/26738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-06-23tdf#99589 - tolower / toupper - dangerous to Turks ...Gökhan Gurbetoğlu1-1/+2
Change-Id: Id3b9abd557f2b8dfc942589362452cbdb0232da9 Reviewed-on: https://gerrit.libreoffice.org/26546 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-06-02loplugin:unusedfieldsNoel Grandin2-3/+0
Change-Id: Ieed5f4d9411478d2568b8e5f4bbe0782bd1d309d Reviewed-on: https://gerrit.libreoffice.org/25724 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31Convert RSC_TOOLBOXITEM to scoped enumNoel Grandin3-29/+12
Change-Id: Ic90b6950016417d5f57963ab69fd20905a943bb7 Reviewed-on: https://gerrit.libreoffice.org/25683 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-31loplugin:unusedmethodsNoel Grandin1-1/+0
Change-Id: Ifeb818227a960cab8fd2e8e7352468efbfe1232c Reviewed-on: https://gerrit.libreoffice.org/25668 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30Convert WINDOW flags to scoped enumNoel Grandin1-11/+9
Change-Id: I952fcc940cfe4daca5a810a406a2b8ecd3bd6f47 Reviewed-on: https://gerrit.libreoffice.org/25582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-30Convert RSC_TOOLBOX to scoped enumNoel Grandin3-22/+7
and drop unused (in .src files) constants Change-Id: I1ef085d128893dc3234592e248451f248efb08ba Reviewed-on: https://gerrit.libreoffice.org/25581 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-27Revert "Remove more RSC_DOCKWINDOW related stuff"Michael Stahl2-0/+14
This reverts commit 538a217263230765961f6cabbc8d8e168b3eaac0. Depends on the previous reverted commit Change-Id: Ie3cdef43e746712beab31af2abaaede4e53d5506
2016-05-27Revert "remove unused RSC_DOCKWINDOW flags"Michael Stahl3-3/+19
This reverts commit c8754b38ce205845aad5cde3c5ad4070ce38f7d5. This causes toolkit.AccessibleDropDownListBox to fail with: LOG> ImplementationName Unknown, does not implement XServiceInfo Exception while getting Environment Couldn't create a test object
2016-05-27Remove more RSC_DOCKWINDOW related stuffNoel Grandin2-14/+0
Change-Id: I89f929c32a71be4fb2f7a867940de4c008079518
2016-05-27remove unused RSC_DOCKWINDOW flagsNoel Grandin3-19/+3
Change-Id: I2e2d82760b10876a7cf2a8cfb375926eb24d23e4 Reviewed-on: https://gerrit.libreoffice.org/25462 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26loplugin:unusedmethodsNoel Grandin4-37/+0
Change-Id: Ib36bc0e87d00abb638cbfec511cd13b6179eabda Reviewed-on: https://gerrit.libreoffice.org/25431 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26loplugin:unusedreturntypesNoel Grandin1-2/+1
and clean up the python script Change-Id: I0a7068153290fbbb60bfeb4c8bda1c24d514500f Reviewed-on: https://gerrit.libreoffice.org/25439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26convert RSC_IMAGE to scoped enumNoel Grandin1-4/+2
and drop unused RSC_IMAGE_IMAGEBITMAP Change-Id: I6c38e5e8e17d288ab525bbef368ebbc7e860e154 Reviewed-on: https://gerrit.libreoffice.org/25458 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26Convert METRICFORMATTER to scoped enumNoel Grandin1-2/+2
Change-Id: If7004e0ca3f2dc229b1b36c07811eef09456b437 Reviewed-on: https://gerrit.libreoffice.org/25464 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-26Convert METRICFIELD to scoped enumNoel Grandin1-3/+3
Change-Id: I283d578071af549c0f8f50de728859b6715e47b5 Reviewed-on: https://gerrit.libreoffice.org/25463 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-25new src file has ExtraLong in use anymoreCaolán McNamara1-2/+0
Change-Id: I1d31fb41a8f7def6a95a46dd61d0be4b608c6994
2016-05-25no src file has BorderStyle in use anymoreCaolán McNamara1-16/+0
Change-Id: Id2d2d845c73a7c83bef2e66ede542e99b0475af8
2016-05-25(nearly) nothing uses GetUniqueId anymore, so remove it.Caolán McNamara1-2/+0
The odd one out is the usage in Formula, which attempts to restore focus to a particular window identified by an unique id. In this case restore focus by keeping a VclPtr to the desired window. Change-Id: I1dc335325c109d75745c6bba2e12662e6ae50638
2016-05-22Convert RSC_IMAGEBUTTON to scoped enumNoel Grandin1-3/+3
Change-Id: Iedb0cfa8678627dbd0445e05524bd26a2c5838a2 Reviewed-on: https://gerrit.libreoffice.org/25258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-22Convert RSC_IMAGELIST to scoped enumNoel Grandin1-3/+3
Change-Id: Iaf5f0723ab3e23e9afa1836a1b4cd8af2d86f010 Reviewed-on: https://gerrit.libreoffice.org/25257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-19loplugin:unusedmethods in package to rscNoel Grandin5-57/+0
Change-Id: I61c6f56a69891d656a41d3617d0ce2b34d848c84 Reviewed-on: https://gerrit.libreoffice.org/25108 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16remove ACCELITEM stuff from rscNoel Grandin3-37/+0
Change-Id: I97dade0324edfb2d67ee33ef07498166b499c13c Reviewed-on: https://gerrit.libreoffice.org/25003 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16convert NUMERICFORMATTER to scoped enumNoel Grandin1-8/+5
Change-Id: Ia6762153a73f01a237bfc03bf9a95a4117d1d998 Reviewed-on: https://gerrit.libreoffice.org/25010 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16remove unused RSC_SYSWINDOW and RSC_WORKWINNoel Grandin3-67/+0
Change-Id: I2c7db8a635c6770ff3221ee28b9349668d8d5881 Reviewed-on: https://gerrit.libreoffice.org/25004 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16convert RSC_MENUITEM to scoped enumNoel Grandin3-22/+13
Change-Id: I35469edc7d8e5621f016f5eba613474d45711cd3 Reviewed-on: https://gerrit.libreoffice.org/24998 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16convert RSC_MENU to scoped enumNoel Grandin1-3/+3
Change-Id: Ice3784b4168738550d2c0f5ee6da1bd49d15becf Reviewed-on: https://gerrit.libreoffice.org/24997 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-16Convert RSWND to scoped enumNoel Grandin2-2/+4
Change-Id: If6e5753ade8b096a4ba1c10b47c2360ff26d181f Reviewed-on: https://gerrit.libreoffice.org/24993 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-10Replace fallthrough comments with new SAL_FALLTHROUGH macroStephan Bergmann2-2/+2
...which (in LIBO_INTERNAL_ONLY) for Clang expands to [[clang::fallthrough]] in preparation of enabling -Wimplicit-fallthrough. (This is only relevant for C++11, as neither C nor old C++ has a way to annotate intended fallthroughs.) Could use BOOST_FALLTHROUGH instead of introducing our own SAL_FALLTHROUGH, but that would require adding back in dependencies on boost_headers to many libraries where we carefully removed any remaining Boost dependencies only recently. (At least make SAL_FALLTHROUGH strictly LIBO_INTERNAL_ONLY, so its future evolution will not have any impact on the stable URE interface.) C++17 will have a proper [[fallthroug]], eventually removing the need for a macro altogether. Change-Id: I342a7610a107db7d7a344ea9cbddfd9714d7e9ca
2016-05-09convert SfxStyleFamily to scoped enumNoel Grandin3-6/+8
and update the RSC compiler to accept such In the process fix some confusion in SD where it was confusing SfxStyleFamily and the index of the relevant family (which other parts of the code in SVL use) Change-Id: I1efc9f85fbed8ab76eafe8f6e1ada411753ae5f9
2016-05-09convert SFX_SLOT_INFO to scoped enumNoel Grandin5-2/+32
Change-Id: Ib640fc2cfce23bf8ce92ec1549034078123c06aa Reviewed-on: https://gerrit.libreoffice.org/24752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-09convert SFX_STYLE_ITEM to scoped enumNoel Grandin6-11/+42
Change-Id: I929603a12c29931074a467d1472ef686c1d4e8ee Reviewed-on: https://gerrit.libreoffice.org/24751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-05-01rsc - remove obsolete FILE_LOCAL macros.erdemdemirkapi5-23/+14
Change-Id: I92c19459646eaceffe87ef0f002c988595f221c5 Reviewed-on: https://gerrit.libreoffice.org/24549 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-30tdf#99587 - make rsc work in tr_TR.UTF-8 locale.Michael Meeks3-40/+12
toupper / tolower problematic with exciting Turkish 'i's, bug introduced: |* Ersterstellung MM 13.02.91 Change-Id: Ifa5cfa7cf28cc3948b9206cda426eb1409dd7cc7 Reviewed-on: https://gerrit.libreoffice.org/24519 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-04-30Fix typosAndrea Gelmini2-2/+2
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73 Reviewed-on: https://gerrit.libreoffice.org/24317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-26loplugin:nullptrStephan Bergmann1-23/+28
Change-Id: I699ce2c97d7874eac78b3afcd08ba011f56156bd
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann1-2/+2
Change-Id: I0a21a23a2f8b9e87f53283c88973109dd54af1b4
2016-04-14loplugin:passstuffbyref in variousNoel Grandin3-3/+3
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
2016-04-05loplugin:constantparamNoel Grandin2-6/+5
Change-Id: I821ed77a6c6014c9a82d31a4b117ed6f1b4abf18 Reviewed-on: https://gerrit.libreoffice.org/23832 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-01tdf#97966 Drop 'static' keywordsWastack1-3/+3
Including no keywords from extern "C" blocks Change-Id: I87f2ed75888b51ec9e0cb75566bf7c2351b479b4 Reviewed-on: https://gerrit.libreoffice.org/23675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-23-Werror=unused-but-set-variableStephan Bergmann1-3/+0
Change-Id: I7c0f1e37f3a53dfed09c4e13d10826022b3ca777
2016-03-23loplugin:constantparam in rscNoel Grandin6-71/+28
Change-Id: I54f80c9c759eec4b73d1fd194e3efc8156bd3e2d