Commit Graph
39 Commits
Author SHA1 Message Date
Stephan Bergmann 9bd84cfb52 More loplugin:cstylecast: bridges
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files

Change-Id: I4d48f46fa64fe866081cd85c731a93b4bfcdf787
2018-01-12 20:28:57 +01:00
Noel Grandin 3af500580b loplugin:salcall fix functions
since cdecl is the default calling convention on Windows for
such functions, the annotation is redundant.

Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d
Reviewed-on: https://gerrit.libreoffice.org/46164
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-11 12:13:46 +01:00
Stephan Bergmann 3a511d3757 loplugin:includeform: bridges
Change-Id: Icad98d3153a5b1710c8c2a2d338ba0129e9ff208
2017-10-23 22:46:13 +02:00
Noel Grandin 8256c13951 loplugin:comparisonwithconstant in bridges
Change-Id: I14983a829daf481e31eaa955b0756bda89b87ee1
Reviewed-on: https://gerrit.libreoffice.org/37940
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-23 11:57:29 +02:00
Jochen Nitschke 58ac61478a remove empty namespaces
Change-Id: I3eae0ecc1ffc5500d3c55abc6554822f5432a50a
Reviewed-on: https://gerrit.libreoffice.org/37173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-03 09:10:21 +02:00
Tor Lillqvist e0849330bc Get rid of unnecessary directory levels $D/inc/$D
Change-Id: Ibf313b8948a493043006ebf3a8281487c1f67b48
Reviewed-on: https://gerrit.libreoffice.org/25532
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2016-05-27 17:10:45 +00:00
Noel Grandin 8762aa986d clang-tidy modernize-loop-convert in b*
Change-Id: I8ac6eb59e213eafa78e3dc4578738b53e8adef5b
2016-04-21 10:27:17 +02:00
Stephan Bergmann 520cd4e688 loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: If07e4116c43cbddefbf443c4cbd754dde48c90a0
2015-11-10 16:20:34 +01:00
Stephan Bergmann 655c2d5193 loplugin:nullptr (automatic rewrite)
Change-Id: Ib05cdd5a0f2a2e0f4c08504d89d0b6201cbcb429
2015-11-10 10:31:17 +01:00
Stephan Bergmann 26655d0909 Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I19b86fba87df57c4c65c658d051b664c527214eb
2015-03-31 13:12:15 +02:00
Stephan Bergmann 93afb9ad7f Some more loplugin:cstylecast: bridges
Change-Id: Ic224abf67acb212ee20ccf9eb81b5ed5edf851b9
2015-01-20 09:06:45 +01:00
Michael Stahl 1276076ac8 ibridges: convert all legacy osl/diagnose.h assertions in source/cppu_uno
Change-Id: I4e78fac76b6bb4923e3b680d910afe5bb9640c33
2014-11-21 17:32:26 +01:00
Noel Grandin 14ab8c3f1d bridges: remove SAL_THROW macro
Change-Id: I2daafd711aedab17b6c13fde95c8af5f49d38a7c
2014-06-05 08:17:49 +02:00
Stephan Bergmann fc320c41b5 bool improvements
Change-Id: I215bb8c484785175c297953a2ef385b2caf87bee
2014-01-28 20:26:30 +01:00
Noel Grandin 82625bb98e remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like:
    buf.append( static_cast<sal_Unicode>('!') );
to:
    buf.append( '!' );

Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
Jelle van der Waa c69b6417af fdo#72598 Remove SunStudio cruft from code base
Change-Id: Ia6799c852eb95d496fbc8dcfdabde62dffc263a6
Reviewed-on: https://gerrit.libreoffice.org/7066
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-12-13 09:07:07 +00:00
Matúš Kukan eeaa2ecd1e remove unused component_canUnload functions
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19 16:52:03 +02:00
Chr. Rossmanith 7dac241ca0 Remove RTL_CONSTASCII_(U)STRINGPARAM in bridges
Change-Id: Id8777ee7f587846399e95cf3b1b37d669a76bae5
Reviewed-on: https://gerrit.libreoffice.org/3139
Reviewed-by: Christina Roßmanith <ChrRossmanith@web.de>
Tested-by: Christina Roßmanith <ChrRossmanith@web.de>
2013-04-02 20:25:44 +00:00
Michael Meeks 17ff7b41d1 re-base on ALv2 code. Includes:
Patches contributed by: Armin Le Grand.
    #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task.
    http://svn.apache.org/viewvc?view=revision&revision=1195906
    #118485# - Styles for OLEs are not saved.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles
    http://svn.apache.org/viewvc?view=revision&revision=1293316
    #119337# Solves the wrong get/setPropertyValue calls in
    SvxShapeText (and thus in SvxOle2Shape)
    http://svn.apache.org/viewvc?view=revision&revision=1344156

    Patches contributed by Mathias Bauer (and others)
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    cws mba34issues01: #i117717#: remove wrong assertion
    http://svn.apache.org/viewvc?view=revision&revision=1172349

    Patch contributed by Herbert Duerr
    goodbye Registration and License dialogs, don't let the door hit you
    http://svn.apache.org/viewvc?view=revision&revision=1172613
    help gcc 4.6.0 on 32bit ubuntu 11.10"
    http://svn.apache.org/viewvc?view=revision&revision=1245357

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

