Commit Graph

15 Commits

Author SHA1 Message Date
Stephan Bergmann
7f902e1697 cppuhelper: sal_Bool -> bool
Change-Id: I6e0e6c1e4880a652ea4d8f0cccf9d8103c2cbbef
2014-02-17 17:55:18 +01:00
Noel Grandin
0a9ef5a18e convert OUString 0==compareToAscii to equalsAscii
Convert code like:
   0 == aStr.compareToAscii("XXX")
to
   aStr.equalsAscii("XXX")
which is both clearer and faster.

Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11 12:58:12 +02:00
Chr. Rossmanith
1ed2c24a6e remove RTL_CONSTASCII_(U)STRINGPARAM
Change-Id: I0bce921bfc7102b9a33b1c87eee3ddec0ebaed7b
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with one little typo fix
2013-10-23 10:44:09 +02:00
Stephan Bergmann
e89e7cded7 Prefer using declarations over using directives
Change-Id: I1316fc4ae1d4dab91684bdc059f5c69c5e0c401a
2013-08-19 12:52:36 +02:00
Michael Meeks
9d7c1dcbbb re-base on ALv2 code. Includes:
Patches contributed by Ocke Janssen
   converted reportdesign.
   http://svn.apache.org/viewvc?view=revision&revision=1396797
   http://svn.apache.org/viewvc?view=revision&revision=1394326

   Patch contributed by Oliver Rainer-Wittmann
   sw34bf06: #i117783# - Writer's implementation of XPagePrintable -
   apply print settings to new printing routines
   http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-06 09:12:57 +00:00
Stephan Bergmann
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
Norbert Thiebaud
c10fb61c1a remove include of pch header in cppuhelper 2011-11-27 13:03:19 -06:00
Thomas Arnhold
5a7f6793ac Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:12:37 +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
e63676dee2 INTEGRATION: CWS changefileheader (1.4.88); FILE MERGED
2008/04/01 15:10:54 thb 1.4.88.3: #i85898# Stripping all external header guards
2008/04/01 10:54:27 thb 1.4.88.2: #i85898# Stripping all external header guards
2008/03/28 15:25:25 rt 1.4.88.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:34:28 +00:00
Oliver Bolte
3167c17291 INTEGRATION: CWS pchfix02 (1.3.14); FILE MERGED
2006/09/01 17:23:17 kaib 1.3.14.1: #i68856# Added header markers and pch files
2006-09-16 11:41:06 +00:00
Jens-Heiner Rechtien
42d7a4f1ef INTEGRATION: CWS warnings01 (1.1.190); FILE MERGED
2005/09/22 15:38:35 sb 1.1.190.3: RESYNC: (1.1-1.2); FILE MERGED
2005/09/07 11:05:29 sb 1.1.190.2: #i53898# Made code warning-free.
2005/08/31 16:24:56 sb 1.1.190.1: #i53898# Made code warning-free.
2006-06-19 09:33:53 +00:00
Rüdiger Timm
e284958291 INTEGRATION: CWS ooo19126 (1.1.194); FILE MERGED
2005/09/05 12:07:38 rt 1.1.194.1: #i54170# Change license header: remove SISSL
2005-09-08 08:27:16 +00:00
Jörg Budischewski
77d34aadb1 #67468# helper for implementation of exported C-functions 2001-06-22 14:22:39 +00:00