Commit Graph
27 Commits
Author SHA1 Message Date
Noel Grandin 3bc5df7f32 UNO: no need to use OUString constructor when calling createInstance
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526
Reviewed-on: https://gerrit.libreoffice.org/19682
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30 08:59:59 +00:00
Chris Laplante 341d9c4f08 odk: Clean up comments
Change-Id: I38aa34192244cdd29e1cce7ac612aa9cd5f9e8a1
Reviewed-on: https://gerrit.libreoffice.org/11006
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-19 02:54:14 -05:00
Alexander Wilms 99e3bd454b Remove visual noise from odk
Change-Id: I5638e2d37827c2d7322b72bf6ce176ac843639f1
Reviewed-on: https://gerrit.libreoffice.org/8285
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 10:02:49 -06:00
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
Noel Grandin bb121c864c fdo#46808, Convert frame::Desktop to new style service.
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).

Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.

I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.

I dropped the optional interfaces
   XStatusIndicatorFactory
   XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.

I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.

Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
Norbert Thiebaud 343bd286c9 targeted string re-work
Change-Id: Icdf89cd23f34b9d599512414b14907c9ac67cffb
2012-06-02 12:58:04 -05:00
Stephan Bergmann b786a33cfd Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and BaseInstallation. 2011-10-24 13:59:58 +02:00
Jan Holesovsky 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
Julien Nabet 3b2efb2043 Remove "using namespace ::rtl" 2011-03-02 20:36:58 +01:00
Juergen Schmidt 01f92dfffd jsc340: i114609: adapt examples to work with the URE and use the passive registration 2011-02-28 14:10:02 +01:00
Gert Faller 7ccc9aaef5 RTL_CONSTASCII_USTRINGPARAM in sdk 1 2010-11-27 09:10:56 +01:00
Sebastian Spaeth 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
Jens-Heiner Rechtien 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
Juergen Schmidt 9ae3e2b12d #160584# use SAL_IMPLEMENT_MAIN_WITH_ARGS macro 2009-11-04 10:14:03 +00:00
Rüdiger Timm c9a7640c0e INTEGRATION: CWS jsc21 (1.12.92); FILE MERGED
2008/05/21 12:55:39 jsc 1.12.92.1: #i88797# adapted to new structure
2008-07-11 13:25:41 +00:00
Kurt Zenker 79b888e4da INTEGRATION: CWS jsc14 (1.11.14); FILE MERGED
2006/10/25 08:52:28 jsc 1.11.14.1: #i70636# remove auto generated precompiled header include
2006-11-06 14:04:14 +00:00
Oliver Bolte e29d3edced INTEGRATION: CWS pchfix02 (1.10.98); FILE MERGED
2006/09/01 17:32:25 kaib 1.10.98.1: #i68856# Added header markers and pch files
2006-09-16 23:14:21 +00:00
Rüdiger Timm a2f0bda494 INTEGRATION: CWS sdksample (1.9.40); FILE MERGED
2005/01/12 15:17:56 jsc 1.9.40.3: #i39890# change to new OpenDocument format
2004/07/21 16:17:16 jsc 1.9.40.2: #i29308# take care of full qualified path
2004/07/21 14:28:17 jsc 1.9.40.1: #i29308# take care of full qualified path
2005-01-31 16:02:04 +00:00
Jens-Heiner Rechtien cd97ab2b74 INTEGRATION: CWS geordi2q14 (1.8.72); FILE MERGED
2004/01/30 13:11:44 hr 1.8.72.1: #111934#: merge CWS ooo111fix2
2004-02-02 19:07:32 +00:00
Jens-Heiner Rechtien 43513c7308 INTEGRATION: CWS sdk04 (1.7.20); FILE MERGED
2003/06/24 11:08:24 jsc 1.7.20.1: #110313# insert source license header
2003-06-30 14:52:06 +00:00
Rüdiger Timm 9476a73552 INTEGRATION: CWS sdk01 (1.3.20.1.6); FILE MERGED
2003/03/13 11:39:21 jsc 1.3.20.1.6.1: #107908# catch exception
2003-04-17 08:40:17 +00:00
Juergen Schmidt cd93a89eac #99053# synchronize with OOO_STABLE_1 2003-02-04 08:30:41 +00:00
Juergen Schmidt c1d7ce84fd #99053# to be synchronized with OOO_STABLE_1 2003-01-31 16:08:36 +00:00
Juergen Schmidt c49fe44c24 #99053# modified, new build env 2002-12-19 09:03:12 +00:00
Juergen Schmidt 2a4cf08dfe #87796# use the server side component context 2001-12-05 12:19:09 +00:00
Bertram Nolte 5d2e49cabd #87796# Replaced XMultiServiceFactory with XMultiComponentFactory. 2001-11-27 15:41:32 +00:00
Bertram Nolte fa0f2ddade #87796# Added CPP example DocumentLoader. 2001-11-26 13:26:01 +00:00