summaryrefslogtreecommitdiffstats
path: root/rsc/source
Commit message (Collapse)AuthorAgeFilesLines
* Quiet cppcheckJulien Nabet2013-05-161-1/+1
| | | | Change-Id: Ib860b6dc3b7ace5f737d283778827bfb0783b362
* Revert "coverity#983096: Resource leak"Noel Power2013-05-081-1/+0
| | | | This reverts commit 039bfd3e517f75cf99eb8eb105d3b83692f6e484.
* coverity#983096: Resource leakJulien Nabet2013-05-081-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>
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0714-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
* new module i18nlangtagEike Rathke2013-04-052-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
* ditch unused LANGUAGE_USER[1-9]Eike Rathke2013-04-031-10/+0
| | | | Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
* rsc with language tagsEike Rathke2013-04-032-92/+50
| | | | Change-Id: I5401a9bcbd1e359ef62e8d667edf6ead1479ce46
* correct number of format operands for fprintfEike Rathke2013-04-031-2/+2
| | | | Change-Id: I4fbfd3cacaa87ed1a8faa123a269d82f82ba22da
* fix extension replacer (rsc)Andras Timar2013-03-271-1/+1
| | | | Change-Id: I0808aeedf87fd181380077f5cfd7b12dc3b33ef3
* stop uninitialized memory leaking into resource files.Andras Timar2013-03-271-0/+3
| | | | Change-Id: I8659426dd4ea0c13c8ed839ef5cfb686e6648042
* -Wunused-macrosStephan Bergmann2013-03-273-12/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* fdo#39445 writing out tools/fsys.hxx (rsc)Andras Timar2013-03-271-51/+41
| | | | Change-Id: Iacab9b8a16d8278ae9a41249d36ca1aaad2d5794
* remove unused functionality from Resource CompilerAndras Timar2013-03-2727-3606/+30
| | | | | | and remove ASCII art comments and other useless comments Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
* remove external include guardsThomas Arnhold2013-03-252-10/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Revert "replace DirEntry to osl::FileBase in a few cases in rsc"Andras Timar2013-03-251-14/+10
| | | | | | | | | This reverts commit 7540bc8e105e114d4aecb1ed3f3044e5ce8a6fc6. Conflicts: rsc/source/rsc/rsc.cxx Change-Id: I7f89f7bf07f68e053d29283f659241aca8e48eed
* remove unnecessary 'using' linesAndras Timar2013-03-251-4/+0
| | | | Change-Id: I7efc18ac16223f83bb9839a76643291f7334ef91
* replace DirEntry to osl::FileBase in a few cases in rscAndras Timar2013-03-251-11/+14
| | | | Change-Id: Ic0d9fee77891dae03c121f4b48ee9da89730d1aa
* Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann2013-03-251-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
* Revert "RscCmdLine: don't use obsolete DirEntry"Michael Stahl2013-03-211-4/+5
| | | | | | | This reverts commit 3b00a7f87b8d428dc8c3d1d0ddb84b74bb2343d4. Breaks the build on windows, requires adapting RscCompiler::GetImageFilePath() to match.
* stop uninitialized memory leaking into resource files.Michael Meeks2013-03-211-1/+4
| | | | Change-Id: Ifb74ce0c60e0d0796d5d04a67e9d58721b58593c
* RscCmdLine: don't use obsolete DirEntryMiklos Vajna2013-03-211-5/+4
| | | | Change-Id: I49b2ca742da96ced5326b3e31f3cec35bfaabcc2
* fdo#39445 writing out tools/fsys.hxx (rsc)Krisztian Pinter2013-03-193-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>
* further OUString cleanupThomas Arnhold2013-03-191-1/+1
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-191-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>
* reduce whitespaces between include and filenameThomas Arnhold2013-03-197-36/+36
| | | | Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
* fdo#39445 writing out tools/fsys.hxxKrisztian Pinter2013-03-142-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>
* coverity#705676: fix memory leakMarkus Mohrhard2013-03-091-4/+7
| | | | Change-Id: Ibae1a0d073249ecfbfee0f73473d66bbf2602aff
* simplify compareTo (now correct)Thomas Arnhold2013-03-081-1/+1
| | | | | Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Revert "simplify some compareTo"Stephan Bergmann2013-03-081-1/+1
| | | | | | | | | | This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
* simplify some compareToThomas Arnhold2013-03-081-1/+1
| | | | Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-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>
* sal_Bool to boolTakeshi Abe2013-03-041-1/+1
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* doubled includesThomas Arnhold2013-03-041-1/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* this dmake file in rsc was inadvertently addedCaolán McNamara2013-02-261-0/+0
| | | | Change-Id: Ie8a8a8a4a82e3ca0175ac5a0275da6ca1474fa5d
* Fix typo accessable/accessibleJulien Nabet2013-02-231-1/+1
| | | | Change-Id: I2f6d00a6361243a52a593acaaf2bf624d8a2730e
* Reduce scopeJulien Nabet2013-02-131-1/+1
| | | | Change-Id: I8e62de343021942fd80ed6846bfa5c0b0ee4a347
* Some cppcheck cleaningJulien Nabet2013-02-121-2/+2
| | | | Change-Id: I8609949377181f8edb30ac07b2791cfcd079fc7d
* Some cppcheck cleaningJulien Nabet2013-02-121-7/+4
| | | | Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
* Some cppcheck cleaningJulien Nabet2013-02-061-10/+4
| | | | Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
* Some cppcheck cleaningJulien Nabet2013-01-271-5/+2
| | | | Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-211-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>
* Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-01-091-1/+1
|
* Check for __GNUC__ instead of GCC in sourcesTor Lillqvist2012-12-271-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
* We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist2012-11-281-1/+1
| | | | | | We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
* use LanguageTagEike Rathke2012-11-201-1/+2
| | | | Change-Id: I9aa7ff4a1aedee6fa029e3d94301788be1a3761a
* incorrect body alignmentLuboš Luňák2012-11-204-139/+139
| | | | Change-Id: Ie62113f0018e71c984845f1684a4876809b901c4
* unused variableLuboš Luňák2012-11-201-1/+1
| | | | Change-Id: Id6de037a510b129799c89dc4a7fdb105ac006b2a
* Turn some memmove into memcpy when it is safe to do so.jailletc362012-11-141-2/+2
| | | | | | | | | | | | Most of the changes are related to newly allocated memory, so we are sure it can not overlap with the source of the copy. Change-Id: Ie6ccf1bbb07b792fb18601a38dfaa55755d14b7d Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1033 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* More useless code, "#if 0" blocks in lingucomponent, sal, and rscMarcos Paulo de Souza2012-10-171-6/+0
| | | | | Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* mark lcl_ functions static or rename them if they are not local at allLuboš Luňák2012-10-121-1/+1
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1