Commit Graph

52 Commits

Author SHA1 Message Date
Stephan Bergmann
4592d27dca Get rid of trivial comphelper::in-/decrement wrappers
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
2015-04-21 08:56:51 +02:00
Noel Grandin
edc189dbfa loplugin:staticfunction
Change-Id: I89f5984d73e7d42269189dc1d1bc2d59e5ab193f
2015-04-01 10:37:02 +02:00
Stephan Bergmann
f785d167b9 Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I2f084bd6de707d21857e2182aebb96b446b51dcc
2015-04-01 08:42:27 +02:00
Caolán McNamara
fd1372ba8b boost::unordered_map->std::unordered_map
you can get debug stl this way

Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02 16:14:36 +00:00
Julien Nabet
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Noel Grandin
4f9b21248f simplify ternary conditions "xxx ? yyy : false"
Look for code like:
   xxx ? yyy : false;
Which can be simplified to:
   xxx && yyy

Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
Stephan Bergmann
98666e8625 No need for a virtual OPropertyContainer::getTypes
(and rename to getBaseTypes for clarity)

Change-Id: Icfe6202eea9b1f4ec2e46ade3fc8e001ca6b649f
2014-03-14 17:57:24 +01:00
Stephan Bergmann
2b0cfed33f toolkit: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ibe481aebad026f8c182052f1327bed8a1054cf7a
2014-03-10 17:39:59 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
e90c27f5e1 Remove visual noise from toolkit
Change-Id: I1704d6ac497f2e47a813813640ead14c5fa480d9
Reviewed-on: https://gerrit.libreoffice.org/8326
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 05:51:48 -06:00
Stephan Bergmann
146c7c5c89 toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
2014-02-24 11:13:42 +01:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Andras Timar
ac6e8ac7e4 typo fixes in comments
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01: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
Chr. Rossmanith
57e984adca Remove RTL_CONSTASCII_(U)STRINGPARAM (toolkit)
Change-Id: I558a97be9ed883242455e6fd29267aed5d0a550c
Reviewed-on: https://gerrit.libreoffice.org/2772
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-16 17:15:50 +00:00
Thomas Arnhold
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Michael Meeks
c4008ef546 re-base on ALv2 code. Includes:
tkr41: #117828# office crash fixed . (null pointer) + add unit test
    Patch contributed by Tobias Krause
    http://svn.apache.org/viewvc?view=revision&revision=1172105

    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

    remove the OutDev::GetKernPair* stubs completely
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1179221

    reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
