Commit Graph

52 Commits

Author SHA1 Message Date
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Stephan Bergmann
a83b2af9ab Clean-up uno/lbnames.h
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-16 21:43:12 +01:00
Noel Grandin
610b2b94b3 remove unnecessary use of OUString constructor when assigning
change code like
   aStr = OUString("xxxx");
to
   aStr = "xxxx";

Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
Noel Grandin
2c35fff7ec remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString

Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-19 10:29:30 +02:00
Marcos Paulo de Souza
ee5661ecd3 fdo#54938: Adapt supportsService implementations..
to cppu::supportsService

Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14
Reviewed-on: https://gerrit.libreoffice.org/6370
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-22 10:28:10 +00:00
Takeshi Abe
98e20a37ba Mark as const
Change-Id: I65a05b59da6dbc2d37a55129c54ca0f322702364
2013-08-22 14:02:31 +09:00
Arnaud Versini
1a44cf5f6d Remove warning by using the right printf commands
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb
Reviewed-on: https://gerrit.libreoffice.org/4753
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09 10:10:39 +00:00
Luboš Luňák
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +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
Stephan Bergmann
b1959dbfad Remove unused cppuhelper/servicefactory.hxx includes
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21 15:56:44 +01:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Matúš Kukan
d50f3c5922 stoc: prefix more libs; only bootstrap is remaining
Change-Id: Ie9032c6faa493da47e76bc9ff467c4de4b318ca9
2012-10-02 11:10:04 +02:00
Stephan Bergmann
151c8d49e9 Better error reporting
Change-Id: I36c6dc025d0094c0b1666e13b25d78931392f768
2012-08-08 18:36:39 +02:00
Michael Meeks
3a53ddf0a2 re-base on ALv2 code. 2012-06-29 11:13:58 +01:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Takeshi Abe
c936e50627 catch exception by constant reference 2011-12-27 10:17:15 +09:00
Norbert Thiebaud
36f155dda1 remove include of pch header from stoc 2011-11-27 13:23:37 -06:00
Matúš Kukan
15f10fc946 Remove component_getImplementationEnvironment 2011-07-12 16:30:06 +02:00
Caolán McNamara
c1abc2ec9e fix up 2011-06-01 15:35:10 +01:00
Julien Nabet
08d3fdffae Easyhack: Add visibility markup to all component_get* functions 2011-04-21 16:06:40 +02:00
Norbert Thiebaud
d7fc91fcd1 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
* commit 'ooo/DEV300_m101': (185 commits)
  chart52: cleanup unused legend entry stuff in preparation of issue #i82802#
  masterfix: #i10000# add missing dependency in offapi
  sb138: #i115619# fix for MinGW
  sb138: #i115619#, #i116038# use osl_setThreadName in binaryurp
  sb138: #i115619# osl_setThreadName
  gridsort: i116682: update UnoControlDialog to reflect XDialog
  gridsort: minor changes to the new API: - renamed XMutableGridDataModel::setRowHeading to updateRowHeading for consistency reasons - renamed XSortableGridDataModel to XSortableGridData - actually, this is not a full-fledged model in itself.
  gridsort: grid control related unit tests (first set, more to come)
  sb138: #i116038# fresh implementation of binary URP bridge
  chart52: #28670# make the legend within charts resizeable - part 2
  gridsort: re-did the column resizing - introduced XGridColumn.Flexibility, determining to which degree the column is resized during auto-column-resizing - removed XGridColumn.PreferredWidth - there really is no need for this anymore now - documented the relationship between XGridColumn.Flexibility and XGridColumn.Resizeable - re-implemented TableControl_Impl::impl_ni_updateColumnWidths, with (hopefully) less magic
  sb139: #i116530# improve Java URP bridge error notification by utilizing the java.lang.Throwable cause facility
  gridsort: document the relationship between soorting the data and notifying XGridDataListeners
  gridsort: introduce XGridColumn::DataModelIndex. this allows for column removal/insertion at the GridColumnModel, without the need to touch the GridDataModel
  locales34: #i112431# adapt documentation to reality
  gridsort: introduce XSortableGridDataModel::removeColumnSort
  gridsort: #163172# added UNO API support for sorting grid data. Implementation still unfinished. Things missing in the SortableGridData implementation - add as listener to the delegator, so we're notified of changes - translate and multiplex those changes - do own notifications (XGridDataListener.dataChanged) when the sort order changed - (possibly) update the sort order when the data in the current sort-column changed
  gridsort: made the row title a row heading, being an Any instead of a string
  gridsort: XMutableGridData: renamed updateRow to updateRowData for consistency; introduced updateRowToolTip as shortcut for multiple updateCellToolTip calls
  gridsort: updateCell->updateCellData, setCellToolTip->updateCellToolTip; in both methods, have (Col,Row) params instead of (Row,Col), for consistency reasons
  ...

