Commit Graph
45 Commits
Author SHA1 Message Date
Thomas Arnhold ba0a57702c remove OUString wrap for string literals
For some functions and all kinds of Exceptions.

CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException

createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService

bash command:

for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
	| cut -d ':' -f1 | sort -u
	| xargs sed -i
		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
		-e "s/\($i.*\)\"+ /\1\" + /g";
done

Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29 21:52:54 +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
Thomas Arnhold 39d45390f4 removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms

Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 10:48:30 +00: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
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
Norbert Thiebaud 750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Julien Nabet 5bfa5cb86a Fix duplicate branches for if and else
Change-Id: Ic602fd4df63e6807f49c256ce7849ae587eeb82d
2012-09-16 10:24:59 +02:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Thomas Arnhold a3bf3451a9 WaE: arrayIndexOutOfBounds 2012-02-21 20:57:06 +01:00
Norbert Thiebaud 3c9d6bdbc6 remove include of pch header from testtools 2011-11-27 13:25:25 -06:00
Tor Lillqvist 469c9ac2f9 Enforce a "lib" prefix for UNO components for Android
This commit for the old build system. (Don't bother for components not
relevant for Android.)

The Android package installer (as invoked through "adb install", from
"ant debug install") silently ignores native libraries in app packages
(.apk files) whose names don't start with "lib" and end with ".so".

