summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Collapse)Author
2016-11-15loplugin:unusedfieldsNoel Grandin
Change-Id: I1400ca0af2c357dff06e5f733ec62b13d6a96461 Reviewed-on: https://gerrit.libreoffice.org/30861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-15loplugin:constantparamNoel Grandin
Change-Id: I1a6e13584ca516f44195e724b39e78360a842c7c Reviewed-on: https://gerrit.libreoffice.org/30859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-14loplugin:unusedmethodsNoel Grandin
Checked a couple of them: StandardCheckVisisbilityRedirector is unused since commit b1f8cf37828d5f37527e54774aa4935610aa6325 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Wed Nov 2 10:57:21 2016 +0200 loplugin:singlevalfields SfxQueryStatus is unused since commit 64a708cba9b954afe3331f63c58218eb53b3d0ce Author: Caolán McNamara <caolanm@redhat.com> Date: Sat Nov 5 20:28:27 2016 +0000 Revert "Reverts a commit series that cripple windows ci." Change-Id: If1c9fe26c3ebc573d8c53c8f060b05c27f2711e5 Reviewed-on: https://gerrit.libreoffice.org/30840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-11loplugin:countusersofdefaultparams in editeng..rscNoel Grandin
Change-Id: I8a8d13faf228cbc934ae21d6763d92d370eb42ec
2016-11-08loplugin:unnecessaryvirtual in hwpfilter..rscNoel Grandin
Change-Id: I2e9df8223d503b813b4c458747e8c44bb8ef8868 Reviewed-on: https://gerrit.libreoffice.org/30661 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-04loplugin:unusedmethodsNoel Grandin
Change-Id: Ie1f840c3ec9a2d5888f95cf05e531a8a9464bf2e Reviewed-on: https://gerrit.libreoffice.org/30524 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-27coverity#1374318 Uninitialized scalar fieldCaolán McNamara
Change-Id: I247b9d37b71ebba621b63026d597037450155e18
2016-10-26SfxSlotInfo is unusedCaolán McNamara
Change-Id: I8d5438ca338868c77dcf489609a4e007cfe925fd Reviewed-on: https://gerrit.libreoffice.org/30290 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-26drop now unused SfxStyleItem, etc.Caolán McNamara
Change-Id: I61227079c376299d17250970b19acb0c415034fb
2016-10-25drop window related stuff from rscCaolán McNamara
Change-Id: I7045a34bec2f55f06239fe77e61347da73c38534 Reviewed-on: https://gerrit.libreoffice.org/30263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-10-25drop some unused declarationsCaolán McNamara
Change-Id: I88a160767c22ed234777b69c9003cc3b1a065b94
2016-10-25no RSWND anymoreCaolán McNamara
Change-Id: I5547a0d19ae60ea06dd666c77deaf0de910975d0
2016-10-25can drop RSC_WINDOW nowCaolán McNamara
Change-Id: Ic60b35eb78ebd3e934cbf45c2184edf59c971a53
2016-10-25can drop RSC_CONTROL nowCaolán McNamara
Change-Id: I651b9d2ead019507b8e48c4e19797bf8f8b9a438
2016-10-25no users of RscClassArray leftCaolán McNamara
Change-Id: I1eeeca93ef6e57bddde54dc0abf5c1984da962cc
2016-10-25no evidence that LangKeyCode is needed for anythingCaolán McNamara
Change-Id: I01cf8019fb6bba15c6ed48564ad2e65bf3fbd187
2016-10-25no FixedText loaded from .src nowCaolán McNamara
Change-Id: Ic377c5238e1763a2defdce72bbe893e826aae5ac
2016-10-25nothing uses RSC_BUTTON anymore nowCaolán McNamara
Change-Id: I016d1507fcadf5da1207241c6feec1a03188eef7
2016-10-25no PushButton loaded from .src nowCaolán McNamara
Change-Id: Ib866107995ab0496cf4f37a5e780458031d2fc25
2016-10-25no Edit controls loaded from .src nowCaolán McNamara
Change-Id: I42c7377c101c642ea39028e05e4ffd58fc7435d7
2016-10-25no ListBox loaded from .src nowCaolán McNamara
Change-Id: I7d30c38777f6a36c991271a3617d3f75c83cd490
2016-10-24no FixedImage is loaded from .src anymoreCaolán McNamara
Change-Id: I7c5acd18b14822d6344af3709c6d8cfb343104ef
2016-10-24no ImageButton loaded from .src nowCaolán McNamara
Change-Id: If6f6718e1e6d756b99a499deafa4310c76a75ad3
2016-10-19loplugin:expandablemethodds in reportdesign..salNoel Grandin
Change-Id: Idb133e442b881d263fcb83a4858c4a08b451c0f0 Reviewed-on: https://gerrit.libreoffice.org/30032 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-18loplugin:unusedmethodsNoel Grandin
Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4 Reviewed-on: https://gerrit.libreoffice.org/29968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-12drop RSC_DOCKINGWINDOW*Caolán McNamara
Change-Id: Ibcddc2def40e15f4a2f92fec13c1c3fd2f824d68
2016-10-12no toolboxes are loaded from .src anymoreCaolán McNamara
Change-Id: Ia2eabf157845b9b6b00b745332a558ffdd1e0ec7
2016-10-11remove some conversion operator methodsNoel Grandin
which, in these cases, only serve to make the code harder to read Change-Id: Ic9bcf42545b4fcfd60a535fb63956092d392f469 Reviewed-on: https://gerrit.libreoffice.org/29685 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-10no numericfield, spinfield or spinbutton loaded from .src nowCaolán McNamara
Change-Id: I90e4390d1fadcbb18036861dc9b9d39fa8a73551
2016-10-09DDExtraWidth doesn't existCaolán McNamara
Change-Id: Ic231be1487f21dbcae9290b75be34f85318ad99a
2016-10-09no ComboBoxes loaded from .src anymoreCaolán McNamara
Change-Id: Ic497dddfe326e9cc06e71c39284b2848d17ae0c8
2016-10-08no radiobuttons or checkboxes loaded from src files anymoreCaolán McNamara
Change-Id: Ie10ebcf56a6145c8edeb903bed1beb0cf5cf8a7a
2016-10-07no CheckBox loaded from src files anymoreCaolán McNamara
Change-Id: I3211707d38c15a6fd3edcbe70fc3cee9b65dd6f6
2016-10-06drop loading Colors from src filesCaolán McNamara
Change-Id: I43f2fda133371a1284a53beeeb774552210c7e3f
2016-10-06I can't see any evidence of any remaining magenta mask using image resourcesCaolán McNamara
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
2016-10-06ImageList just reads and discards the MaskColor, so drop itCaolán McNamara
Change-Id: I243e739fea28e3f38b91534182cc54c2aa660f0e
2016-10-06no MetricFields are loaded from .src files nowCaolán McNamara
Change-Id: I4b30cbc7bc6a3a3a635c3889d43b7fa6513209f5
2016-10-06drop now unused BitmapItem rsc fieldsCaolán McNamara
Change-Id: I02ed667a3573b3374fce069be0d32dbd91292e49
2016-10-05no FixedLines are loaded from resources files anymoreCaolán McNamara
Change-Id: I5b38c42e5b7fe7932e0dcc2539579d342ea9cf3b
2016-10-05convert MapUnit to scoped enumNoel Grandin
I left a prefix on the names "Map" so that I would not have to re-arrange each name too much, since I can't start identifiers with digits like "100thMM" And remove RSC_EXTRAMAPUNIT, which doesn't seem to be doing anything anymore. Change-Id: I5187824aa87e30caf5357b51b5384b5ab919d224 Reviewed-on: https://gerrit.libreoffice.org/29096 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
2016-10-02tdf#100726 Improve readability of OUString concatinatione12346
fixed the bug on rsc/source/rsc/rsc.cxx Change-Id: I0c1c92f63b8c18d3acbdcf74e7284a2dae19da44 Reviewed-on: https://gerrit.libreoffice.org/29451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2016-09-30loplugin:constantparamNoel Grandin
Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c Reviewed-on: https://gerrit.libreoffice.org/29321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-15loplugin:singlevalfields in l10ntools..saxNoel Grandin
and ignore URE headers in the plugin Change-Id: I939df744c1173cf0f67d515f6c3fb4ac4cb25588
2016-09-15replace sal_Size with std::size_t (or sal_uInt64 for SvStream pos)Michael Stahl
... except in include/rtl, include/sal, include/uno, where sal_Size is retained for compatibility, and where callers of rtl functions pass in pointers that are incompatible on MSVC. Change-Id: I8344453780689f5120ba0870e44965b6d292450c
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-09-12loplugin:constantparam in package..stocNoel Grandin
Change-Id: I04b6d14d3dd8d55ccc4d4eb9313bc37959690672 Reviewed-on: https://gerrit.libreoffice.org/28824 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-31use initializer list ctors for res typesJochen Nitschke
make nSize and nOffInstData const, let Size() return fixed sizes Change-Id: I7e2792e1cd990e65582020353054087f94856151 Reviewed-on: https://gerrit.libreoffice.org/28545 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-08-31cppcheck:noConstructor for RscEnumerateObjJochen Nitschke
use initializer lists for ctors Change-Id: I1ac13d4178d070e02223cb70d8dc80d229a5fa7b Reviewed-on: https://gerrit.libreoffice.org/28543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-08-31use range based loopsJochen Nitschke
clear of standard containers is superfluous in dtors Change-Id: I3dd482573100a67a931122670abdcc60b8521790 Reviewed-on: https://gerrit.libreoffice.org/28544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>