Olivier Hallot
81e50fb2e3 Fix for fdo43460 Part XXXIX getLength() to isEmpty()
Part XXXIX
Modules
testtools, toolkit, tools
2012-01-16 18:49:04 -02:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Norbert Thiebaud
6a7d81e7a5 remove include of pch header from toolkit 2011-11-27 13:25:40 -06:00
Kohei Yoshida
fd073bb648 Use rtl::OUStringHash. 2011-08-04 21:43:39 -04:00
Caolán McNamara
ab874eba03 use rtl::Static where double-locked pattern used 2011-04-03 21:43:01 +01:00
Thomas Arnhold
11d2050780 Move DBG_ERROR to OSL_FAIL 2011-03-02 14:46:42 +01:00
Fridrich Strba
e99fcbe58e Bulk move libs-gui to boost unordered containers 2011-02-04 01:10:15 +01:00
Sebastian Spaeth
4905a19032 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:02:15 +02:00
Petr Mladek
028b400398 remove include guards using fixguard.py 2010-10-05 18:21:29 +02:00
Jens-Heiner Rechtien
8764506704 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
0856af44cd INTEGRATION: CWS changefileheader (1.24.172); FILE MERGED
2008/04/01 16:00:58 thb 1.24.172.3: #i85898# Stripping all external header guards
2008/04/01 12:56:50 thb 1.24.172.2: #i85898# Stripping all external header guards
2008/03/28 15:40:16 rt 1.24.172.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:25:27 +00:00
Jens-Heiner Rechtien
df63cefc91 INTEGRATION: CWS ab31 (1.23.30); FILE MERGED
2006/11/23 13:10:20 cd 1.23.30.1: #i71514# ResourceResolver support for dialogs and dependent controls
2007-01-02 14:34:56 +00:00
Oliver Bolte
6b81d390ed INTEGRATION: CWS pchfix02 (1.22.40); FILE MERGED
2006/09/01 17:54:22 kaib 1.22.40.1: #i68856# Added header markers and pch files
2006-09-16 11:17:34 +00:00
Jens-Heiner Rechtien
82829e3536 INTEGRATION: CWS warnings01 (1.21.26); FILE MERGED
2005/10/25 15:56:10 mt 1.21.26.1: #i55991# Warning Free Code
2006-06-19 22:03:30 +00:00
Rüdiger Timm
4333814bbd INTEGRATION: CWS ooo19126 (1.20.114); FILE MERGED
2005/09/05 16:58:12 rt 1.20.114.1: #i54170# Change license header: remove SISSL
2005-09-09 12:17:16 +00:00
Rüdiger Timm
bd1d06946a INTEGRATION: CWS ooo20040704 (1.18.70); FILE MERGED
2004/07/20 20:35:36 svesik 1.18.70.2: RESYNC: (1.18-1.19); FILE MERGED
2004/06/28 14:28:26 cmc 1.18.70.1: #i30801# allow using system stl if possible
2004-09-08 14:57:51 +00:00
Hans-Joachim Lankenau
7c7bc4193b INTEGRATION: CWS tune04 (1.18.64); FILE MERGED
2004/06/11 12:53:46 cmc 1.18.64.1: #i29636# turn global objects into local static data protected with swishy double-locked templated template
2004-06-25 16:10:14 +00:00
Kurt Zenker
b5cdc222fb INTEGRATION: CWS frmcontrols01 (1.17.98); FILE MERGED
2003/10/27 11:21:47 fs 1.17.98.1: #i21605# +OCommonGeometryControlModel
2003-12-11 10:58:15 +00:00
Jens-Heiner Rechtien
fd2cf3dc7c MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-27 16:05:12 +00:00
Frank Schönheit
3c26c06e27 +OCommonGeometryControlModel 2002-02-01 11:07:32 +00:00
Frank Schönheit
62e9cdc7a2 #96008# be an ComponentImplHelper 2002-01-08 12:21:40 +00:00
Jörg Budischewski
c5def7dc0d #95097# temporary bug on solaris platforms fixed 2001-11-23 16:37:21 +00:00
Frank Schönheit
861e20bd52 #88891# override the XTypeProvider methods 2001-09-05 05:41:27 +00:00
Andreas Bregas
99e3d30193 #85996# Clone ScriptEventsSupplier 2001-05-15 09:38:19 +00:00
Thomas Benisch
1650e56d41 changed tabindex default from 0 to -1 2001-04-12 10:30:28 +00:00
Daniel Boelzle
f3743f3381 #85862# have to use namespace due to symbol ambiguity 2001-04-10 06:33:49 +00:00
Thomas Benisch
94c585bc9e removed HelpText property from geometry model 2001-03-23 13:47:53 +00:00
Thomas Benisch
414a6e6316 added HelpText property 2001-03-22 14:34:23 +00:00
Thomas Benisch
24f54ec449 OPropertyStateHelper overridables 2001-03-08 15:44:03 +00:00
Thomas Benisch
9a4087b152 added step and tag property 2001-03-07 13:27:58 +00:00
Thomas Benisch
b3ee936345 clone geometry control model 2001-03-02 11:34:13 +00:00
Thomas Benisch
62ac748786 removed ClassId from geometry control model 2001-03-01 13:27:14 +00:00
Thomas Benisch
258837a297 added additional properties to geometry model 2001-02-28 09:51:22 +00:00