The package builder (as invoked through "ant debug") in the SDK gladly
includes also thusly named native libraries in the .apk, though. Yay
for consistency.
2011-11-17 15:22:59 +02:00
Matúš Kukan 50205b9d19 Remove component_getImplementationEnvironment 2011-07-12 12:26:18 +02:00
Julien Nabet a27728407e Easyhack: Add visibility markup to all component_get* functions 2011-04-21 15:28:34 +02:00
Thomas Arnhold d8d6bee713 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:12:11 +01:00
Julien Nabet e62f74cabe Remove "using namespace ::rtl" 2011-03-02 20:52:59 +01:00
Fridrich Štrba 1c4bced7c2 std::hash_map -> boost:unordered_map 2011-02-05 21:58:42 +01:00
Sebastian Spaeth f402b2f5af 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:58:05 +02:00
Jens-Heiner Rechtien 7d8d20ca7e 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 5a5ccec1b6 INTEGRATION: CWS changefileheader (1.7.44); FILE MERGED
2008/04/01 16:00:27 thb 1.7.44.2: #i85898# Stripping all external header guards
2008/03/31 07:26:30 rt 1.7.44.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:35:55 +00:00
Rüdiger Timm e333122c83 INTEGRATION: CWS changefileheader (1.5.44); FILE MERGED
2008/03/31 07:26:29 rt 1.5.44.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:35:38 +00:00
Rüdiger Timm 75715beeda INTEGRATION: CWS changefileheader (1.6.44); FILE MERGED
2008/04/01 16:00:27 thb 1.6.44.2: #i85898# Stripping all external header guards
2008/03/31 07:26:29 rt 1.6.44.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:35:19 +00:00
Rüdiger Timm 78c77205ad INTEGRATION: CWS changefileheader (1.3.88); FILE MERGED
2008/03/31 07:26:29 rt 1.3.88.1: #i87441# Change license header to LPGL v3.
2008-04-11 11:34:43 +00:00
Vladimir Glazounov 1f27bcfe8a INTEGRATION: CWS hr33 (1.4.112); FILE MERGED
2006/11/07 12:49:24 hr 1.4.112.3: RESYNC: (1.4-1.6); FILE MERGED
2006/05/02 16:51:05 hr 1.4.112.2: #i10000#: replace CLK_TCK with POSIX conforming sysconfig(_SC_CLK_TCK); clean up license header, remove log footer
2006/05/02 16:26:04 hr 1.4.112.1: #i55967#: no prefix for STL header please
2006-11-22 09:39:08 +00:00
Vladimir Glazounov ffa47d4705 INTEGRATION: CWS hr33 (1.2.14); FILE MERGED
2006/11/07 12:49:17 hr 1.2.14.2: RESYNC: (1.2-1.4); FILE MERGED
2006/05/02 16:51:30 hr 1.2.14.1: #i10000#: clean up license header, remove log footer
2006-11-22 09:38:55 +00:00
Vladimir Glazounov b9f1e03d8f INTEGRATION: CWS hr33 (1.3.14); FILE MERGED
2006/11/07 12:49:40 hr 1.3.14.2: RESYNC: (1.3-1.5); FILE MERGED
2006/05/02 16:51:30 hr 1.3.14.1: #i10000#: clean up license header, remove log footer
2006-11-22 09:38:38 +00:00
Vladimir Glazounov c01added4c INTEGRATION: CWS hr33 (1.3.112); FILE MERGED
2006/11/07 12:49:32 hr 1.3.112.2: RESYNC: (1.3-1.4); FILE MERGED
2006/05/02 16:54:17 hr 1.3.112.1: #i10000#: clean up license header
2006-11-22 09:38:25 +00:00
Oliver Bolte 27a08bc4e2 INTEGRATION: CWS pchfix02 (1.5.8); FILE MERGED
2006/09/01 17:53:59 kaib 1.5.8.1: #i68856# Added header markers and pch files
2006-09-16 12:38:42 +00:00
Oliver Bolte 1204f4b9f9 INTEGRATION: CWS pchfix02 (1.3.8); FILE MERGED
2006/09/01 17:53:59 kaib 1.3.8.1: #i68856# Added header markers and pch files
2006-09-16 12:38:26 +00:00
Oliver Bolte 18b22bc07f INTEGRATION: CWS pchfix02 (1.4.8); FILE MERGED
2006/09/01 17:53:59 kaib 1.4.8.1: #i68856# Added header markers and pch files
2006-09-16 12:38:11 +00:00
Rüdiger Timm 414ac73fa1 INTEGRATION: CWS rt15 (1.4.116); FILE MERGED
2006/06/27 09:35:10 rt 1.4.116.1: #i54459# CVS history removed from file.
2006-07-25 08:46:51 +00:00
Rüdiger Timm b60a08ba8b INTEGRATION: CWS rt15 (1.2.18); FILE MERGED
2006/06/27 09:35:10 rt 1.2.18.1: #i54459# CVS history removed from file.
2006-07-25 08:46:38 +00:00
Rüdiger Timm 567bec27ec INTEGRATION: CWS rt15 (1.3.18); FILE MERGED
2006/06/27 09:35:10 rt 1.3.18.1: #i54459# CVS history removed from file.
2006-07-25 08:46:24 +00:00
Vladimir Glazounov b21047612e INTEGRATION: CWS ause043 (1.3.100); FILE MERGED
2005/11/08 12:32:02 hjs 1.3.100.1: #i56702# remove local uno header generation
2006-05-24 12:37:05 +00:00
Rüdiger Timm cd2f7858b1 INTEGRATION: CWS cyb1 (1.1.130); FILE MERGED
2005/08/23 07:20:29 sb 1.1.130.1: #i52998# Made rotting code compile again (patch supplied by cyb).
2005-12-14 10:24:18 +00:00
Rüdiger Timm cb6e39af0b INTEGRATION: CWS cyb1 (1.2.88); FILE MERGED
2005/08/23 07:20:29 sb 1.2.88.1: #i52998# Made rotting code compile again (patch supplied by cyb).
2005-12-14 10:24:01 +00:00
Rüdiger Timm 7ee44d4fae INTEGRATION: CWS ooo19126 (1.2.66); FILE MERGED
2005/09/05 17:00:58 rt 1.2.66.1: #i54170# Change license header: remove SISSL
2005-09-09 11:28:11 +00:00
Oliver Bolte d759c13d86 INTEGRATION: CWS cliuno01 (1.1.2); FILE ADDED
2003/04/11 17:12:17 dbo 1.1.2.1: #107130# new
2003-09-04 08:17:56 +00:00
Rüdiger Timm c977f4d887 INTEGRATION: CWS uno2 (1.1.2); FILE ADDED
2003/04/08 13:58:22 dbo 1.1.2.1: #107991# UNO shared library component renaming
2003-04-23 15:32:15 +00:00
Rüdiger Timm 83f0fcea35 INTEGRATION: CWS uno2 (1.2.42); FILE MERGED
2003/04/08 13:58:21 dbo 1.2.42.1: #107991# UNO shared library component renaming
2003-04-23 15:31:55 +00:00
Vladimir Glazounov 4c8cb02056 INTEGRATION: CWS dbgmacros1 (1.2.20.1.14); FILE MERGED
2003/04/10 16:34:30 kso 1.2.20.1.14.2: RESYNC: (1.2.20.1-1.3); FILE MERGED
2003/04/10 09:20:16 kso 1.2.20.1.14.1: #108413# - debug macro unification.
2003-04-15 15:42:43 +00:00
Vladimir Glazounov 4dbe92ca69 INTEGRATION: CWS dbgmacros1 (1.1.46); FILE MERGED
2003/04/10 09:20:16 kso 1.1.46.1: #108413# - debug macro unification.
2003-04-15 15:42:32 +00:00
Jens-Heiner Rechtien 43c6cd54eb MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-27 15:49:18 +00:00
Daniel Boelzle ce6274df7d osl_executeProcess has changed 2001-06-29 13:01:57 +00:00
Jörg Budischewski c09c23409b added component types 2001-05-15 06:51:20 +00:00
Kay Ramme 82974c64ce moved from grande to openoffice 2001-05-04 06:05:18 +00:00