Conflicts:
	bridges/inc/bridges/remote/bridgeimpl.hxx
	bridges/inc/bridges/remote/connection.h
	bridges/inc/bridges/remote/context.h
	bridges/inc/bridges/remote/helper.hxx
	bridges/inc/bridges/remote/mapping.hxx
	bridges/inc/bridges/remote/proxy.hxx
	bridges/inc/bridges/remote/remote.h
	bridges/inc/bridges/remote/remote.hxx
	bridges/inc/bridges/remote/stub.hxx
	bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
	bridges/source/remote/context/context.cxx
	bridges/source/remote/static/helper.cxx
	bridges/source/remote/static/mapping.cxx
	bridges/source/remote/static/proxy.cxx
	bridges/source/remote/static/remote.cxx
	bridges/source/remote/static/remote_types.cxx
	bridges/source/remote/static/remote_types.hxx
	bridges/source/remote/static/stub.cxx
	bridges/source/remote/urp/urp_bridgeimpl.cxx
	bridges/source/remote/urp/urp_bridgeimpl.hxx
	bridges/source/remote/urp/urp_cache.h
	bridges/source/remote/urp/urp_cache.hxx
	bridges/source/remote/urp/urp_dispatch.cxx
	bridges/source/remote/urp/urp_dispatch.hxx
	bridges/source/remote/urp/urp_environment.cxx
	bridges/source/remote/urp/urp_job.cxx
	bridges/source/remote/urp/urp_job.hxx
	bridges/source/remote/urp/urp_log.cxx
	bridges/source/remote/urp/urp_log.hxx
	bridges/source/remote/urp/urp_marshal.cxx
	bridges/source/remote/urp/urp_marshal.hxx
	bridges/source/remote/urp/urp_marshal_decl.hxx
	bridges/source/remote/urp/urp_property.hxx
	bridges/source/remote/urp/urp_propertyobject.cxx
	bridges/source/remote/urp/urp_propertyobject.hxx
	bridges/source/remote/urp/urp_reader.cxx
	bridges/source/remote/urp/urp_reader.hxx
	bridges/source/remote/urp/urp_replycontainer.hxx
	bridges/source/remote/urp/urp_threadid.cxx
	bridges/source/remote/urp/urp_threadid.hxx
	bridges/source/remote/urp/urp_unmarshal.cxx
	bridges/source/remote/urp/urp_unmarshal.hxx
	bridges/source/remote/urp/urp_writer.cxx
	bridges/source/remote/urp/urp_writer.hxx
	cppu/source/threadpool/threadpool.cxx
	cppu/util/target.pmk
	cppuhelper/qa/propertysetmixin/comp_propertysetmixin.cxx
	cppuhelper/source/interfacecontainer.cxx
	cpputools/source/regcomplazy/regcomplazy.cxx
	jurt/prj/d.lst
	jvmfwk/source/elements.cxx
	offapi/com/sun/star/awt/grid/GridDataEvent.idl
	offapi/com/sun/star/awt/grid/XGridColumn.idl
	offapi/com/sun/star/awt/tab/makefile.mk
	offapi/com/sun/star/chart2/ExplicitIncrementData.idl
	offapi/com/sun/star/chart2/XPlotter.idl
	offapi/com/sun/star/chart2/XUndoHelper.idl
	offapi/com/sun/star/document/MediaDescriptor.idl
	offapi/com/sun/star/document/makefile.mk
	offapi/com/sun/star/linguistic2/XLanguageGuessing.idl
	offapi/com/sun/star/script/ModuleInfo.idl
	offapi/com/sun/star/script/ModuleType.idl
	offapi/com/sun/star/text/TextMarkupType.idl
	offapi/com/sun/star/util/XTextSearch.idl
	offapi/com/sun/star/xml/sax/XFastAttributeList.idl
	pyuno/source/loader/makefile.mk
	remotebridges/source/bridge/bridge_connection.cxx
	remotebridges/source/bridge/bridge_connection.hxx
	remotebridges/source/bridge/bridge_provider.cxx
	remotebridges/source/bridge/remote_bridge.cxx
	remotebridges/source/bridge/remote_bridge.hxx
	remotebridges/source/dynamicloader/dynamicloader.cxx
	remotebridges/source/factory/bridgefactory.cxx
	remotebridges/source/factory/bridgeimpl.cxx
	remotebridges/source/factory/bridgeimpl.hxx
	remotebridges/source/factory/makefile.mk
	sal/cppunittester/cppunittester.cxx
	sal/inc/osl/diagnose.h
	sal/osl/os2/system.h
	sal/osl/unx/diagnose.c
	sal/osl/unx/file_misc.cxx
	sal/osl/unx/process_impl.cxx
	sal/osl/w32/diagnose.c
	sal/osl/w32/process.cxx
	sal/prj/build.lst
	sal/qa/rtl/math/makefile.mk
	sal/qa/rtl/math/rtl_math.cxx
	sal/qa/rtl/math/rtl_old_testint64.cxx
	sal/qa/rtl/math/test_rtl_math.cxx
	sal/systools/win32/kill/kill.cxx
	sal/textenc/tencinfo.c
	sal/util/sal.map
	stoc/source/inspect/introspection.cxx
	stoc/source/security/file_policy.cxx
	stoc/source/simpleregistry/simpleregistry.cxx
