Stephan Bergmann
cc60672058
This example doesn't have any idl files
...
Change-Id: Ia70268084603db3329d276533a9351e6c1eebbca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121894
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2021-09-10 14:56:06 +02:00
Stephan Bergmann
ddcc98fa50
Remove obsolete dynamic exception specifications from SDK example C++ code
...
GCC 11 trunk g++ defaults to C++17 now, so that CustomTarget_odk/build-examples
and CustomTarget_odk/build-examples_java would now fail with "error: ISO C++17
does not allow dynamic exception specifications".
550e0e42d9 "Remove dynamic exception
specifications from cppumaker-generated code" had long since removed the
exception specifications from the underlying (C++ classes representing) UNO
interface types, so just remove them from the SDK example code, too. An
alternative would have been to make sure those CustomTarget use an old C++
compiler standard. However, testing that the examples work against a new
standard has probably similar merit to testing that they keep working against
some obsolete standard.
Change-Id: I8ec9ac2f9ced7bd1b746fb00d9bce94bf6aedda5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99218
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
2020-07-22 15:13:24 +02:00
Noel Grandin
5b97250bfc
sal_Char->char in lotuswordpro..odk
...
Change-Id: I5a7bd149554d24276a67437b654f8ffd2610a276
Reviewed-on: https://gerrit.libreoffice.org/85478
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2019-12-19 10:35:21 +01:00
Andrea Gelmini
73e3604fc1
Fixing '....' and '..'
...
Change-Id: I926069d6c1f2712e5020d930f7ff6c62fd00e912
Reviewed-on: https://gerrit.libreoffice.org/78667
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
2019-09-06 09:05:50 +02:00
Andrea Gelmini
2286eb08e7
Fix typos in code
...
Extracted from https://gerrit.libreoffice.org/#/c/75487/1
Change-Id: I80f9247c5c961a33c0d2c8354ea0524820b33409
Reviewed-on: https://gerrit.libreoffice.org/76028
Reviewed-by: Michael Meeks <michael.meeks@collabora.com >
Tested-by: Andrea Gelmini <andrea.gelmini@gelma.net >
2019-07-20 22:36:27 +02:00
Gabor Kelemen
cc7280efdb
tdf#42949 Fix IWYU warnings in include/cppuhelper/*
...
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ib420e9216b8313f5ed7634ec375e39ceb741fd45
Reviewed-on: https://gerrit.libreoffice.org/59297
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk >
2018-09-10 09:58:12 +02:00
Stephan Bergmann
3caf268f9a
Make SDK examples compile again
...
Revert (parts of) various commits that tried to use LIBO_INTERNAL_ONLY features
in external odk/examples/ code.
Change-Id: I275c3e8979c995430329bca61e51b2841503234f
2016-04-27 15:39:47 +02:00
Andrea Gelmini
64d624b651
Fix typos
...
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com >
2016-01-10 14:17:20 +00:00
Noel Grandin
8e234c5b7d
use initialiser syntax for Sequence<OUString>
...
replaced using the script:
git grep -lP 'Sequence.*OUString.*\(1\)'
| xargs perl -0777 -pi
-e "s/Sequence< OUString > (\w+)\(1\);
.*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g"
Change-Id: I23688a91562051a8eed11fc2a85599545c285c34
Reviewed-on: https://gerrit.libreoffice.org/19967
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-11-15 10:13:08 +00:00
Stephan Bergmann
26cf7dcf19
Make SDK examples compile again
...
...after various recent changes to include files etc.
Change-Id: I9d2acbcfb09ca1df6247038afa6fbd99aa74a90d
2014-11-19 17:06:30 +01:00
Noel Grandin
0371a63365
remove unnecessary 'using namespace rtl' declarations
...
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-10-29 11:28:54 +00:00
Stephan Bergmann
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
Noel Grandin
e52779d2f8
remove unnecessary use of OUString constructor
...
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-11 11:21:26 +02: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
Stephan Bergmann
55225176b6
Unused include
...
Change-Id: If6caa7abed25ce95f1c62f9673619426eb49b5a8
2013-04-29 13:05:51 +02:00
Stephan Bergmann
5051209534
Adapt SDK to usage of msvcrtd for Windows --enable-dbgutil
...
* Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK. Turns out
this was explicitly included in ~all examples Makefiles, but only after
settings.mk where it is now used, so include it in settings.mk now and dropped
it from all the exmaples Makefiles.
* The old settings.mk was apparently confused with using /MT ("link with
LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link
command line (where it was ignored), and you apparently can't pass both
together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp.
/MTd). No idea if that is exactly right, however.
* Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and
msvcrt.lib vs. msvcrtd.lib on Windows. Adapted examples Makefiles and
/ure/source/uretest/Makefile accordingly. Some examples Makefiles
additionally use msvcprt.lib, no idea whether that still needs to be
addressed.
Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be
2013-04-19 14:02:18 +02:00
Christian Lohmaier
368210926b
remove -dylib_file mappings that are not needed anymore
...
XCode 2.5 (i.e. Mac OSX 10.4 & 10.5) couldn't find the libraries
without explicit mapping, but as baseline is now 10.6, this
wrapping is no longer necessary
Change-Id: I225fc47b9ea4b1fb2b13ba575605cbdebc014fd8
Reviewed-on: https://gerrit.libreoffice.org/3192
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2013-04-04 17:46:46 +00:00
Norbert Thiebaud
343bd286c9
targeted string re-work
...
Change-Id: Icdf89cd23f34b9d599512414b14907c9ac67cffb
2012-06-02 12:58:04 -05:00
Matúš Kukan
b50137566f
Remove component_getImplementationEnvironment
2011-07-12 16:45:29 +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
Thomas Arnhold
f03de39457
Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)
2011-03-19 14:11:43 +01:00
Juergen Schmidt
8e8fc2abfa
jsc340: i114609: adapt examples to work with the URE and use the passive registration
2011-03-01 09:48:57 +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
Fridrich Štrba
1628005298
Trying to remove the stlport mention from the code
2011-02-09 16:20:25 +01:00
Gert Faller
1d922012be
RTL_CONSTASCII_USTRINGPARAM in sdk 2
2010-11-27 09:28:39 +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
40487924f7
#i106627# extend and adapt env for VC9, building manifest, change macro
2009-11-05 14:21:50 +00:00
Rüdiger Timm
3026960119
INTEGRATION: CWS jsc21 (1.13.74); FILE MERGED
...
2008/06/27 08:49:54 jsc 1.13.74.2: #i90032# adapt link flags and linking for MacOS
2008/05/21 13:19:20 jsc 1.13.74.1: #i88797# adapted to new structure
2008-07-11 13:27:53 +00:00
Oliver Bolte
19a6b711b3
INTEGRATION: CWS jsc17 (1.12.8); FILE MERGED
...
2007/01/22 13:31:40 jsc 1.12.8.1: #i72793# integrate patch and verify all C++ makefile
2007-01-25 10:08:54 +00:00
Ivo Hinkelmann
1fb4df278b
INTEGRATION: CWS jsc15 (1.11.46); FILE MERGED
...
2006/11/24 12:51:55 jsc 1.11.46.1: #i68136# insert manifest linking
2006-12-20 11:25:56 +00:00
Kurt Zenker
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
Oliver Bolte
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
Oliver Bolte
f3dde21c67
INTEGRATION: CWS jsc8 (1.10.58); FILE MERGED
...
2006/06/19 08:27:59 jsc 1.10.58.1: #i66541# increase sleep time
2006-07-13 11:03:09 +00:00
Rüdiger Timm
9edfff7155
INTEGRATION: CWS sdkbugfix02 (1.9.10); FILE MERGED
...
2005/03/03 15:42:06 jsc 1.9.10.1: #41142# replace make with internal MAKE variable
2005-03-29 11:15:43 +00:00
Rüdiger Timm
b744b1a9a5
INTEGRATION: CWS sdksample (1.8.4); FILE MERGED
...
2005/01/28 10:06:01 jsc 1.8.4.5: #i29308# prepare path for del command (windows only)
2004/11/11 10:33:54 jsc 1.8.4.4: #i29308# adapted
2004/10/25 12:58:54 jsc 1.8.4.3: #i29308# minimize exported symbols
2004/10/22 14:13:35 jsc 1.8.4.2: #i29308# insert --singleaccept
2004/07/21 12:45:39 jsc 1.8.4.1: i29308# wait for server on UNIX
2005-01-31 16:07:55 +00:00
Rüdiger Timm
b070508712
INTEGRATION: CWS sdk13 (1.7.20); FILE MERGED
...
2004/05/07 07:26:48 jsc 1.7.20.2: #i27128# use macro for regcomp
2004/05/05 09:31:42 jsc 1.7.20.1: #116658# merge cinnabar changes
2004-05-18 12:29:50 +00:00
Oliver Bolte
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
Jens-Heiner Rechtien
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
Jens-Heiner Rechtien
bba5017bb0
INTEGRATION: CWS geordi2q14 (1.6.72); FILE MERGED
...
2004/01/30 13:11:45 hr 1.6.72.1: #111934#: merge CWS ooo111fix2
2004-02-02 19:08:11 +00:00
Jens-Heiner Rechtien
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
Jens-Heiner Rechtien
dd3171d39b
INTEGRATION: CWS sdk04 (1.5.6); FILE MERGED
...
2003/06/24 11:08:27 jsc 1.5.6.1: #110313# insert source license header
2003-06-30 14:53:19 +00:00
Vladimir Glazounov
56ad794841
INTEGRATION: CWS sdk02 (1.4.10); FILE MERGED
...
2003/05/16 14:01:30 jsc 1.4.10.1: #109045# improve build process
2003-06-10 09:46:09 +00:00
Rüdiger Timm
38741f87cf
INTEGRATION: CWS uno2 (1.1.4.1.18); FILE MERGED
...
2003/04/14 10:11:04 jsc 1.1.4.1.18.1: #107991# new naming convention for uno components
2003-04-23 15:50:16 +00:00
Rüdiger Timm
e645add5d9
INTEGRATION: CWS sdk01 (1.1.4.1.6); FILE MERGED
...
2003/04/12 10:13:52 jsc 1.1.4.1.6.2: #108799# new naming convention
2003/04/10 11:34:35 jsc 1.1.4.1.6.1: #108799# use new naming convention for uno components
2003-04-17 08:41:58 +00:00
Jens-Heiner Rechtien
62c63d3402
MWS_SRX644: migrate branch mws_srx644 -> HEAD
2003-03-26 12:40:54 +00:00