Commit Graph

233 Commits

Author SHA1 Message Date
61fd1d2e78 fdo#62699 remove rsc/inc/vclrsc.hxx
Change-Id: I8a90bfcfff904d42a529644ae7b6f03d0ac762eb
2013-06-28 06:55:38 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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-07 14:23:11 +02:00
876c619b94 new module i18nlangtag
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-05 19:10:48 +02:00
1fa455b396 ditch unused LANGUAGE_USER[1-9]
Change-Id: I5a3b2b27fa2a7ad22cab2ae6d833707f9e490f27
2013-04-03 21:19:25 +02:00
ef291d99fb rsc with language tags
Change-Id: I5401a9bcbd1e359ef62e8d667edf6ead1479ce46
2013-04-03 21:19:24 +02:00
f8e697abc3 correct number of format operands for fprintf
Change-Id: I4fbfd3cacaa87ed1a8faa123a269d82f82ba22da
2013-04-03 21:19:24 +02:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
73ff49f47d remove unused functionality from Resource Compiler
and remove ASCII art comments and other useless comments

Change-Id: Iafa5eb5aa421b38b325bdc7cea6045b43a5c582a
2013-03-27 09:33:00 +01:00
fa545023ad Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}
...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-25 08:52:54 +01:00
768dee2c32 fdo#39445 writing out tools/fsys.hxx (rsc)
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-19 20:45:03 +00:00
5f606b0a5b coverity#705676: fix memory leak
Change-Id: Ibae1a0d073249ecfbfee0f73473d66bbf2602aff
2013-03-09 17:59:12 +01:00
ce33f85ffd sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04 23:14:41 +09:00
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
63bcb139b9 Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()
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-21 15:04:17 +00:00
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
6a9f0cdc02 use LanguageTag
Change-Id: I9aa7ff4a1aedee6fa029e3d94301788be1a3761a
2012-11-20 17:44:07 +01:00
13cca3de54 incorrect body alignment
Change-Id: Ie62113f0018e71c984845f1684a4876809b901c4
2012-11-20 16:30:02 +01:00
625e91c75f More useless code, "#if 0" blocks in lingucomponent, sal, and rsc
Change-Id: I1dda0f2b3bc2bb4a4a877c160026e53a90471d54
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2012-10-17 09:32:47 +02:00
cfda6c9a00 remove some useless comments
Change-Id: Ied223890539a3407abbed7c7135dfc3de2f2fe48
Reviewed-on: https://gerrit.libreoffice.org/429
Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com>
Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
2012-08-18 16:49:22 +00:00
7a597eb624 STL'ify UniqueIndex
Convert the UniqueIndex code from a macro to a C++ template. Also use
std::map as the underlying container instead of tools/contnr.hxx.

Change-Id: I0b7b37dd7160ae019aaecdacd1e973ac6d8498e2
2012-08-08 10:47:31 +03:00
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
9b5a4f3791 remove unused border styles
Change-Id: I4b01bdaf4fc20a55f2b4e9ebd039220031c03f11
2012-07-26 20:31:20 +04:00
1e0986beee re-base on ALv2 code. 2012-06-25 16:45:10 +01:00
c77110b486 WaE: ignoring return value of fwrite
Change-Id: I289564b8f41bbae976853aa3994751d3092ff44d
2012-05-03 21:11:42 +01:00
791f276833 Resolves: fdo#48129 maLangStr can have trailing nulls 2012-04-02 14:53:50 +01:00
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
89a8d75c12 Remove unused tools function.
this patch removes the unused (according to OpenGrok) GetIsoFallback
function from the tools module.
2012-01-03 16:40:24 +01:00
85d1ce27ad Fix for fdo43460 Part XXVII getLength() to isEmpty()
Please find attached a partial fix for Easy Hack FDO43460

Part XXVII
Modules
padmin, pyuno, rdbmaker, regexp, registry, rsc, sal
2012-01-02 19:17:17 +01:00
1b1f0bbb28 ByteString->rtl::OString 2011-12-12 09:39:00 +00:00
8a418586ea ByteString->rtl::OString 2011-12-12 09:38:59 +00:00
cd676159ca ByteString->rtl::OString[Buffer] 2011-12-06 10:33:04 +00:00
3fd28200f1 ByteString->rtl::OString[Buffer] 2011-11-28 09:55:02 +00:00
c43122a9b2 remove include of pch header from rsc 2011-11-27 13:17:36 -06:00
d455410a3d Look at GCC version, not whether MacOSX or not 2011-09-28 13:21:36 +03:00
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
9da0b9d70d Fix broken implicit string conversion 2011-09-23 12:19:50 +03:00
687240f4b5 GetBuffer() -> getStr() 2011-09-22 07:51:12 +02:00
0577f19870 ByteString->rtl::OString[Buffer] 2011-09-21 09:47:37 +01:00
0344e07dd7 ByteString->rtl::OString[Buffer] 2011-09-20 16:54:55 +01:00
98f246d83d ByteString->rtl::OString 2011-08-30 09:32:23 +01:00
81a8b277ad remove name-to-ver-control map contents from RSC_VERSIONCONTROL record
Based on a patch from Andras, this removes a set of un-used
debugging type strings from all lang-pack resource files.
2011-08-22 18:19:59 +02:00
b3c8e4177d gsl_getSystemTextEncoding->osl_getThreadTextEncoding 2011-08-22 09:39:18 +01:00
9e29ce4120 WaE: MACOS gcc is too old for that pragma 2011-08-19 21:10:25 -05:00
6f4309fb1e use native yacc/bison support in rsc rather than a sub-make 2011-08-19 20:39:35 -05:00
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
dce040cb32 convert rsc to gbuild 2011-08-09 15:20:06 +02:00
fc8c0de854 Do build rsc also on non-desktop OSes just for rscsfx.hxx to get delivered
Don't actually compile anything, though... Just the rscsfx.hxx is
needed.
2011-07-22 12:29:43 +03:00
61ad99a50c callcatcher: strip rsc down by more unused methods 2011-07-13 10:25:31 +01:00
ae5b6a6e5e callcatcher: unused code 2011-07-12 09:16:29 +01:00
6974f514d3 callcatcher: remove unused RscFileInst ByteString ctor 2011-07-12 09:16:29 +01:00