summaryrefslogtreecommitdiff
path: root/rsc/source
AgeCommit message (Collapse)AuthorFilesLines
2013-07-08add degrees and pixels as known spin field unitsCaolán McNamara1-0/+2
Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d
2013-07-04warning C4805 unsafe mixture of type int and type boolMichael Stahl1-1/+2
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 Thiebaud23-2004/+2393
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 Arnhold1-1/+1
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28fdo#62699 remove rsc/inc/vclrsc.hxxThomas Arnhold3-10/+11
Change-Id: I8a90bfcfff904d42a529644ae7b6f03d0ac762eb
2013-06-24fdo#43460 sd,rsc,ucb,sdext: use isEmpty()Jelle van der Waa1-2/+2
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 Nabet1-1/+1
Change-Id: Ib860b6dc3b7ace5f737d283778827bfb0783b362
2013-05-08Revert "coverity#983096: Resource leak"Noel Power1-1/+0
This reverts commit 039bfd3e517f75cf99eb8eb105d3b83692f6e484.
2013-05-08coverity#983096: Resource leakJulien Nabet1-0/+1
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-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák14-105/+98
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 Rathke2-3/+3
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 Rathke1-10/+0
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-03rsc with language tagsEike Rathke2-92/+50
Change-Id: I5401a9bcbd1e359ef62e8d667edf6ead1479ce46
2013-04-03correct number of format operands for fprintfEike Rathke1-2/+2
Change-Id: I4fbfd3cacaa87ed1a8faa123a269d82f82ba22da
2013-03-27fix extension replacer (rsc)Andras Timar1-1/+1
Change-Id: I0808aeedf87fd181380077f5cfd7b12dc3b33ef3
2013-03-27stop uninitialized memory leaking into resource files.Andras Timar1-0/+3
Change-Id: I8659426dd4ea0c13c8ed839ef5cfb686e6648042
2013-03-27-Wunused-macrosStephan Bergmann3-12/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27fdo#39445 writing out tools/fsys.hxx (rsc)Andras Timar1-51/+41
Change-Id: Iacab9b8a16d8278ae9a41249d36ca1aaad2d5794
2013-03-27remove unused functionality from Resource CompilerAndras Timar27-3606/+30
and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
2013-03-25remove external include guardsThomas Arnhold2-10/+0
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25Revert "replace DirEntry to osl::FileBase in a few cases in rsc"Andras Timar1-14/+10
This reverts commit 7540bc8e105e114d4aecb1ed3f3044e5ce8a6fc6. Conflicts: rsc/source/rsc/rsc.cxx Change-Id: I7f89f7bf07f68e053d29283f659241aca8e48eed
2013-03-25remove unnecessary 'using' linesAndras Timar1-4/+0
Change-Id: I7efc18ac16223f83bb9839a76643291f7334ef91
2013-03-25replace DirEntry to osl::FileBase in a few cases in rscAndras Timar1-11/+14
Change-Id: Ic0d9fee77891dae03c121f4b48ee9da89730d1aa
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann1-7/+3
...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-21Revert "RscCmdLine: don't use obsolete DirEntry"Michael Stahl1-4/+5
This reverts commit 3b00a7f87b8d428dc8c3d1d0ddb84b74bb2343d4. Breaks the build on windows, requires adapting RscCompiler::GetImageFilePath() to match.
2013-03-21stop uninitialized memory leaking into resource files.Michael Meeks1-1/+4
Change-Id: Ifb74ce0c60e0d0796d5d04a67e9d58721b58593c
2013-03-21RscCmdLine: don't use obsolete DirEntryMiklos Vajna1-5/+4
Change-Id: I49b2ca742da96ced5326b3e31f3cec35bfaabcc2
2013-03-19fdo#39445 writing out tools/fsys.hxx (rsc)Krisztian Pinter3-3/+0
removed unused includes from rscdb.cxx, start.cxx and rscclass.cxx Change-Id: I6f7e54c9f494b7b40a0cf30f13100073b9c37f17 Reviewed-on: https://gerrit.libreoffice.org/2853 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-03-19further OUString cleanupThomas Arnhold1-1/+1
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-1/+1
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19reduce whitespaces between include and filenameThomas Arnhold7-36/+36
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-14fdo#39445 writing out tools/fsys.hxxKrisztian Pinter2-9/+7
removed unused <tools/fsys.hxx> include from gengal.cxx changed file copying to sal version in htmlex.cxx rewrote OutputFile in rsctools.cxx very minor change in rsc.cxx - instead of creating an empty DirEntry and getting its path, just used "." Change-Id: Ifd57d73847ff271bcb64b12a26a564acc051fcef Reviewed-on: https://gerrit.libreoffice.org/2680 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-09coverity#705676: fix memory leakMarkus Mohrhard1-4/+7
Change-Id: Ibae1a0d073249ecfbfee0f73473d66bbf2602aff
2013-03-08simplify compareTo (now correct)Thomas Arnhold1-1/+1
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann1-1/+1
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold1-1/+1
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-15/+15
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-04sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04doubled includesThomas Arnhold1-1/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-02-26this dmake file in rsc was inadvertently addedCaolán McNamara1-0/+0
Change-Id: Ie8a8a8a4a82e3ca0175ac5a0275da6ca1474fa5d
2013-02-23Fix typo accessable/accessibleJulien Nabet1-1/+1
Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
2013-02-13Reduce scopeJulien Nabet1-1/+1
Change-Id: I8e62de343021942fd80ed6846bfa5c0b0ee4a347
2013-02-12Some cppcheck cleaningJulien Nabet1-2/+2
Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
2013-02-12Some cppcheck cleaningJulien Nabet1-7/+4
Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
2013-02-06Some cppcheck cleaningJulien Nabet1-10/+4
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
2013-01-27Some cppcheck cleaningJulien Nabet1-5/+2
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac1-1/+1
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-09Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac1-1/+1
2012-12-27Check for __GNUC__ instead of GCC in sourcesTor Lillqvist1-1/+1
We still have checks for $(COM) being GCC or MSC in makefiles, of course. But there is no reason to pass -D$(COM) to compilations. Checking the built-in compiler-specific macros __GNUC__, _MSC_VER (etc) is the right thing to do. Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist1-1/+1
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97