summaryrefslogtreecommitdiff
path: root/rsc
AgeCommit message (Collapse)Author
2014-01-10Use boolStephan Bergmann
Change-Id: Id6c1f1d4e4ee7aa29f16ef6930c1eb3d4a3a411f
2014-01-10Be explicit when using bool as integral valueStephan Bergmann
Change-Id: I0712b56dbcf8508876ed6eca5e0f02d85b35af67
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-16fdo#72598 Remove SunStudio cruft from code baseJelle van der Waa
Change-Id: I5150eec33228e18e274a8ae4effd3f185851b7f4 Reviewed-on: https://gerrit.libreoffice.org/7103 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-11-23widht -> widthJulien Nabet
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString constructorNoel Grandin
Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-12Simpligy: Bin odd atexit crackTor Lillqvist
Change-Id: Ib7e491ae66525b8ba2555b50fe7c9e1fed150987
2013-10-09CID#707521 unintialized memberCaolán McNamara
Change-Id: Ieb4417ae89718d8c5e9abf77cb3e1830c080ae4e
2013-10-09CID#707522 uninitialized memberCaolán McNamara
Change-Id: Iaadc8ea9f14dc2596f252e2f06a1613e6080f9ff
2013-09-25Revert "More ICU dependencies that are now dragged in"Matúš Kukan
Should be fixed by 913f83ac52629a524c373d2504a0cb349446b371 This reverts commits 4dd261e526f43a364c645e7022c49b61c8001a39 30d7729586a60bef061261e9e59bf44768cc0196 4e2e1ca76f772d4644a21b82f79dfb4412a9c99f
2013-09-23More ICU dependencies that are now dragged inTor Lillqvist
Change-Id: Iec214399f0cd8d5af198ad9080c55e5ee51a353d
2013-09-12CID#441298 use after freeCaolán McNamara
Change-Id: I4fd16f157244fa3406036d0f506c32bed0cf5b8a
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-27callcatcher: update unused code, esp unused Resource based ctorCaolán McNamara
e.g. no ImageRadioButton is now loaded from any res/rsc file, so that ctor and associated code paths can be stripped out Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
2013-08-23encapsulate IsoLangEntry againEike Rathke
Change-Id: I66475eb3914b07b4c7a045e295ef77a5de9439d4
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-18add some a11y relations and enable translation of msCaolán McNamara
Change-Id: Ib509a7ae62aefc919bdaed269c1605ac6bae9564
2013-08-18convert ancient .sdw documentation to .odtCaolán McNamara
Change-Id: I6a4123818f5e3c33cbec04e19e70c1f6a8b7bba2
2013-08-16callcatcher: update unused code listCaolán McNamara
Change-Id: I84f693aa6747f639bd4ae60a02dd4d8c30b7d029
2013-08-13add a seconds unitCaolán McNamara
Change-Id: I3507caab5cd61c282102ab21bf034ec54e497af3
2013-07-08add degrees and pixels as known spin field unitsCaolán McNamara
Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d
2013-07-04warning C4805 unsafe mixture of type int and type boolMichael Stahl
It is a mystery what this is supposed to do, but rsc is sort of going away in the mid-term anyway so who cares... Change-Id: If1c1b8216c0429909c0571b3360b6dca97f265c4
2013-07-03module rsc: String, bool and other clean-up.Norbert Thiebaud
Change-Id: I2dcde42e6068631a5a643961a764df86dc63dca2 Reviewed-on: https://gerrit.libreoffice.org/4690 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29Search for char instead of 1 char long string, when possible.Thomas Arnhold
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28fdo#62699 remove rsc/inc/vclrsc.hxxThomas Arnhold
Change-Id: I8a90bfcfff904d42a529644ae7b6f03d0ac762eb
2013-06-24fdo#43460 sd,rsc,ucb,sdext: use isEmpty()Jelle van der Waa
Change-Id: I7a7a77c26b74078f7fc160fbaa1c8d4e912b844e Reviewed-on: https://gerrit.libreoffice.org/4442 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-05-16Quiet cppcheckJulien Nabet
Change-Id: Ib860b6dc3b7ace5f737d283778827bfb0783b362
2013-05-08Revert "coverity#983096: Resource leak"Noel Power
This reverts commit 039bfd3e517f75cf99eb8eb105d3b83692f6e484.
2013-05-08coverity#983096: Resource leakJulien Nabet
Change-Id: I91c1d505ef0b0eb442bf76e4da66c95fa0e1bb2d Reviewed-on: https://gerrit.libreoffice.org/3818 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-03ditch unused LANGUAGE_USER[1-9]Eike Rathke
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-03rsc with language tagsEike Rathke
Change-Id: I5401a9bcbd1e359ef62e8d667edf6ead1479ce46
2013-04-03correct number of format operands for fprintfEike Rathke
Change-Id: I4fbfd3cacaa87ed1a8faa123a269d82f82ba22da
2013-03-27fix extension replacer (rsc)Andras Timar
Change-Id: I0808aeedf87fd181380077f5cfd7b12dc3b33ef3
2013-03-27stop uninitialized memory leaking into resource files.Andras Timar
Change-Id: I8659426dd4ea0c13c8ed839ef5cfb686e6648042
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27fdo#39445 writing out tools/fsys.hxx (rsc)Andras Timar
Change-Id: Iacab9b8a16d8278ae9a41249d36ca1aaad2d5794
2013-03-27remove unused functionality from Resource CompilerAndras Timar
and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
2013-03-25remove external include guardsThomas Arnhold
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25Revert "replace DirEntry to osl::FileBase in a few cases in rsc"Andras Timar
This reverts commit 7540bc8e105e114d4aecb1ed3f3044e5ce8a6fc6. Conflicts: rsc/source/rsc/rsc.cxx Change-Id: I7f89f7bf07f68e053d29283f659241aca8e48eed
2013-03-25remove unnecessary 'using' linesAndras Timar
Change-Id: I7efc18ac16223f83bb9839a76643291f7334ef91