Revert "sb140: #i117082# avoid unncessary static class data members
    commit 21d97438e2.
remove obsolete FreeBSD visibility special case.
retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15 16:06:08 +00:00
Ricardo Montania da67a17d2d ::rtl::OUString -> OUString in bridges
Change-Id: I3a4fa7b108c58f100d2c8a586ec6c76af902e138
Reviewed-on: https://gerrit.libreoffice.org/974
Reviewed-by: Radek Doulík <rodo@novell.com>
Tested-by: Radek Doulík <rodo@novell.com>
2012-11-07 12:06:45 +00:00
David Tardon f2ec771cd9 add missing exports
Change-Id: I4cfbcedde049ae205997815786c46941937e2cf7
2012-09-22 08:15:28 +02:00
Tor Lillqvist c0ab229dc7 Uniquify uno_initEnvironment and uno_ext_getMapping in the static linking case 2012-03-21 00:00:04 +02:00
Alexander Bergmann 0439af27e1 Code cleanup: ( () ) replaced by (()) 2012-01-26 17:41:07 +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
David Tardon aee436760e function component_canUnload is exported 2011-12-27 15:44:42 +01:00
Takeshi Abe 7113c7152d catch by constant reference 2011-11-30 11:27:42 +09:00
Norbert Thiebaud 4dc45a2854 remove include of pch header in bridge 2011-11-27 12:56:37 -06:00
Tor Lillqvist c209bef8e5 Use prefixed name for uno_initEnvironment() for iOS 2011-08-21 17:49:11 +03:00
Thomas Arnhold adc6fe00e3 Move OSL_ENSURE(0,...) to OSL_FAIL(...) 2011-03-12 14:19:48 +01:00
Takeshi Abe 36e2296bf8 Replace all occured, occurance etc. 2010-12-06 09:16:29 +00: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 1ed36b9027 INTEGRATION: CWS changefileheader (1.7.48); FILE MERGED
2008/03/28 16:30:40 rt 1.7.48.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:01:36 +00:00
Oliver Bolte 242b9c51db INTEGRATION: CWS unomacli64 (1.6.4); FILE MERGED
2007/06/06 07:38:41 kr 1.6.4.1: #i77422# Use va_list * instead of plain type; added missing include for precompiled headers
2007-07-18 11:15:51 +00:00
Kurt Zenker d384fe3c39 INTEGRATION: CWS bunoexttm (1.5.26); FILE MERGED
2007/01/26 09:54:07 kr 1.5.26.1: joined from utf2
2007-05-09 12:24:21 +00:00
Oliver Bolte 2c34eabdbe INTEGRATION: CWS pchfix02 (1.4.22); FILE MERGED
2006/09/01 17:17:38 kaib 1.4.22.1: #i68856# Added header markers and pch files
2006-09-16 14:55:49 +00:00
Jens-Heiner Rechtien 21fa31545c INTEGRATION: CWS warnings01 (1.2.100); FILE MERGED
2005/09/22 18:26:58 sb 1.2.100.2: RESYNC: (1.2-1.3); FILE MERGED
2005/09/09 12:37:46 sb 1.2.100.1: #i53898# Made code warning-free.
2006-06-19 22:45:40 +00:00
Rüdiger Timm 94d6463055 INTEGRATION: CWS ooo19126 (1.2.98); FILE MERGED
2005/09/05 17:07:35 rt 1.2.98.1: #i54170# Change license header: remove SISSL
2005-09-07 21:33:59 +00:00
Jens-Heiner Rechtien 03ba4d6094 INTEGRATION: CWS sb10 (1.1.2); FILE ADDED
2003/12/10 10:50:12 sb 1.1.2.1: #114000# Adapted to multiple-inheritance interface types.
2004-02-03 11:49:14 +00:00