summaryrefslogtreecommitdiff
path: root/rsc/source/parser
AgeCommit message (Collapse)AuthorFilesLines
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann1-9/+5
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-20rsc crash on WIN64 due to LP64Norbert Thiebaud2-23/+23
rsc stash stuff in a 'value' filed that was defined as 'long' saddly it stash also pointer there... which on WIN64 truncate 64 bits pointers in 32 bits scalar. That went unnoticed for years because on every other platform sizeof(long) = sizeof(void*) Change-Id: I218ae181c9d6b64ade457ee49942d1d07a933bb7 Reviewed-on: https://gerrit.libreoffice.org/15394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: I5be4952b732eab9a32aeaee7eb45a68698be4ad2
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann3-10/+10
Change-Id: I85d6761e72ba2f67a1d67a94cae674cbb271b43f
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin2-8/+8
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-20Some more loplugin:cstylecast: rscStephan Bergmann1-7/+3
Change-Id: If62d142481cb3520042a040325bdd9167ae178e7
2015-01-06fdo#84938: replace BUTTONTYPE_ constants with 'enum class'Noel Grandin1-3/+3
Change-Id: I54f9019297913683605b5aea9f79b3defc1dcc13
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara2-3/+3
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02Remove unnecessary comphelper::string::getTokenStephan Bergmann1-1/+1
Change-Id: I49192637121441b9a1980350b9bb32cd995d4386
2014-12-31various other apparently unnecessary rsc stuffCaolán McNamara3-32/+0
Change-Id: I745695a92023e7a14ee547ca6bef5981dd329d19
2014-12-31drop dateformatter resource loadingCaolán McNamara2-90/+0
Change-Id: Ie94c7502b0a82ca406b8d76e18def7bab8233a00
2014-12-31drop timeformatter resource loadingCaolán McNamara2-75/+0
Change-Id: I11de468ab65aa4dec761fbcc1e9416528c332dd5
2014-12-31TimeFields not loaded from resource files anymoreCaolán McNamara2-24/+0
Change-Id: Idf69d375eff4bfff7115e59530b37200ee79f086
2014-12-28splitters no longer loaded from resource filesCaolán McNamara2-22/+0
Change-Id: I84ee0c754118882734301bf1d34c15ba640a3889
2014-12-22HelpButtons no longer loaded from .rsc filesCaolán McNamara1-9/+0
Change-Id: I0fe82e319ac44a189e93fabd932e3e0a891598d2
2014-12-19fdo#39440 rsc: reduce scope of local variablesMichael Weghorn1-6/+3
This addresses some cppcheck warnings. Change-Id: I69454a75c8ce4aecf9e68f5887f38f8bf6fe6dca Reviewed-on: https://gerrit.libreoffice.org/13543 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-05fdo#84938: replace TOOLBOXITEM_ constants with enumNoel Grandin1-4/+4
Change-Id: I08c4a456f9e80f70719ca8c3ad5c0f0d2d8282f6 Reviewed-on: https://gerrit.libreoffice.org/12258 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-01fdo#84938: replace MIB_ constants with enumNoel Grandin1-5/+5
Change-Id: I58c1b4c9e4c4b3751b233d2fe10b9c953b945c4a Reviewed-on: https://gerrit.libreoffice.org/12179 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-28fdo#84938: replace TIMEF_ constants with enumNoel Grandin1-3/+3
Change-Id: Ia6aa4e21fef46b20d1d8996d2f15855b8ba1776e Reviewed-on: https://gerrit.libreoffice.org/12114 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-27fdo#84938: replace KEYTYPE_ constants with enumNoel Grandin1-19/+19
Change-Id: I563cf96f8ca815d6c8ad9f5fe365fc7ce7a2a328 Reviewed-on: https://gerrit.libreoffice.org/12104 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-21fdo#84938: replace WINDOW_BORDER constants with enumNoel Grandin1-4/+4
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
2014-10-20fdo#84938: replace TIB_ constants with enumNoel Grandin1-12/+12
Change-Id: I435ce2331fb49e7ce9fe97bdfddfaef706759a84 Reviewed-on: https://gerrit.libreoffice.org/12023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-15fdo#84938: replace SYMBOL_TYPE constants with enumNoel Grandin1-24/+24
Change-Id: Ib3763f20d74c22e28d519a9ac47f6f3ab4e31f51 Reviewed-on: https://gerrit.libreoffice.org/11983 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl1-1/+1
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-09-29loplugin: cstylecastNoel Grandin4-17/+17
Change-Id: I20eb45dda584c1c3a2e5d72425e49627fb7c3866
2014-09-06FloatingWindows are no longer loaded from resource filesCaolán McNamara2-39/+0
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
2014-08-27CancelButtons no longer loaded from resource filesCaolán McNamara1-9/+0
Change-Id: If95ae86708660007e6a0f4df27b3c364a9653dae
2014-08-27OKButtons no longer loaded from resource filesCaolán McNamara1-9/+0
Change-Id: Ice1d71e730519697c891d66909550876c9d23ebb
2014-08-26Dialogs no longer loaded from resource filesCaolán McNamara1-7/+0
Change-Id: I55295009f474dbac15be792049fa5c6c95c1ec07
2014-08-26ModalDialogs no longer loaded from resource filesCaolán McNamara2-21/+0
Change-Id: I2d208c7cc5ff9bf26bff5ab2aa40e0bf57373342
2014-08-25MessBox not loaded from resource files anymoreCaolán McNamara3-69/+0
Change-Id: I12378a1c80e1070763cd2bd0539d74f4cc270a30
2014-08-25WarningBox are no longer loaded from resource filesCaolán McNamara1-8/+0
Change-Id: Ib05a9876c0b1d3425dd1629f8a0fe3d16a57cc30
2014-08-25queryboxes cannot be loaded from resource files anymoreCaolán McNamara1-8/+0
Change-Id: I2ee03b2f8f34d9ecf8a762e7845410fd9a31590f
2014-08-20Infoboxen are no longer loaded from resource filesCaolán McNamara1-8/+0
Change-Id: If387291e9e145ee36338b1e560f18889c3b62674
2014-08-20ErrorBoxen are no longer loaded from resource filesCaolán McNamara1-8/+0
Change-Id: I099258e449d0155154d60a839f9495236cb48cbb
2014-08-20TabPages are no longer loaded from resource filesCaolán McNamara1-9/+0
Change-Id: I009e0f388cfe1861cef89d2148a02380dd47c1ff
2014-08-16RSC_TRISTATEBOX is no longer usedCaolán McNamara2-24/+0
Change-Id: Ib3f43db131cf5562ad011538873c2ee51839665c
2014-08-16RSC_MULTILINEEDIT no longer usedCaolán McNamara2-24/+0
Change-Id: If56233b5226cec9516d5e2f8992e1b0beae733bf
2014-08-16RSC_MENUBUTTON is not in use anymoreCaolán McNamara2-24/+0
Change-Id: I853b6b1cfcd4847603d9920a47298d1b9105b46f
2014-08-15drop TabControl resource loaderCaolán McNamara2-61/+0
Change-Id: Idb909c205dfadaadeb8b98ce08fe2f4286cfce26
2014-08-11various ids not loaded from .res anymoreCaolán McNamara2-107/+0
Change-Id: Id2fab3e4b7a8feed3107e66d02cdf2a278ae9ef7
2014-07-02callcatcher: rsc loaded fixedbitmap is no moreCaolán McNamara2-24/+0
Change-Id: Ie111d9ed3534eb8892400d638eac4b38b3904646
2014-06-15callcatcher: update unused codeCaolán McNamara2-49/+0
and strip away some stuff in rsc that should now be dead Change-Id: I6411e706c50dff299099680f1f942bf61c4e79f2
2014-06-11cut out the rsc loading support for stuff thats now .ui onlyCaolán McNamara2-87/+0
Change-Id: I54880de44ee10d4f71c8a514f905e8e00774fde7
2014-05-30coverity#705195 Missing break in switchCaolán McNamara1-0/+1
Change-Id: I7374fbcd6b89569530db5053fe2d9ac301ffbb80
2014-05-30coverity#705196 Missing break in switchCaolán McNamara1-0/+1
Change-Id: Ib757a4cf5c6bf6fa59b2eb1a3cb3c9c3c55431bc
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin5-24/+24
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-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold1-2/+0
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-14remove outdated RS6000 checksThomas Arnhold1-7/+1
2014-04-04coverity#707973 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I882bca4d09fe655275543cfeb3add59d4584d14b