2011-03-08 22:29:39 -06:00
Sebastian Spaeth
a715e1b3d0 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-14 17:04:31 +02:00
sb
008f61c9f1 sb129: #i113189# change UNO components to use passive registration 2010-09-10 13:10:07 +02:00
Jens-Heiner Rechtien
7c80db2eb3 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
e6ee2693ed INTEGRATION: CWS changefileheader (1.26.56); FILE MERGED
2008/03/31 07:26:09 rt 1.26.56.1: #i87441# Change license header to LPGL v3.
2008-04-11 10:38:50 +00:00
Oliver Bolte
a3e86c260a INTEGRATION: CWS pchfix02 (1.25.10); FILE MERGED
2006/09/01 17:41:12 kaib 1.25.10.1: #i68856# Added header markers and pch files
2006-09-16 16:30:31 +00:00
Jens-Heiner Rechtien
891bcb540b INTEGRATION: CWS warnings01 (1.23.6); FILE MERGED
2005/10/31 14:38:08 sb 1.23.6.3: #i53898# Made code warning-free.
2005/09/22 19:49:02 sb 1.23.6.2: RESYNC: (1.23-1.24); FILE MERGED
2005/09/01 15:24:39 sb 1.23.6.1: #i53898# Made code warning-free.
2006-06-19 23:02:58 +00:00
Rüdiger Timm
608a6cd688 INTEGRATION: CWS ooo19126 (1.23.12); FILE MERGED
2005/09/05 17:10:53 rt 1.23.12.1: #i54170# Change license header: remove SISSL
2005-09-08 06:57:38 +00:00
Oliver Bolte
fd2cac17fc INTEGRATION: CWS sb33 (1.22.4); FILE MERGED
2005/06/29 13:56:53 sb 1.22.4.1: #i51091# Changed occurences of jobject in the jvmaccess API to void* to avoid different mangled C++ names for different JDKs.
2005-07-07 09:59:29 +00:00
Oliver Bolte
aa0bba3303 INTEGRATION: CWS sb31 (1.21.24); FILE MERGED
2005/04/07 12:27:40 sb 1.21.24.1: #120220# Use jvmaccess::UnoVirtualMachine together with its UnoClassLoader (instead of jvmaccess::VirtualMachine) to load any UNO Java classes.
2005-06-17 09:06:46 +00:00
Oliver Bolte
b772aba987 INTEGRATION: CWS unotlc (1.20.16); FILE MERGED
2004/07/06 14:58:18 dbo 1.20.16.1: fixing return statement
2004-08-12 11:17:23 +00:00
Oliver Bolte
1b37cbe88d INTEGRATION: CWS sb18 (1.19.4); FILE MERGED
2004/05/12 11:33:26 sb 1.19.4.1: #i21150# Missing includes.
2004-06-04 01:31:10 +00:00
Kurt Zenker
3be2ca2617 INTEGRATION: CWS jl3 (1.18.44); FILE MERGED
2003/11/21 14:23:24 jl 1.18.44.1: #i22146# Everytime a component is activated it is tried to load the java java loader. If the office is not configured to run java, then every time the message box pops up asking the user to install one
2004-03-25 13:46:54 +00:00
Rüdiger Timm
985af9d02f INTEGRATION: CWS uno2 (1.16.2.1.18); FILE MERGED
2003/04/03 12:30:19 jl 1.16.2.1.18.1: #i12929# no RuntimeException when JavaVM could not be obtained. XImplementationLoader methods throw exceptions in that case.
2003-04-23 15:09:48 +00:00
Jens-Heiner Rechtien
414c097c65 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-27 11:01:26 +00:00
Stephan Bergmann
203d723f5f #105077# Adapted to modified javavm service (based on new jvmaccess/virtualmachine). 2002-12-06 09:51:54 +00:00
Daniel Boelzle
1bae67bbcf #104312# local ref leakage 2002-10-29 08:25:58 +00:00
Joachim Lingner
49f7f608cc #100230# added sensible error messages 2002-09-17 12:43:40 +00:00
Daniel Boelzle
8f0762f891 #100075# modifying loaders, using macro expander singleton; service manager review 2002-06-14 12:26:30 +00:00
Jörg Budischewski
320aa63ec8 #99011# javaloader now evaluates bootstrap variables within the locationUrl, needs to be switched to a singleton in later source trees 2002-04-26 15:40:15 +00:00
Juergen Schmidt
1bedb732c0 #94208# insert com.sun.star.loader.Java 2001-11-02 14:53:50 +00:00
Juergen Schmidt
944ab22d76 #94208# insert com.sun.star.loader.Java 2001-11-02 14:44:59 +00:00
Jörg Budischewski
a242da96dc #67468# Added unloading and context support 2001-06-22 15:21:02 +00:00
Kay Ramme
36e9281265 muse right encoding for string compare (#86063#) 2001-04-18 08:16:56 +00:00
Joachim Lingner
4038b72427 OSL_ENSHURE replaced by OSL_ENSURE 2001-03-12 14:38:06 +00:00
Kay Ramme
d73d167d1c replaced createFromAscii with RTL_CONSTASCII_USTRINGPARAM where possible 2001-02-19 09:15:30 +00:00
Jens-Heiner Rechtien
fb7b6fc011 #65293#: typo 2000-10-26 11:28:22 +00:00
Jens-Heiner Rechtien
fe3e32930b #65293#: jni.h/stdarg.h header clash. Workaround by including cstdarg before jni.h 2000-10-26 10:59:59 +00:00
Kay Ramme
78213e4e44 test the java vm any before using it 2000-10-25 10:15:49 +00:00