summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Collapse)Author
2016-06-02loplugin:unusedfieldsNoel Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Stahl
This reverts commit 538a217263230765961f6cabbc8d8e168b3eaac0. Depends on the previous reverted commit Change-Id: Ie3cdef43e746712beab31af2abaaede4e53d5506
2016-05-27Revert "remove unused RSC_DOCKWINDOW flags"Michael Stahl
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 Grandin
Change-Id: I89f929c32a71be4fb2f7a867940de4c008079518
2016-05-27remove unused RSC_DOCKWINDOW flagsNoel Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 McNamara
Change-Id: I1d31fb41a8f7def6a95a46dd61d0be4b608c6994
2016-05-25no src file has BorderStyle in use anymoreCaolán McNamara
Change-Id: Id2d2d845c73a7c83bef2e66ede542e99b0475af8
2016-05-25(nearly) nothing uses GetUniqueId anymore, so remove it.Caolán McNamara
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Grandin
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 Bergmann
...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 Grandin
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 Grandin
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 Grandin
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.erdemdemirkapi
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 Meeks
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 Gelmini
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 Bergmann
Change-Id: I699ce2c97d7874eac78b3afcd08ba011f56156bd
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
Change-Id: I0a21a23a2f8b9e87f53283c88973109dd54af1b4
2016-04-14loplugin:passstuffbyref in variousNoel Grandin
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
2016-04-05loplugin:constantparamNoel Grandin
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' keywordsWastack
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 Bergmann
Change-Id: I7c0f1e37f3a53dfed09c4e13d10826022b3ca777
2016-03-23loplugin:constantparam in rscNoel Grandin
Change-Id: I54f80c9c759eec4b73d1fd194e3efc8156bd3e2d
2016-03-13Revert "tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals"Norbert Thiebaud
This reverts commit 0c3ff8ca07265304f9ea0a7aca8c83703cff01a1. that was breaking debug and dbgutil build on windows (at least) Change-Id: Ide58bd4551029bb4e1ef791bb65ad191fbb25cae
2016-03-12WaE: loplugin:stringconcatCaolán McNamara
Change-Id: I28a106e978cdfd70847737784f9bff6ae365fda7
2016-03-12tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar
I replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0 conditionals and in some places i used SAL_INFO(..)s Change-Id: I87e2e4d73be22630dbcce6df2650b924cba9f8ec Reviewed-on: https://gerrit.libreoffice.org/23005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-03-04-Werror,-Wunused-macrosStephan Bergmann
Appears to no (longer?) be relevant here, as reported by clang-cl. Change-Id: I339f8b04eb733a9c6a97fcd4b9b4758e6a84d5c3
2016-03-02loplugin:unuseddefaultparam in rscNoel Grandin
Change-Id: Ib4cbc48295e7c16683765d1c1420fcf73235517d
2016-03-01sal_uIntPtr/sal_uLong to Index (aka sal_uInt32) in UniqueIndexMatteo Casalin
Change-Id: I212cb3bb9d920741629fc4564bbd28b393e8fe00
2016-02-23new loplugin: commaoperatorNoel Grandin
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
2016-02-17use consistent #define checks for the Windows platformNoel Grandin
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-05Fix typosAndrea Gelmini
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-02-02Compiler warning battleStephan Bergmann
...where 05642b446c39c1551d2d703be18158c7ae0f0c36 "-Werror,-Wconstant-conversion (from 255 to -1)" caused MSVC to counter with "warning C4310: cast truncates constant value" Change-Id: I7d80825a01e49817d7989e00774fed1f162dea85