Commit Graph

18 Commits

Author SHA1 Message Date
Caolán McNamara
4d6a509efe convert all remaining BOOST_STATIC_ASSERT to static_assert
and we can include a few less headers

Change-Id: Id742849ff4c1c37a2b861aa3d6ab823f00ea87f8
2015-02-05 22:21:49 +00:00
Norbert Thiebaud
2c8193137a coverity#707676 : Uninitialized scalar field
Change-Id: I546c3f497dc98c88a0d678622c20cced387a4ab2
2014-02-01 00:10:27 -06:00
Luboš Luňák
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
Marcos Paulo de Souza
9edeb948a2 Removed last RTL_CONST* macros from codemaker
Also, change ".equals" fro "==" and drop a useless function.

Change-Id: I5ce4fd2cc7c62a18e059e945b42cc01425802aa0
Reviewed-on: https://gerrit.libreoffice.org/2605
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2013-03-09 23:29:39 +00:00
Marcos Paulo de Souza
596334776a Remove RTL_CONST* macros from codemaker - pt1
For more easy review, this is the first part of these changes.

More will come :)

Change-Id: Ic6ab0c7baebf0414dbcccb5dcfad434b3b07964c
Reviewed-on: https://gerrit.libreoffice.org/2595
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-08 13:02:22 +00:00
Stephan Bergmann
f1bca26afc Remove redundant braces around for loops
...that had once been workarounds for compilers that did not yet support the
C++98 scoping rules for declarations in for-init-statements.

Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
2013-01-26 16:36:09 +01:00
Michael Meeks
c91e2cae54 re-base on ALv2 code. 2012-06-12 22:24:54 +01:00
Michael Stahl
26643fb59e codemaker: write version 49 (1.5) class files
The trick of writing generic types into class files of versions < 49
does no longer work with javac from OpenJDK 7:

/comphelper/qa/complex/comphelper/Map.java:154: error: type Pair does
not take parameters
  Pair< ?, ? >[] initialMappings = new Pair< ?, ? >[ _keys.length ];

There appears to be a related JDK bug for this, at some time javac had
an undocumented option to produce similar class files that are also
rejected now, this has been closed as "Not a Defect":

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7078419

Change-Id: I8a504f6cbb3bb58cd914aebb88637cc6feb0bd48
2012-05-21 18:48:04 +02:00
Olivier Hallot
fd866ac8f1 Fix for fdo43460 Part VI getLength() to isEmpty()
Part VI
Module
codemaker
2011-12-13 00:40:14 +04:00
Norbert Thiebaud
d8ed87481c remove include of pch header in codemaker 2011-11-27 12:59:38 -06:00
Caolán McNamara
e035836fb1 callcatcher: unused writeU1 2011-06-30 11:35:57 +01:00
Sebastian Spaeth
a715e1b3d0 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:04:31 +02:00
Jens-Heiner Rechtien
7c80db2eb3 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Rüdiger Timm
c3596fb599 INTEGRATION: CWS changefileheader (1.5.38); FILE MERGED
2008/03/31 07:22:55 rt 1.5.38.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:18:14 +00:00
Oliver Bolte
22c3e72051 INTEGRATION: CWS pchfix02 (1.4.8); FILE MERGED
2006/09/01 17:19:24 kaib 1.4.8.1: #i68856# Added header markers and pch files
2006-09-17 02:39:17 +00:00
Jens-Heiner Rechtien
b3ebac8fc0 INTEGRATION: CWS warnings01 (1.2.42); FILE MERGED
2005/11/24 14:59:59 sb 1.2.42.4: #i53898# Made code warning-free.
2005/09/22 22:28:31 sb 1.2.42.3: RESYNC: (1.2-1.3); FILE MERGED
2005/08/30 07:15:28 sb 1.2.42.2: #i53898# Made code warning-free.
2005/08/29 14:21:29 sb 1.2.42.1: #i53898# Made code warning-free.
2006-06-20 01:24:56 +00:00
Rüdiger Timm
471172d859 INTEGRATION: CWS ooo19126 (1.2.40); FILE MERGED
2005/09/05 17:28:06 rt 1.2.40.1: #i54170# Change license header: remove SISSL
2005-09-08 01:17:17 +00:00
Oliver Bolte
2b53f37f08 INTEGRATION: CWS sb18 (1.1.2); FILE ADDED
2004/05/14 14:36:42 sb 1.1.2.5: #i21150# Minor fixes.
2004/05/10 07:42:58 sb 1.1.2.4: #i21150# Performance improvement.
2004/05/07 13:53:02 sb 1.1.2.3: #i21150# -wall cleanup.
2004/05/07 12:07:59 sb 1.1.2.2: #i21150# Support for polymorphic struct types.
2004/05/07 08:26:22 sb 1.1.2.1: #i21150# Complete rewrite of javamaker to generate .class files instead of .java files.
2004-06-04 02:13:22 +00:00