Commit Graph

38 Commits

Author SHA1 Message Date
Noel Grandin
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Noel Grandin
184a00b962 loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-09 10:10:13 +02:00
Noel Grandin
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00
Noel Grandin
c0d037a6ec forms: sal_Bool->bool
Change-Id: Ifa15f4ed3107b1075b504f09d2cae69ee38d347a
2014-05-06 12:38:16 +02:00
Alexander Wilms
bed18b128f Remove visual noise from forms
Conflicts:
	forms/source/component/DatabaseForm.cxx

Change-Id: I4005fe65e89794bd92191c37221c252a3e964917
Reviewed-on: https://gerrit.libreoffice.org/8262
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 14:54:56 -06:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Takeshi Abe
5f17e5eaad Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
2014-02-21 14:35:52 +09:00
Stephan Bergmann
075d472a9d Use std::auto_ptr::reset where applicable
(avoids warnings about std::auto_ptr ctor being deprecated)

Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-10-02 16:49:49 +02:00
Neil Moore
6cd939111a BUG:57950 Remove chained appends
Removed some chained OUString::append()'s from forms. OUStringBuffer
could really use a append operator(+=).

Change-Id: I635bdd25da9f09373e686d87a1d198bc09bda906
Reviewed-on: https://gerrit.libreoffice.org/5329
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-10 15:04:11 +00:00
Noel Grandin
6a043e9c0a Use the new type-checking Reference constructor to reduce code noise
Also create a Clang compiler plugin to detect such cases.

Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22 10:44:29 +00: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
Stephan Bergmann
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
Noel Grandin
fa3c9a9072 fdo#46808, convert some forms code to XComponentContext
Change-Id: Id36556018761a1961de8ccfb3c549d4af03230ea
2013-02-11 08:02:14 +02:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Michael Meeks
0a063f3a36 re-base on ALv2 code. Includes:
Patch contributed by Christian Lippka
    impress212: #i113063# patch: dubios self assign in svx/source/dialog/framelink.cxx
    http://svn.apache.org/viewvc?view=revision&revision=1167619

    Patches contributed by Mathias Bauer
    gnumake4 work variously
    http://svn.apache.org/viewvc?view=revision&revision=1394707
    http://svn.apache.org/viewvc?view=revision&revision=1394326
    cws mba34issues01: #i117712#: fix several resource errors introduced by
    IAccessible2 implementation
    http://svn.apache.org/viewvc?view=revision&revision=1172343
    cws mba34issues01: #i117719#: use correct resource ID
    http://svn.apache.org/viewvc?view=revision&revision=1172351

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

    Patches contributed by Armin Le-Grand
    #118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested
    http://svn.apache.org/viewvc?view=revision&revision=1240195
    fix for #118525#: Using primitives for chart sub-geometry visualisation
    http://svn.apache.org/viewvc?view=revision&revision=1226879
    #118485# - Styles for OLEs are not saved.
    http://svn.apache.org/viewvc?view=revision&revision=1182166
    #118524: apply patch, followup fixes to 118485
    http://svn.apache.org/viewvc?view=revision&revision=1186077 13f79535-47bb-0310-9956-ffa450edef68

    Patch contributed by Regina Henschel
    linecap: Reintegrating finished LineCap feature
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    Patch contributed by Wang Lei (leiw)
    #i118760# split the first table cell vertically, then undo&redo,
    the Presentation app will crash
    http://svn.apache.org/viewvc?view=revision&revision=1301361

