Commit Graph

19 Commits

Author SHA1 Message Date
fa2a7c1c95 Keep using component_getImplementationEnvironment in extensions
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME
convention.  Keeping that convention an implementation detail makes it easier to
do improvements in the future.  (Theoretically, the bundled extension in mysqlc
could be considered internal code and not adapted, but just be safe.)

Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37
2013-12-17 11:05:59 +01:00
e52779d2f8 remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02:00
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
55225176b6 Unused include
Change-Id: If6caa7abed25ce95f1c62f9673619426eb49b5a8
2013-04-29 13:05:51 +02:00
343bd286c9 targeted string re-work
Change-Id: Icdf89cd23f34b9d599512414b14907c9ac67cffb
2012-06-02 12:58:04 -05:00
b50137566f Remove component_getImplementationEnvironment 2011-07-12 16:45:29 +02:00
11cdc4ccc4 Merge commit 'ooo/DEV300_m103'
Conflicts:
	odk/examples/DevelopersGuide/Components/CppComponent/service1_impl.cxx
	odk/examples/DevelopersGuide/Database/DriverSkeleton/SServices.cxx
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/fdcomp.cxx
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
	odk/examples/cpp/complextoolbarcontrols/exports.cxx
	odk/examples/cpp/counter/countermain.cxx
	odk/examples/cpp/remoteclient/remoteclient.cxx
	odk/settings/settings.mk
2011-03-23 16:59:36 +01:00
f03de39457 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:11:43 +01:00
01f92dfffd jsc340: i114609: adapt examples to work with the URE and use the passive registration 2011-02-28 14:10:02 +01:00
1d922012be RTL_CONSTASCII_USTRINGPARAM in sdk 2 2010-11-27 09:28:39 +01:00
7ccc9aaef5 RTL_CONSTASCII_USTRINGPARAM in sdk 1 2010-11-27 09:10:56 +01:00
e9a59da46a 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:04 +02:00
1296914c84 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
88a569437a INTEGRATION: CWS jsc14 (1.6.14); FILE MERGED
2006/10/25 08:52:30 jsc 1.6.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:07:43 +00:00
edbf279a27 INTEGRATION: CWS pchfix02 (1.5.152); FILE MERGED
2006/09/01 17:32:27 kaib 1.5.152.1: #i68856# Added header markers and pch files
2006-09-16 23:16:55 +00:00
0e3c310156 INTEGRATION: CWS sdk12bugfix (1.4.8); FILE MERGED
2004/03/01 11:38:52 jsc 1.4.8.1: #112169# remove unnecessary header
2004-03-17 10:51:49 +00:00
f5afa9bef7 INTEGRATION: CWS geordi2q14 (1.3.72); FILE MERGED
2004/01/30 13:11:46 hr 1.3.72.1: #111934#: merge CWS ooo111fix2
2004-02-02 19:08:36 +00:00
bbee99f0f2 INTEGRATION: CWS sdk04 (1.2.28); FILE MERGED
2003/06/24 11:08:26 jsc 1.2.28.1: #110313# insert source license header
2003-06-30 14:53:34 +00:00
62c63d3402 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-26 12:40:54 +00:00