Noel Grandin
e2080e70fe
new compilerplugin returnbyref
...
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
class A {
struct X x;
public X* getX() { return &x; }
}
which can be:
public X& getX() { return x; }
Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
Noel Grandin
3e82897353
improve the inlinesimplememberfunctions clang plugin
...
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
Noel Grandin
0e507ae031
various: remove SAL_THROW macro
...
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-05 08:17:52 +02:00
Noel Grandin
e7bc3cab01
remove boilerplate in UNO Exception constructor calls
...
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Stephan Bergmann
184e4ef356
rhbz#1016758: Dispose bridges when disposing bridge factory
...
... (which happens when the service manager is disposed), so that no bridges can
still run during exit. But this is so glaring that I wonder whether I missed
the obvious when I originally wrote that code, or whether I rather miss the
obvious now. So better let this rest for a while on master before deciding
about any backports.
Change-Id: I7c9ad6c8a53dfd1a7b702640920dcb0a9a2c3007
2014-05-19 18:11:47 +02:00
Caolán McNamara
ff43ba7eb6
coverity#707665 Uninitialized scalar field
...
Change-Id: Ie69b1ee3425d537a930d0ffd0995ad8eed218750
2014-05-11 11:52:33 +01:00
Caolán McNamara
5575146b9c
coverity#707666 Uninitialized scalar field
...
Change-Id: I3a2cf5db28b5e2019bf06f00413d645d88033a2b
2014-05-11 11:52:33 +01:00
Pedro Giffuni
0a1d822372
Many spelling fixes: directories a* - g*.
...
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.
(cherry picked from commit a6efc99d19d533fcf53106b6667bafba4d364370)
Conflicts:
accessibility/bridge/org/openoffice/java/accessibility/AccessibleTextImpl.java
accessibility/bridge/org/openoffice/java/accessibility/Component.java
accessibility/bridge/org/openoffice/java/accessibility/Container.java
accessibility/bridge/org/openoffice/java/accessibility/DescendantManager.java
accessibility/bridge/org/openoffice/java/accessibility/Dialog.java
accessibility/bridge/org/openoffice/java/accessibility/Frame.java
accessibility/bridge/org/openoffice/java/accessibility/List.java
accessibility/bridge/org/openoffice/java/accessibility/Menu.java
accessibility/bridge/org/openoffice/java/accessibility/Table.java
accessibility/bridge/org/openoffice/java/accessibility/Tree.java
accessibility/bridge/org/openoffice/java/accessibility/Window.java
accessibility/bridge/source/java/WindowsAccessBridgeAdapter.cxx
accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
accessibility/source/extended/accessibleiconchoicectrlentry.cxx
accessibility/source/extended/accessiblelistboxentry.cxx
accessibility/source/extended/accessibletablistbox.cxx
accessibility/source/extended/accessibletablistboxtable.cxx
accessibility/workben/org/openoffice/accessibility/awb/canvas/Canvas.java
accessibility/workben/org/openoffice/accessibility/misc/OfficeConnection.java
apple_remote/AppleRemote.m
autodoc/inc/ary/cpp/c_gate.hxx
autodoc/inc/ary/cpp/cp_ce.hxx
autodoc/inc/ary/cpp/cp_def.hxx
autodoc/inc/ary/cpp/cp_type.hxx
autodoc/inc/ary/doc/d_parametrized.hxx
autodoc/inc/ary/idl/i_type.hxx
autodoc/source/ary/inc/cross_refs.hxx
autodoc/source/ary/inc/sorted_idset.hxx
autodoc/source/display/html/outfile.hxx
autodoc/source/display/html/pagemake.cxx
autodoc/source/display/idl/hi_env.hxx
autodoc/source/parser/inc/tokens/tokproct.hxx
autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx
autodoc/source/parser_i/inc/tokens/tkp2.hxx
automation/inc/automation/commtypes.hxx
automation/inc/automation/simplecm.hxx
automation/source/server/recorder.cxx
automation/source/server/recorder.hxx
automation/source/server/statemnt.cxx
automation/source/simplecm/packethandler.hxx
automation/source/simplecm/simplecm.cxx
avmedia/source/framework/soundhandler.cxx
basegfx/inc/basegfx/range/rangeexpander.hxx
basic/inc/basic/sbxdef.hxx
basic/source/classes/sbunoobj.cxx
basic/source/classes/sbxmod.cxx
basic/source/comp/dim.cxx
basic/source/comp/exprgen.cxx
basic/source/runtime/step1.cxx
basic/source/runtime/step2.cxx
basic/source/sbx/sbxint.cxx
basic/source/uno/namecont.cxx
basic/workben/mgrtest.cxx
bean/com/sun/star/beans/LocalOfficeConnection.java
bean/com/sun/star/beans/LocalOfficeWindow.java
bean/com/sun/star/comp/beans/LocalOfficeConnection.java
bean/com/sun/star/comp/beans/LocalOfficeWindow.java
bean/com/sun/star/comp/beans/OOoBean.java
bridges/inc/bridges/cpp_uno/bridge.hxx
bridges/source/cpp_uno/cc50_solaris_intel/cpp2uno.cxx
bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
bridges/source/cpp_uno/cc50_solaris_sparc/cpp2uno.cxx
bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx
bridges/source/cpp_uno/gcc3_macosx_powerpc/cpp2uno.cxx
bridges/source/cpp_uno/gcc3_macosx_x86-64/uno2cpp.cxx
bridges/source/cpp_uno/gcc3_netbsd_intel/cpp2uno.cxx
bridges/source/cpp_uno/gcc3_netbsd_intel/except.cxx
bridges/source/cpp_uno/gcc3_netbsd_intel/uno2cpp.cxx
bridges/source/cpp_uno/gcc3_os2_intel/cpp2uno.cxx
bridges/source/cpp_uno/gcc3_os2_intel/except.cxx
bridges/source/cpp_uno/gcc3_os2_intel/uno2cpp.cxx
bridges/source/cpp_uno/mingw_x86-64/uno2cpp.cxx
bridges/source/cpp_uno/msvc_win32_intel/except.cxx
bridges/source/cpp_uno/s5abi_macosx_x86-64/except.cxx
bridges/source/cpp_uno/shared/component.cxx
bridges/source/jni_uno/jni_base.h
bridges/source/jni_uno/jni_bridge.cxx
bridges/source/jni_uno/jni_java2uno.cxx
bridges/source/jni_uno/jni_uno2java.cxx
canvas/inc/canvas/base/doublebitmapbase.hxx
canvas/inc/canvas/base/floatbitmapbase.hxx
canvas/inc/canvas/base/integerbitmapbase.hxx
canvas/source/cairo/cairo_canvasbitmap.cxx
canvas/source/cairo/cairo_textlayout.cxx
chart2/source/controller/dialogs/ObjectNameProvider.cxx
chart2/source/view/diagram/VDiagram.cxx
chart2/source/view/main/ChartView.cxx
cli_ure/source/native/makefile.mk
cli_ure/source/uno_bridge/cli_data.cxx
codemaker/source/javamaker/javatype.cxx
comphelper/inc/comphelper/componentcontext.hxx
comphelper/inc/comphelper/interaction.hxx
comphelper/inc/comphelper/locale.hxx
comphelper/inc/comphelper/string.hxx
comphelper/source/container/embeddedobjectcontainer.cxx
comphelper/source/misc/accessiblecontexthelper.cxx
comphelper/source/misc/asyncnotification.cxx
comphelper/source/misc/locale.cxx
comphelper/source/misc/mediadescriptor.cxx
comphelper/source/misc/numberedcollection.cxx
comphelper/source/misc/proxyaggregation.cxx
comphelper/source/misc/scopeguard.cxx
comphelper/source/misc/sequenceashashmap.cxx
configure.in
connectivity/source/commontools/parameters.cxx
connectivity/source/drivers/dbase/DTable.cxx
connectivity/source/drivers/evoab2/NStatement.cxx
connectivity/source/drivers/file/FPreparedStatement.cxx
connectivity/source/drivers/jdbc/DatabaseMetaData.cxx
connectivity/source/inc/flat/ETable.hxx
connectivity/source/parse/sqlnode.cxx
cosv/inc/cosv/persist.hxx
cosv/inc/cosv/ploc_dir.hxx
cosv/inc/cosv/tpl/dyn.hxx
cppu/source/LogBridge/LogBridge.cxx
cppu/source/uno/data.cxx
cppuhelper/source/bootstrap.cxx
cppuhelper/source/component_context.cxx
cppuhelper/source/propshlp.cxx
cppuhelper/source/servicefactory.cxx
cpputools/source/registercomponent/registercomponent.cxx
cui/source/customize/acccfg.cxx
cui/source/dialogs/about.cxx
cui/source/dialogs/commonlingui.hxx
cui/source/dialogs/showcols.cxx
cui/source/inc/cuihyperdlg.hxx
cui/source/inc/cuitabline.hxx
cui/source/options/optsave.src
cui/source/tabpages/tpline.cxx
cui/source/tabpages/transfrm.cxx
dbaccess/source/core/api/CacheSet.cxx
dbaccess/source/core/api/KeySet.cxx
dbaccess/source/core/api/RowSet.cxx
dbaccess/source/core/api/RowSet.hxx
dbaccess/source/core/api/RowSetBase.cxx
dbaccess/source/core/api/RowSetBase.hxx
dbaccess/source/core/api/RowSetCache.cxx
dbaccess/source/core/api/querycomposer.cxx
dbaccess/source/ext/adabas/Acomponentmodule.hxx
dbaccess/source/ui/app/AppControllerDnD.cxx
dbaccess/source/ui/app/AppDetailView.cxx
dbaccess/source/ui/browser/brwctrlr.cxx
dbaccess/source/ui/browser/sbagrid.cxx
dbaccess/source/ui/browser/unodatbr.cxx
dbaccess/source/ui/dlg/AdabasStat.hxx
dbaccess/source/ui/dlg/UserAdmin.cxx
dbaccess/source/ui/dlg/directsql.cxx
dbaccess/source/ui/dlg/generalpage.hxx
dbaccess/source/ui/dlg/tablespage.cxx
dbaccess/source/ui/inc/JoinTableView.hxx
dbaccess/source/ui/inc/TableController.hxx
dbaccess/source/ui/inc/UITools.hxx
dbaccess/source/ui/inc/brwctrlr.hxx
dbaccess/source/ui/inc/datasourcemap.hxx
dbaccess/source/ui/querydesign/JoinTableView.cxx
dbaccess/source/ui/querydesign/QueryDesignView.cxx
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
dbaccess/source/ui/querydesign/TableWindow.cxx
dbaccess/source/ui/querydesign/querycontroller.cxx
dbaccess/source/ui/relationdesign/RelationTableView.cxx
dbaccess/source/ui/tabledesign/TableController.cxx
desktop/source/app/app.cxx
desktop/source/app/appinit.cxx
desktop/source/app/langselect.cxx
desktop/source/app/officeipcthread.cxx
desktop/source/deployment/manager/dp_extensionmanager.cxx
desktop/source/deployment/misc/dp_misc.cxx
desktop/source/deployment/misc/dp_resource.cxx
desktop/source/deployment/registry/dp_backend.cxx
desktop/source/deployment/registry/package/dp_package.cxx
desktop/source/migration/cfgfilter.cxx
desktop/source/migration/migration.cxx
desktop/source/splash/splash.cxx
desktop/win32/source/QuickStart/QuickStart.cpp
desktop/win32/source/setup/setup.cpp
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
dtrans/source/win32/clipb/MtaOleClipb.hxx
dtrans/source/win32/clipb/WinClipbImpl.cxx
editeng/source/editeng/editview.cxx
editeng/source/editeng/impedit2.cxx
editeng/source/editeng/impedit3.cxx
editeng/source/editeng/impedit4.cxx
editeng/source/editeng/textconv.hxx
editeng/source/misc/unolingu.cxx
embeddedobj/source/commonembedding/persistence.cxx
embeddedobj/source/general/dummyobject.cxx
embeddedobj/source/msole/olecomponent.cxx
embeddedobj/source/msole/olepersist.cxx
embeddedobj/test/Container1/NativeView.java
extensions/source/bibliography/framectr.cxx
extensions/source/macosx/spotlight/OOoContentDataParser.m
extensions/source/macosx/spotlight/unzip.h
extensions/source/macosx/spotlight/unzip.m
extensions/source/oooimprovement/myconfigurationhelper.hxx
extensions/source/propctrlr/eventhandler.cxx
extensions/source/propctrlr/formcomponenthandler.cxx
extensions/source/propctrlr/pcrcomponentcontext.hxx
extensions/source/scanner/twain.cxx
extensions/source/update/check/updatecheckconfig.hxx
external/mingwheaders/mingw_atl_headers.patch
extras/source/misc_config/wizard/web/layouts/source.xml.xsl
fileaccess/source/FileAccess.cxx
filter/inc/filter/msfilter/msocximex.hxx
filter/inc/filter/msfilter/svxmsbas.hxx
filter/qa/complex/filter/detection/typeDetection/Helper.java
filter/source/config/cache/basecontainer.cxx
filter/source/config/cache/cacheitem.hxx
filter/source/config/cache/contenthandlerfactory.cxx
filter/source/config/cache/filtercache.cxx
filter/source/config/cache/filtercache.hxx
filter/source/config/cache/filterfactory.cxx
filter/source/config/cache/frameloaderfactory.cxx
filter/source/config/cache/querytokenizer.hxx
filter/source/config/cache/typedetection.cxx
filter/source/config/cache/typedetection.hxx
filter/source/config/cache/versions.hxx
filter/source/config/fragments/makefile.mk
filter/source/config/tools/merge/pyAltFCFGMerge
filter/source/flash/swfwriter.cxx
filter/source/flash/swfwriter1.cxx
filter/source/msfilter/msdffimp.cxx
filter/source/msfilter/msocximex.cxx
filter/source/msfilter/msvbahelper.cxx
filter/source/msfilter/svxmsbas.cxx
filter/source/xmlfilterdetect/filterdetect.cxx
filter/source/xslt/import/uof2/uof2odf.xsl
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
filter/source/xsltfilter/com/sun/star/comp/xsltfilter/Base64.java
forms/source/xforms/convert.hxx
forms/source/xforms/model.cxx
fpicker/source/aqua/SalAquaFilePicker.mm
fpicker/source/office/fpinteraction.cxx
fpicker/source/unx/gnome/SalGtkFolderPicker.cxx
fpicker/source/unx/kde4/KDE4FilePicker.cxx
fpicker/source/win32/filepicker/PreviewCtrl.cxx
fpicker/source/win32/filepicker/PreviewCtrl.hxx
fpicker/source/win32/filepicker/VistaFilePicker.cxx
fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
fpicker/source/win32/filepicker/helppopupwindow.hxx
fpicker/source/win32/folderpicker/MtaFop.hxx
framework/inc/classes/droptargetlistener.hxx
framework/inc/classes/filtercache.hxx
framework/inc/classes/filtercachedata.hxx
framework/inc/classes/protocolhandlercache.hxx
framework/inc/classes/servicemanager.hxx
framework/inc/commands.h
framework/inc/dispatch/basedispatcher.hxx
framework/inc/dispatch/blankdispatcher.hxx
framework/inc/dispatch/closedispatcher.hxx
framework/inc/dispatch/createdispatcher.hxx
framework/inc/dispatch/dispatchprovider.hxx
framework/inc/dispatch/helpagentdispatcher.hxx
framework/inc/dispatch/mailtodispatcher.hxx
framework/inc/dispatch/menudispatcher.hxx
framework/inc/dispatch/oxt_handler.hxx
framework/inc/dispatch/popupmenudispatcher.hxx
framework/inc/dispatch/selfdispatcher.hxx
framework/inc/dispatch/servicehandler.hxx
framework/inc/dispatch/startmoduledispatcher.hxx
framework/inc/dispatch/systemexec.hxx
framework/inc/helper/fixeddocumentproperties.hxx
framework/inc/helper/ocomponentaccess.hxx
framework/inc/helper/oframes.hxx
framework/inc/helper/otasksenumeration.hxx
framework/inc/helper/persistentwindowstate.hxx
framework/inc/helper/statusindicator.hxx
framework/inc/helper/statusindicatorfactory.hxx
framework/inc/helper/tagwindowasmodified.hxx
framework/inc/helper/titlebarupdate.hxx
framework/inc/helper/vclstatusindicator.hxx
framework/inc/interaction/quietinteraction.hxx
framework/inc/jobs/helponstartup.hxx
framework/inc/jobs/job.hxx
framework/inc/jobs/jobdata.hxx
framework/inc/jobs/jobexecutor.hxx
framework/inc/loadstate.h
framework/inc/macros/debug/assertion.hxx
framework/inc/macros/debug/event.hxx
framework/inc/macros/debug/filterdbg.hxx
framework/inc/macros/debug/memorymeasure.hxx
framework/inc/macros/debug/timemeasure.hxx
framework/inc/macros/xserviceinfo.hxx
framework/inc/queries.h
framework/inc/recording/dispatchrecordersupplier.hxx
framework/inc/services/autorecovery.hxx
framework/inc/services/backingcomp.hxx
framework/inc/services/contenthandlerfactory.hxx
framework/inc/services/desktop.hxx
framework/inc/services/detectorfactory.hxx
framework/inc/services/frame.hxx
framework/inc/services/frameloaderfactory.hxx
framework/inc/services/layoutmanager.hxx
framework/inc/services/license.hxx
framework/inc/services/logindialog.hxx
framework/inc/services/modulemanager.hxx
framework/inc/services/pathsettings.hxx
framework/inc/services/pluginframe.hxx
framework/inc/services/substitutepathvars.hxx
framework/inc/services/task.hxx
framework/inc/services/taskcreatorsrv.hxx
framework/inc/stdtypes.h
framework/inc/threadhelp/fairrwlock.hxx
framework/inc/threadhelp/inoncopyable.h
framework/inc/threadhelp/itransactionmanager.h
framework/inc/threadhelp/lockhelper.hxx
framework/inc/threadhelp/readguard.hxx
framework/inc/threadhelp/resetableguard.hxx
framework/inc/threadhelp/transactionguard.hxx
framework/inc/threadhelp/writeguard.hxx
framework/inc/uifactory/uielementfactorymanager.hxx
framework/inc/xml/acceleratorconfigurationreader.hxx
framework/qa/complex/dispatches/checkdispatchapi.java
framework/qa/complex/framework/autosave/AutoSave.java
framework/qa/complex/framework/autosave/Protocol.java
framework/qa/complex/framework/recovery/RecoveryTest.java
framework/qa/complex/loadAllDocuments/StreamSimulator.java
framework/source/accelerators/acceleratorconfiguration.cxx
framework/source/accelerators/acceleratorexecute.cxx
framework/source/accelerators/acceleratorexecute.hxx
framework/source/accelerators/keymapping.cxx
framework/source/accelerators/presethandler.cxx
framework/source/application/framework.cxx
framework/source/application/login.cxx
framework/source/classes/framecontainer.cxx
framework/source/classes/menumanager.cxx
framework/source/classes/taskcreator.cxx
framework/source/dispatch/closedispatcher.cxx
framework/source/dispatch/dispatchprovider.cxx
framework/source/dispatch/helpagentdispatcher.cxx
framework/source/dispatch/interceptionhelper.cxx
framework/source/dispatch/mailtodispatcher.cxx
framework/source/dispatch/menudispatcher.cxx
framework/source/dispatch/oxt_handler.cxx
framework/source/dispatch/servicehandler.cxx
framework/source/fwe/classes/framelistanalyzer.cxx
framework/source/fwe/dispatch/interaction.cxx
framework/source/fwe/helper/titlehelper.cxx
framework/source/fwe/helper/undomanagerhelper.cxx
framework/source/fwe/xml/eventsdocumenthandler.cxx
framework/source/fwe/xml/statusbardocumenthandler.cxx
framework/source/fwe/xml/toolboxdocumenthandler.cxx
framework/source/fwi/classes/protocolhandlercache.cxx
framework/source/fwi/threadhelp/lockhelper.cxx
framework/source/fwi/threadhelp/transactionmanager.cxx
framework/source/helper/persistentwindowstate.cxx
framework/source/helper/statusindicatorfactory.cxx
framework/source/helper/vclstatusindicator.cxx
framework/source/inc/accelerators/acceleratorcache.hxx
framework/source/inc/accelerators/acceleratorconfiguration.hxx
framework/source/inc/accelerators/presethandler.hxx
framework/source/inc/accelerators/storageholder.hxx
framework/source/inc/loadenv/actionlockguard.hxx
framework/source/inc/loadenv/loadenv.hxx
framework/source/inc/loadenv/loadenvexception.hxx
framework/source/inc/pattern/frame.hxx
framework/source/inc/pattern/storages.hxx
framework/source/inc/pattern/window.hxx
framework/source/jobs/helponstartup.cxx
framework/source/jobs/job.cxx
framework/source/jobs/jobdata.cxx
framework/source/jobs/jobdispatch.cxx
framework/source/jobs/jobresult.cxx
framework/source/jobs/joburl.cxx
framework/source/jobs/shelljob.cxx
framework/source/loadenv/loadenv.cxx
framework/source/services/autorecovery.cxx
framework/source/services/backingwindow.cxx
framework/source/services/desktop.cxx
framework/source/services/frame.cxx
framework/source/services/modulemanager.cxx
framework/source/services/pathsettings.cxx
framework/source/services/substitutepathvars.cxx
framework/source/uiconfiguration/moduleuicfgsupplier.cxx
framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
framework/source/uiconfiguration/uicategorydescription.cxx
framework/source/uiconfiguration/uiconfigurationmanagerimpl.cxx
framework/source/uiconfiguration/windowstateconfiguration.cxx
framework/source/uielement/uicommanddescription.cxx
framework/source/unotypes/fwk.xml
framework/source/xml/imagesdocumenthandler.cxx
framework/test/test.cxx
framework/test/test_componentenumeration.bas
framework/test/test_statusindicatorfactory.bas
framework/test/threadtest.cxx
framework/test/threadtest/threadtest.cxx
framework/test/typecfg/cfgview.cxx
framework/test/typecfg/xml2xcd.cxx
include/basegfx/polygon/b2dpolygon.hxx
include/canvas/base/graphicdevicebase.hxx
include/canvas/canvastools.hxx
include/comphelper/configurationhelper.hxx
include/comphelper/embeddedobjectcontainer.hxx
include/comphelper/propagg.hxx
include/comphelper/sequenceashashmap.hxx
include/connectivity/sqlerror.hxx
include/connectivity/sqlnode.hxx
include/cppuhelper/propshlp.hxx
include/editeng/AccessibleContextBase.hxx
include/framework/framelistanalyzer.hxx
sfx2/source/dialog/backingcomp.cxx
vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
Change-Id: I2618bf83c0e30f68f23ff25f6eb466df04d34c6d
2014-04-30 12:13:36 +01:00
Takeshi Abe
541761d7b8
prefer makefile-gmake-mode
...
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2014-04-28 23:35:42 +09:00
Stephan Bergmann
c3e84d4c74
sal/log.hxx functionality also includes the equivalent of OSL_LOG_PREFIX
...
Change-Id: I1bb0115a378003b5cc5b1cfc59c474a1f100d894
2014-04-16 22:42:40 +02:00
Stephan Bergmann
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Stephan Bergmann
af181dc1fc
Use cppu::BaseMutex instead of plain osl::Mutex as base
...
Change-Id: I3dcae6482afe9e2b1a33261583dce41ddc91b67b
2014-03-18 13:29:13 +01:00
Stephan Bergmann
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
598243b2d8
Remove visual noise from binaryurp
...
Change-Id: I863499cccfe586b570d0021e143718bd3e4e1181
Reviewed-on: https://gerrit.libreoffice.org/8236
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-25 21:10:45 +00:00
Stephan Bergmann
ee585cc86d
cid#983607 unexpected std::exception
...
Change-Id: I0de931d79548505ca7d26ffdfb560cfd5c6105a9
2014-02-13 12:10:33 +01:00
Stephan Bergmann
afb9d333eb
cid#706247 wrong exception type
...
Change-Id: Idc83f827b90eedcc4345345a77efbda35e08bff0
2014-02-13 11:58:31 +01:00
Michael Stahl
5499d4c352
Revert "cid#707663 uninitialized pointer field"
...
This reverts commit 571d116d2805827bdef7d32983697bcdc5f9c78e.
2014-02-12 20:26:41 +01:00
Michael Stahl
169bc8f790
Revert "cid#707662 uninitialized pointer field"
...
This reverts commit 5523275482686d1e49e9b5dcf70b1c8451628f6c.
Makes every JunitTest crash and burn; clearly pReserved is sometimes
initialized and then overwritten with 0.
Change-Id: I0e9958149de14a23826feef0b1a32c9d374e4d13
2014-02-12 20:26:41 +01:00
Michael Stahl
c3891d88fc
Revert "cid#707661 uninitialized pointer field"
...
This reverts commit e453ba963e624eb6829abc28beb0abe4c92be30c.
Makes every JunitTest crash and burn; clearly pReserved is sometimes
initialized and then overwritten with 0.
Change-Id: I4d280770cecf131d1bbcfb9e2550c89b74150c1d
2014-02-12 20:26:41 +01:00
Noel Grandin
571d116d28
cid#707663 uninitialized pointer field
...
Change-Id: I4864042da995e70fd050584341960e58c4cddec2
2014-02-12 15:10:47 +02:00
Noel Grandin
5523275482
cid#707662 uninitialized pointer field
...
Change-Id: I031497ef2f789a87724357b28e5fed70afa46dcc
2014-02-12 15:10:47 +02:00
Noel Grandin
e453ba963e
cid#707661 uninitialized pointer field
...
Change-Id: I6fee8665ce1875ffa8e01bd395bb91a3d2bb40c8
2014-02-12 15:10:47 +02:00
Stephan Bergmann
cf1f27affc
auto_ptr -> heap_ptr
...
Change-Id: I8e7845c8148339fb305666e316b74fd134774ea3
2014-02-07 18:43:32 +01:00
Stephan Bergmann
6606611c42
auto_ptr -> scoped_ptr
...
Change-Id: Iebfb88b6326873642356f5ba566b36c7a3672815
2014-02-07 18:43:32 +01:00
Stephan Bergmann
f6245d5bcb
fdo#56511 Don't unduly delay Bridge termination
...
When terminate is called from the Reader or Writer thread, the final terminate
was delayed until disposal of the BridgeFactory, as an unfortunate consequence
of always trying to join on the Reader and Writer. Instead, forgo the join in
such a case and rely on the underlying osl::Thread becoming detached after
calling termiante.
Change-Id: Ifba788c4d0d2e9b14b4f7f6b5f0f1380b712ce36
2014-02-07 14:37:51 +01:00
Herbert Dürr
a5090ccf75
Related: #i123862# use O*String's isEmpty() method...
...
to check for emptiness in modules starting with 'b'
Patch-by: j.nitschke@ok.de
Review-by: hdu@apache.org
(cherry picked from commit 87204b0f4062ef8fc8f138ad15f4378da609d4e2)
Conflicts:
basctl/source/basicide/baside2.cxx
basctl/source/basicide/bastype2.cxx
basctl/source/basicide/localizationmgr.cxx
basctl/source/dlged/dlgedobj.cxx
basic/source/basmgr/basmgr.cxx
basic/source/basmgr/vbahelper.cxx
basic/source/classes/sbunoobj.cxx
basic/source/comp/sbcomp.cxx
basic/source/runtime/iosys.cxx
basic/source/runtime/methods.cxx
basic/source/runtime/methods1.cxx
basic/source/runtime/step2.cxx
basic/source/uno/namecont.cxx
basic/source/uno/scriptcont.cxx
binaryurp/source/bridge.cxx
binaryurp/source/bridgefactory.cxx
binaryurp/source/reader.cxx
binaryurp/source/unmarshal.cxx
bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
bridges/source/cpp_uno/shared/vtablefactory.cxx
bridges/source/jni_uno/jni_data.cxx
Change-Id: I37bd84e0a1d6426759dba81854faf32c88147fe1
2014-02-04 12:47:59 +00:00
Stephan Bergmann
b1d65c9f15
Allow setting environment value directly in .component files
...
...for internal loader="com.sun.star.loader.SharedLibrary" components, instead
of exported component_getImplementationEnvironmen (or implicit
CPPU_CURRENT_LANGUAGE_BINDING_NAME). Adapted a few .component files as proof-
of-concept, more to follow.
Change-Id: I82332e0a48e6fc1da245990bb72265fe6e58447e
2013-12-16 21:43:12 +01:00
Stephan Bergmann
70fe99d019
Minor simplification
...
Change-Id: I031409043f12bdfe4b8c838d74db8a60576fd507
2013-11-28 08:26:02 +01:00
Stephan Bergmann
289e54feab
binaryurp: silently ignore superfluous MUSTREPLY/SYNCHRONOUS flags
...
...in a non-oneway call. This can happen when a pre LO 4 entity is calling a
LO 4 entity post 90eac3e69749a9227c4b6902b1f3cef1e338c6d1
"API CHANGE remove [oneway] method attributes." (See mail thread starting at
<http://mail-archives.apache.org/mod_mbox/openoffice-api/201311.mbox/%3Ca4e7f34d-b8cb-4d5a-890f-6894d3410265%40ucimail2.uci.cu%3E >
"hi, code in Java.")
Change-Id: I9f800a979d84a95cc5cd96f75ee7472e8cf6cf4b
2013-11-27 15:01:44 +01:00
Noel Grandin
d366c9b20e
remove unnecessary sal_Unicode casts in various places
...
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
Marcos Paulo de Souza
704f95e525
fdo#54938: More uses of cppu::supportsService
...
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b
Reviewed-on: https://gerrit.libreoffice.org/6406
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25 08:19:58 +00:00
Stephan Bergmann
12dc490c3a
No need for a buggy rewrite
...
... see 08bb8fca4144608237418d64b1479840c408256f "#i122208# replace the
binaryurp cache for improved C++ compatibility" and
059f041dfdffe0630ec573fb444c51cc463b90b1 "cppcheck: fix duplicateExpression,"
when the only improvement is to not needlessly acquire/release raw rtl_uString
instances.
Change-Id: I734304b231d69f8089cbf1d35a3deda75f771c78
2013-06-14 14:18:11 +02:00
Julien Nabet
059f041dfd
cppcheck: fix duplicateExpression
...
Change-Id: If3b7b1faab858afa82d4c665ee1a5036190e69aa
Reviewed-on: https://gerrit.libreoffice.org/4278
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-06-13 21:22:44 +00:00
Herbert Dürr
08bb8fca41
#i122208# replace the binaryurp cache for improved C++ compatibility
...
Failing to instantiatie incomplete types like the Map::iterator in
binaryurp Cache's Entry members is allowed by the C++ standard.
The rewrite makes it more compliant with other C++ compilers/STLs.
And interesting alternative would be to use boost's multi_index_container.
git-svn-id: http://svn.apache.org/repos/asf/openoffice/branches/rejuvenate01@1480367 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 09:27:01 +03:00
Michael Meeks
72e5d0c8fb
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-30 13:34:06 +01:00
Luboš Luňák
ba044b1e96
remove needless forward rtl::OUString declarations
...
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
David Tardon
2be8a22e83
binaryurp does not need offapi
...
Change-Id: I4196e763e8374d1f50700c20362245224acb9e13
2013-03-30 18:51:50 +01:00
Michael Meeks
79b0046ba0
remove legacy build.pl prj/build.lst files.
2013-03-14 17:05:51 +00:00
Michael Stahl
b768611724
remove all d.lst
...
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
Krisztian Pinter
f6edfefd53
RTL_CONSTASCII_USTRINGPARAM removals
...
Change-Id: Ib483f271d3c826a2b7192b22a174ff9f7b18c3f8
Reviewed-on: https://gerrit.libreoffice.org/2241
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2013-02-19 22:11:16 +00:00
Michael Stahl
a53586f4ef
gbuild: do not copy boost headers around
...
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus
Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +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
Michael Meeks
ed7d5822c0
cleanup README files.
...
Convert DOS -> unix newlines.
Cleanup and clarify several files.
2012-11-05 12:30:34 +00:00
Manal Alhassoun
0770b6cc20
add a README files
...
Change-Id: I2e779831e47cb1243ae7319b73b9fa553cf97034
Reviewed-on: https://gerrit.libreoffice.org/852
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-10-10 09:00:51 +00:00
Tor Lillqvist
cbf2008355
Use prefix
...
Change-Id: Ic1fcb3078757d7948bbb4ddb155ab9584e861c12
2012-10-01 21:54:58 +03:00
Arnaud Versini
36a2db3722
Replace usage of rtl_*Memory with equivalent from string.h
...
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Michael Stahl
5032dc0fc3
gbuild: invert handling of standard system libraries:
...
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.
Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
b85c349783
gbuild: replace direct gb_STDLIBS use with ...
...
... new gb_LinkTarget_add_standard_system_libs
Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981
gbuild: split uwinapi out of gb_STDLIBS
...
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02: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