cleanup globlmn hacks, undo dependent fixmes.
2012-11-27 12:55:10 +00:00
Luboš Luňák
f7a24eff2d mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12 13:34:47 +02:00
Stephan Bergmann
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
Noel Grandin
9b07288138 fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new style
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03 15:55:04 +02:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Gustavo Buzzatti Pacheco
6cfae09e5d Fix for fdo43460 Part XVIII getLength() to isEmpty()
Part XVIII
module
form
2011-12-30 11:36:01 +01:00
Norbert Thiebaud
0c4aa66913 remove include of pch header from forms 2011-11-27 13:09:48 -06:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Thomas Arnhold
352f1a58e2 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:06:18 +01:00
Julien Nabet
648589a0bd RTL patch 2010-11-24 07:56:52 +01:00
Sebastian Spaeth
ead7290449 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-13 10:57:23 +02:00
Jens-Heiner Rechtien
36de66bdf0 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
Kurt Zenker
a71404683e INTEGRATION: CWS dba30b (1.10.128); FILE MERGED
2008/04/15 21:53:50 fs 1.10.128.2: RESYNC: (1.10-1.11); FILE MERGED
2008/02/26 08:29:02 fs 1.10.128.1: remove unused code
Issue number:  #i86305#
Submitted by:  cmc@openoffice.org
Reviewed by:   frank.schoenheit@sun.com
2008-05-05 14:27:51 +00:00
Rüdiger Timm
36152f05df INTEGRATION: CWS changefileheader (1.10.134); FILE MERGED
2008/03/31 13:11:45 rt 1.10.134.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:02:44 +00:00
Oliver Bolte
ca1a5837bf INTEGRATION: CWS pchfix02 (1.9.26); FILE MERGED
2006/09/01 17:27:47 kaib 1.9.26.1: #i68856# Added header markers and pch files
2006-09-16 23:05:39 +00:00
Jens-Heiner Rechtien
43daaf5845 INTEGRATION: CWS warnings01 (1.8.54); FILE MERGED
2006/03/14 15:20:35 fs 1.8.54.1: #i57457# warning-free code
2006-06-19 12:05:12 +00:00
Rüdiger Timm
17f717dc7b INTEGRATION: CWS eformspp1 (1.4.2); FILE MERGED
2005/10/17 18:27:24 lo 1.4.2.4: RESYNC: (1.6-1.7); FILE MERGED
2005/08/19 10:50:45 fs 1.4.2.3: re-enable the original fix for #i36765# (was commented out)
2005/07/22 13:17:42 lo 1.4.2.2: RESYNC: (1.4-1.6); FILE MERGED
2005/04/28 11:38:24 dvo 1.4.2.1: #i36765# issue warning when attempting to submit invalid data
Issue number:
Submitted by:
Reviewed by:
2005-10-24 06:38:05 +00:00
Rüdiger Timm
0021421729 INTEGRATION: CWS ooo19126 (1.6.20); FILE MERGED
2005/09/05 13:51:01 rt 1.6.20.1: #i54170# Change license header: remove SISSL
2005-09-08 22:21:33 +00:00
Oliver Bolte
a460a3d94a INTEGRATION: CWS cmcfixes11 (1.5.36); FILE MERGED
2005/07/14 15:37:19 cmc 1.5.36.1: #i51974# update system stl debugging
2005-07-18 07:42:50 +00:00
Oliver Bolte
cd401a03ba INTEGRATION: CWS fr8fix2 (1.4.10); FILE MERGED
2005/04/13 13:41:53 dvo 1.4.10.1: #i47248# submit, even if invalid data is present
Issue number:
Submitted by:
Reviewed by:
2005-05-03 13:41:36 +00:00
Vladimir Glazounov
0d9c9e688e INTEGRATION: CWS eforms4 (1.2.6); FILE MERGED
2005/03/16 10:32:42 lo 1.2.6.7: #i36288# replace after submission
2005/03/08 16:50:30 dvo 1.2.6.6: RESYNC: (1.2-1.3); FILE MERGED
2005/03/08 14:06:14 dvo 1.2.6.5: #i36765# remove use of un-translated strings for release
Issue number:
Submitted by:
Reviewed by:
2004/12/29 10:53:53 fs 1.2.6.4: #i39451# support for property change notifications
2004/12/28 09:38:30 fs 1.2.6.3: #i39451# derive from another PropertySet helper class, which also allows listener handling
2004/12/23 17:21:35 dvo 1.2.6.2: #i36297# fix Submission::_cloneNodes
         (should clone node + children, not node + siblings)
Issue number:
Submitted by:
Reviewed by:
2004/12/14 16:08:28 dvo 1.2.6.1: #i36765# use Interaction Handler for submission warning & submission itself
Issue number:
Submitted by:
Reviewed by:
2005-03-23 10:38:39 +00:00
Vladimir Glazounov
3436139ea5 INTEGRATION: CWS cmcfixes2 (1.2.24); FILE MERGED
2005/02/14 08:46:56 cmc 1.2.24.1: #i42421# iterators != pointers
2005-02-24 13:41:51 +00:00
Oliver Bolte
fa0019d277 INTEGRATION: CWS eforms2 (1.1.2); FILE ADDED
2004/11/05 17:50:11 fs 1.1.2.15: #i36765# allow submission with InteractionHandler
2004/10/01 19:01:24 dvo 1.1.2.14: #i34793# throw WrappedTargetException/RuntimeException for submission errors
Issue number:
Submitted by:
Reviewed by:
2004/09/14 09:53:18 dvo 1.1.2.13: #i33880# ensure that submission always knows its model
Issue number:
Submitted by:
Reviewed by:
2004/08/11 18:07:00 dvo 1.1.2.12: #i31958# default "none" for replace
Issue number:
Submitted by:
Reviewed by:
2004/08/06 14:00:50 fs 1.1.2.11: #i31958# keep our PropertySetInfo alive
2004/07/12 14:11:55 fs 1.1.2.10: #114856# introduced and used XSubmission
2004/06/04 13:37:15 dvo 1.1.2.9: #114856# solve compilation problems uncovered with gcc
Issue number:
Submitted by:
Reviewed by:
2004/04/26 11:42:27 dvo 1.1.2.8: #114856# observe bidn and ref attributes on submission
Issue number:
Submitted by:
Reviewed by:
2004/04/23 14:04:47 lo 1.1.2.7: #i26721# put/get/post support
2004/04/23 11:30:09 lo 1.1.2.6: #i26721# put/get/post support for submission
2004/04/23 09:46:16 lo 1.1.2.5: #i26721# put/get/post support for submission
2004/04/22 09:13:36 dvo 1.1.2.4: #114856# improve dynamic binding capability
Issue number:
Submitted by:
Reviewed by:
2004/04/07 13:29:50 dvo 1.1.2.3: #114856# continue implementation
Issue number:
Submitted by:
Reviewed by:
2004/04/06 11:18:15 lo 1.1.2.2: #114856# submission cont.
2004/04/01 11:25:06 dvo 1.1.2.1: #114856# add submission
Issue number:
Submitted by:
Reviewed by:
2004-11-16 09:56:45 +00:00