[Libreoffice-commits] core.git: accessibility/inc accessibility/source basctl/source basegfx/source basic/source binaryurp/source canvas/source chart2/inc chart2/source codemaker/source comphelper/source compilerplugins/clang configmgr/source connectivity/source cppcanvas/source cui/source dbaccess/source desktop/source editeng/source extensions/source filter/source forms/source formula/source framework/source hwpfilter/source idlc/inc idlc/source include/basegfx include/basic include/canvas include/codemaker include/comphelper include/editeng include/filter include/jvmaccess include/oox include/sfx2 include/sot include/svl include/svtools include/svx include/unotest include/unotools include/vcl include/xmloff include/xmlreader jvmaccess/source jvmfwk/source lingucomponent/source linguistic/source lotuswordpro/source oox/source registry/source reportdesign/inc reportdesign/source sc/inc sc/source sd/inc sd/source sfx2/source slideshow/source sot/source stoc/source svl/source svtools/source svx/Li brary_svx.mk svx/source sw/inc sw/source ucb/source UnoControls/inc UnoControls/source unotest/source unotools/source vcl/generic vcl/inc vcl/source vcl/unx writerfilter/source xmloff/inc xmloff/source xmlreader/source xmlsecurity/source
Noel Grandin
noel at peralex.com
Tue Jun 17 01:55:56 PDT 2014
UnoControls/inc/basecontrol.hxx | 8
UnoControls/inc/multiplexer.hxx | 2
UnoControls/source/base/basecontrol.cxx | 25 --
UnoControls/source/base/multiplexer.cxx | 7
UnoControls/source/controls/OConnectionPointContainerHelper.cxx | 10
UnoControls/source/inc/OConnectionPointContainerHelper.hxx | 18 -
accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx | 4
accessibility/source/extended/AccessibleGridControlTable.cxx | 8
basctl/source/basicide/baside2.hxx | 2
basctl/source/basicide/baside2b.cxx | 4
basctl/source/basicide/linenumberwindow.cxx | 4
basctl/source/basicide/linenumberwindow.hxx | 2
basegfx/source/vector/b2dvector.cxx | 8
basegfx/source/vector/b2ivector.cxx | 4
basic/source/basmgr/basmgr.cxx | 4
basic/source/classes/propacc.cxx | 4
basic/source/classes/sbxmod.cxx | 8
basic/source/inc/propacc.hxx | 2
basic/source/sbx/sbxvalue.cxx | 4
binaryurp/source/binaryany.cxx | 4
binaryurp/source/binaryany.hxx | 2
binaryurp/source/bridge.cxx | 18 -
binaryurp/source/bridge.hxx | 6
binaryurp/source/proxy.cxx | 6
binaryurp/source/proxy.hxx | 4
canvas/source/cairo/cairo_canvashelper.cxx | 4
canvas/source/cairo/cairo_canvashelper.hxx | 2
canvas/source/cairo/cairo_devicehelper.cxx | 5
canvas/source/cairo/cairo_devicehelper.hxx | 2
canvas/source/cairo/cairo_spritedevicehelper.cxx | 5
canvas/source/cairo/cairo_spritedevicehelper.hxx | 2
canvas/source/opengl/ogl_bitmapcanvashelper.cxx | 4
canvas/source/opengl/ogl_bitmapcanvashelper.hxx | 2
canvas/source/opengl/ogl_canvasfont.cxx | 4
canvas/source/opengl/ogl_canvasfont.hxx | 2
canvas/source/opengl/ogl_canvashelper.cxx | 4
canvas/source/opengl/ogl_canvashelper.hxx | 2
canvas/source/tools/canvascustomspritehelper.cxx | 8
canvas/source/tools/pagemanager.cxx | 4
canvas/source/tools/pagemanager.hxx | 2
canvas/source/vcl/canvashelper.cxx | 7
canvas/source/vcl/canvashelper.hxx | 5
chart2/inc/ChartModel.hxx | 2
chart2/source/controller/accessibility/AccessibleBase.cxx | 8
chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx | 8
chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx | 4
chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx | 2
chart2/source/controller/dialogs/DataBrowserModel.cxx | 4
chart2/source/controller/dialogs/DataBrowserModel.hxx | 2
chart2/source/controller/dialogs/dlg_ObjectProperties.cxx | 12 -
chart2/source/controller/inc/AccessibleBase.hxx | 4
chart2/source/controller/inc/CharacterPropertyItemConverter.hxx | 2
chart2/source/controller/inc/ChartDocumentWrapper.hxx | 4
chart2/source/controller/inc/ItemConverter.hxx | 4
chart2/source/controller/inc/ObjectHierarchy.hxx | 2
chart2/source/controller/inc/dlg_ObjectProperties.hxx | 6
chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx | 5
chart2/source/controller/itemsetwrapper/ItemConverter.cxx | 8
chart2/source/controller/main/ObjectHierarchy.cxx | 4
chart2/source/controller/main/SelectionHelper.cxx | 4
chart2/source/controller/main/SelectionHelper.hxx | 2
chart2/source/inc/InternalData.hxx | 4
chart2/source/inc/MediaDescriptorHelper.hxx | 2
chart2/source/inc/ObjectIdentifier.hxx | 4
chart2/source/inc/ReferenceSizeProvider.hxx | 2
chart2/source/inc/WrappedProperty.hxx | 2
chart2/source/model/main/ChartModel.cxx | 4
chart2/source/model/template/ChartType.cxx | 4
chart2/source/model/template/ChartType.hxx | 2
chart2/source/model/template/ChartTypeTemplate.cxx | 4
chart2/source/model/template/ChartTypeTemplate.hxx | 2
chart2/source/model/template/DataInterpreter.cxx | 4
chart2/source/model/template/DataInterpreter.hxx | 2
chart2/source/tools/ImplOPropertySet.cxx | 4
chart2/source/tools/ImplOPropertySet.hxx | 2
chart2/source/tools/InternalData.cxx | 8
chart2/source/tools/MediaDescriptorHelper.cxx | 5
chart2/source/tools/ObjectIdentifier.cxx | 8
chart2/source/tools/ReferenceSizeProvider.cxx | 4
chart2/source/tools/WrappedProperty.cxx | 4
chart2/source/view/axes/ScaleAutomatism.cxx | 8
chart2/source/view/axes/VAxisBase.cxx | 4
chart2/source/view/axes/VAxisBase.hxx | 2
chart2/source/view/axes/VAxisProperties.cxx | 7
chart2/source/view/axes/VAxisProperties.hxx | 4
chart2/source/view/axes/VCoordinateSystem.cxx | 8
chart2/source/view/diagram/VDiagram.cxx | 4
chart2/source/view/inc/3DChartObjects.hxx | 2
chart2/source/view/inc/PlottingPositionHelper.hxx | 4
chart2/source/view/inc/ScaleAutomatism.hxx | 4
chart2/source/view/inc/VCoordinateSystem.hxx | 4
chart2/source/view/inc/VDataSeries.hxx | 12 -
chart2/source/view/inc/VDiagram.hxx | 2
chart2/source/view/main/3DChartObjects.cxx | 4
chart2/source/view/main/DummyXShape.cxx | 4
chart2/source/view/main/DummyXShape.hxx | 2
chart2/source/view/main/PlottingPositionHelper.cxx | 8
chart2/source/view/main/VDataSeries.cxx | 24 --
codemaker/source/codemaker/options.cxx | 4
codemaker/source/javamaker/javatype.cxx | 5
comphelper/source/misc/stillreadwriteinteraction.cxx | 4
comphelper/source/property/propertysetinfo.cxx | 6
compilerplugins/clang/inlinesimplememberfunctions.cxx | 110 +++++-----
configmgr/source/access.cxx | 3
configmgr/source/access.hxx | 2
configmgr/source/localizedvaluenode.cxx | 3
configmgr/source/localizedvaluenode.hxx | 2
configmgr/source/modifications.cxx | 3
configmgr/source/modifications.hxx | 2
configmgr/source/rootaccess.cxx | 3
configmgr/source/rootaccess.hxx | 2
configmgr/source/setnode.cxx | 6
configmgr/source/setnode.hxx | 4
connectivity/source/drivers/mork/MNSProfileDiscover.cxx | 4
connectivity/source/drivers/mork/MNSProfileDiscover.hxx | 2
cppcanvas/source/inc/canvasgraphichelper.hxx | 4
cppcanvas/source/tools/canvasgraphichelper.cxx | 8
cppcanvas/source/wrapper/implspritecanvas.cxx | 4
cppcanvas/source/wrapper/implspritecanvas.hxx | 2
cui/source/dialogs/cuicharmap.cxx | 4
cui/source/inc/cuicharmap.hxx | 2
cui/source/inc/radiobtnbox.hxx | 2
cui/source/options/cfgchart.cxx | 8
cui/source/options/cfgchart.hxx | 4
cui/source/options/radiobtnbox.cxx | 4
dbaccess/source/core/api/RowSetCache.cxx | 4
dbaccess/source/core/api/RowSetCache.hxx | 2
dbaccess/source/core/misc/dsntypes.cxx | 8
dbaccess/source/inc/dsntypes.hxx | 8
dbaccess/source/ui/dlg/CollectionView.cxx | 4
dbaccess/source/ui/inc/CollectionView.hxx | 2
dbaccess/source/ui/inc/FieldDescriptions.hxx | 2
dbaccess/source/ui/tabledesign/FieldDescriptions.cxx | 4
desktop/source/app/cmdlineargs.cxx | 32 --
desktop/source/app/cmdlineargs.hxx | 16 -
desktop/source/deployment/dp_persmap.cxx | 6
desktop/source/deployment/inc/dp_persmap.h | 2
editeng/source/accessibility/AccessibleEditableTextPara.cxx | 4
editeng/source/accessibility/AccessibleImageBullet.cxx | 5
editeng/source/editeng/editattr.cxx | 4
editeng/source/editeng/editattr.hxx | 2
editeng/source/editeng/editdoc.cxx | 24 --
editeng/source/editeng/editdoc.hxx | 12 -
editeng/source/editeng/editobj.cxx | 16 -
editeng/source/editeng/editobj2.hxx | 9
editeng/source/editeng/edtspell.cxx | 4
editeng/source/editeng/edtspell.hxx | 2
extensions/source/bibliography/datman.cxx | 4
extensions/source/bibliography/datman.hxx | 2
extensions/source/bibliography/toolbar.cxx | 4
extensions/source/bibliography/toolbar.hxx | 2
extensions/source/propctrlr/browserpage.cxx | 8
extensions/source/propctrlr/browserpage.hxx | 4
extensions/source/propctrlr/commoncontrol.cxx | 4
extensions/source/propctrlr/commoncontrol.hxx | 2
filter/source/flash/swfwriter.cxx | 7
filter/source/flash/swfwriter.hxx | 2
filter/source/msfilter/mstoolbar.cxx | 12 -
filter/source/placeware/tempfile.cxx | 4
filter/source/placeware/tempfile.hxx | 2
filter/source/svg/b2dellipse.cxx | 8
filter/source/svg/b2dellipse.hxx | 4
filter/source/xsltfilter/LibXSLTTransformer.cxx | 10
filter/source/xsltfilter/LibXSLTTransformer.hxx | 4
forms/source/xforms/binding.cxx | 18 -
forms/source/xforms/binding.hxx | 8
forms/source/xforms/computedexpression.cxx | 14 -
forms/source/xforms/computedexpression.hxx | 7
forms/source/xforms/mip.cxx | 2
forms/source/xforms/mip.hxx | 4
forms/source/xforms/model.cxx | 12 -
forms/source/xforms/model.hxx | 6
forms/source/xforms/pathexpression.cxx | 4
forms/source/xforms/pathexpression.hxx | 2
forms/source/xforms/submission.cxx | 48 ----
forms/source/xforms/submission.hxx | 24 +-
forms/source/xforms/xpathlib/extension.cxx | 8
forms/source/xforms/xpathlib/extension.hxx | 4
formula/source/ui/dlg/formula.cxx | 6
framework/source/fwe/classes/addonsoptions.cxx | 42 ---
framework/source/uiconfiguration/imagemanagerimpl.cxx | 8
framework/source/uiconfiguration/imagemanagerimpl.hxx | 4
hwpfilter/source/hpara.cxx | 4
hwpfilter/source/hpara.h | 2
hwpfilter/source/hstyle.cxx | 4
hwpfilter/source/hstyle.h | 2
idlc/inc/idlc/options.hxx | 2
idlc/source/options.cxx | 4
include/basegfx/vector/b2dvector.hxx | 4
include/basegfx/vector/b2ivector.hxx | 2
include/basic/basmgr.hxx | 2
include/basic/sbmod.hxx | 5
include/basic/sbxvar.hxx | 2
include/canvas/base/canvascustomspritehelper.hxx | 4
include/codemaker/options.hxx | 2
include/comphelper/stillreadwriteinteraction.hxx | 2
include/editeng/AccessibleEditableTextPara.hxx | 2
include/editeng/AccessibleImageBullet.hxx | 2
include/filter/msfilter/mstoolbar.hxx | 5
include/jvmaccess/unovirtualmachine.hxx | 2
include/oox/crypto/AgileEngine.hxx | 2
include/oox/crypto/Standard2007Engine.hxx | 2
include/oox/drawingml/color.hxx | 2
include/oox/drawingml/shape.hxx | 2
include/oox/drawingml/shapecontext.hxx | 2
include/oox/helper/grabbagstack.hxx | 2
include/oox/helper/graphichelper.hxx | 2
include/oox/helper/storagebase.hxx | 2
include/sfx2/dinfdlg.hxx | 2
include/sfx2/docfilt.hxx | 2
include/sfx2/frame.hxx | 2
include/sfx2/lnkbase.hxx | 2
include/sfx2/templateabstractview.hxx | 4
include/sot/storage.hxx | 2
include/svl/broadcast.hxx | 2
include/svl/grabbagitem.hxx | 2
include/svl/sharedstring.hxx | 12 -
include/svl/style.hxx | 2
include/svtools/colrdlg.hxx | 2
include/svtools/simptabl.hxx | 2
include/svtools/toolboxcontroller.hxx | 4
include/svtools/treelistentry.hxx | 4
include/svx/AccessibleShape.hxx | 2
include/svx/AccessibleShapeTreeInfo.hxx | 8
include/svx/charmap.hxx | 2
include/svx/dlgctrl.hxx | 2
include/svx/nbdtmg.hxx | 2
include/svx/obj3d.hxx | 2
include/svx/sdasitm.hxx | 2
include/svx/sdr/contact/objectcontact.hxx | 2
include/svx/sdrpaintwindow.hxx | 2
include/svx/svdmodel.hxx | 3
include/svx/svdobj.hxx | 4
include/svx/svdograf.hxx | 4
include/svx/svdpage.hxx | 2
include/svx/svdpagv.hxx | 4
include/svx/svdpntv.hxx | 4
include/svx/svdview.hxx | 2
include/svx/xbtmpit.hxx | 2
include/svx/xflhtit.hxx | 2
include/svx/xlndsit.hxx | 2
include/svx/xlnedit.hxx | 2
include/svx/xlnstit.hxx | 2
include/svx/zoomslideritem.hxx | 2
include/unotest/officeconnection.hxx | 2
include/unotools/configitem.hxx | 2
include/vcl/FilterConfigItem.hxx | 2
include/vcl/button.hxx | 2
include/vcl/dockwin.hxx | 2
include/vcl/event.hxx | 6
include/vcl/field.hxx | 2
include/vcl/fixed.hxx | 2
include/vcl/fixedhyper.hxx | 2
include/vcl/gfxlink.hxx | 8
include/vcl/graphicfilter.hxx | 2
include/vcl/graphictools.hxx | 2
include/vcl/opengl/OpenGLContext.hxx | 2
include/vcl/outdev.hxx | 2
include/vcl/pdfextoutdevdata.hxx | 4
include/vcl/vclevent.hxx | 2
include/xmloff/xmlexp.hxx | 2
include/xmlreader/xmlreader.hxx | 2
jvmaccess/source/unovirtualmachine.cxx | 4
jvmfwk/source/elements.cxx | 33 ---
jvmfwk/source/elements.hxx | 16 -
jvmfwk/source/framework.cxx | 8
jvmfwk/source/framework.hxx | 4
jvmfwk/source/libxmlutil.cxx | 4
jvmfwk/source/libxmlutil.hxx | 2
lingucomponent/source/languageguessing/guess.cxx | 12 -
lingucomponent/source/languageguessing/guess.hxx | 6
linguistic/source/dlistimp.cxx | 6
lotuswordpro/source/filter/lwphyperlinkmgr.cxx | 4
lotuswordpro/source/filter/lwphyperlinkmgr.hxx | 2
lotuswordpro/source/filter/xfilter/xffontdecl.cxx | 8
lotuswordpro/source/filter/xfilter/xffontdecl.hxx | 4
oox/source/crypto/AgileEngine.cxx | 4
oox/source/crypto/Standard2007Engine.cxx | 4
oox/source/drawingml/color.cxx | 4
oox/source/drawingml/shape.cxx | 4
oox/source/drawingml/shapecontext.cxx | 4
oox/source/helper/grabbagstack.cxx | 4
oox/source/helper/graphichelper.cxx | 4
oox/source/helper/storagebase.cxx | 4
oox/source/shape/LockedCanvasContext.cxx | 4
oox/source/shape/LockedCanvasContext.hxx | 2
oox/source/shape/WpgContext.cxx | 4
oox/source/shape/WpgContext.hxx | 2
oox/source/shape/WpsContext.cxx | 4
oox/source/shape/WpsContext.hxx | 2
registry/source/reflread.cxx | 12 -
reportdesign/inc/RptModel.hxx | 2
reportdesign/inc/RptObject.hxx | 2
reportdesign/inc/RptPage.hxx | 2
reportdesign/inc/reportformula.hxx | 4
reportdesign/source/core/misc/reportformula.cxx | 5
reportdesign/source/core/sdr/RptModel.cxx | 4
reportdesign/source/core/sdr/RptObject.cxx | 4
reportdesign/source/core/sdr/RptPage.cxx | 4
reportdesign/source/filter/xml/xmlExport.cxx | 4
reportdesign/source/filter/xml/xmlExport.hxx | 2
reportdesign/source/filter/xml/xmlStyleImport.cxx | 8
reportdesign/source/filter/xml/xmlStyleImport.hxx | 4
reportdesign/source/ui/inc/ReportController.hxx | 4
reportdesign/source/ui/inc/ViewsWindow.hxx | 2
reportdesign/source/ui/report/ReportController.cxx | 8
reportdesign/source/ui/report/ViewsWindow.cxx | 4
sc/inc/addincol.hxx | 3
sc/inc/attrib.hxx | 2
sc/inc/chartlis.hxx | 10
sc/inc/chgtrack.hxx | 12 -
sc/inc/clipcontext.hxx | 2
sc/inc/colorscale.hxx | 2
sc/inc/column.hxx | 4
sc/inc/conditio.hxx | 2
sc/inc/dbdata.hxx | 8
sc/inc/dociter.hxx | 12 -
sc/inc/document.hxx | 12 -
sc/inc/dpfilteredcache.hxx | 2
sc/inc/dpgroup.hxx | 2
sc/inc/dpitemdata.hxx | 2
sc/inc/dpobject.hxx | 6
sc/inc/dpsave.hxx | 2
sc/inc/dpshttab.hxx | 4
sc/inc/dptabsrc.hxx | 2
sc/inc/externalrefmgr.hxx | 2
sc/inc/formulacell.hxx | 4
sc/inc/listenercontext.hxx | 4
sc/inc/markdata.hxx | 2
sc/inc/postit.hxx | 8
sc/inc/queryentry.hxx | 2
sc/inc/refdata.hxx | 8
sc/inc/refhint.hxx | 6
sc/inc/rowheightcontext.hxx | 4
sc/inc/scmod.hxx | 4
sc/inc/table.hxx | 26 +-
sc/inc/textuno.hxx | 2
sc/inc/tokenstringcontext.hxx | 2
sc/inc/typedstrdata.hxx | 2
sc/inc/unitconv.hxx | 2
sc/inc/xmlwrap.hxx | 2
sc/source/core/data/attrib.cxx | 4
sc/source/core/data/clipcontext.cxx | 4
sc/source/core/data/colorscale.cxx | 4
sc/source/core/data/column.cxx | 8
sc/source/core/data/conditio.cxx | 4
sc/source/core/data/dociter.cxx | 24 --
sc/source/core/data/documen2.cxx | 4
sc/source/core/data/documen3.cxx | 8
sc/source/core/data/document.cxx | 4
sc/source/core/data/document10.cxx | 4
sc/source/core/data/dpfilteredcache.cxx | 4
sc/source/core/data/dpgroup.cxx | 4
sc/source/core/data/dpitemdata.cxx | 5
sc/source/core/data/dpobject.cxx | 12 -
sc/source/core/data/dpsave.cxx | 4
sc/source/core/data/dpshttab.cxx | 8
sc/source/core/data/dptabsrc.cxx | 4
sc/source/core/data/formulacell.cxx | 8
sc/source/core/data/listenercontext.cxx | 8
sc/source/core/data/markdata.cxx | 4
sc/source/core/data/postit.cxx | 16 -
sc/source/core/data/rowheightcontext.cxx | 8
sc/source/core/data/table1.cxx | 4
sc/source/core/data/table3.cxx | 8
sc/source/core/data/tabprotection.cxx | 6
sc/source/core/inc/doubleref.hxx | 2
sc/source/core/inc/jumpmatrix.hxx | 2
sc/source/core/tool/addincol.cxx | 4
sc/source/core/tool/chartlis.cxx | 20 -
sc/source/core/tool/chgtrack.cxx | 24 --
sc/source/core/tool/dbdata.cxx | 16 -
sc/source/core/tool/doubleref.cxx | 4
sc/source/core/tool/jumpmatrix.cxx | 4
sc/source/core/tool/queryentry.cxx | 4
sc/source/core/tool/refdata.cxx | 16 -
sc/source/core/tool/refhint.cxx | 12 -
sc/source/core/tool/tokenstringcontext.cxx | 4
sc/source/core/tool/typedstrdata.cxx | 4
sc/source/core/tool/unitconv.cxx | 4
sc/source/filter/excel/xepivot.cxx | 6
sc/source/filter/excel/xetable.cxx | 4
sc/source/filter/excel/xihelper.cxx | 4
sc/source/filter/excel/xilink.cxx | 6
sc/source/filter/html/htmlpars.cxx | 8
sc/source/filter/inc/htmlpars.hxx | 4
sc/source/filter/inc/stylesbuffer.hxx | 2
sc/source/filter/inc/xcl97rec.hxx | 2
sc/source/filter/inc/xepivot.hxx | 7
sc/source/filter/inc/xetable.hxx | 2
sc/source/filter/inc/xihelper.hxx | 2
sc/source/filter/oox/stylesbuffer.cxx | 4
sc/source/filter/oox/workbookhelper.cxx | 8
sc/source/filter/xcl97/xcl97rec.cxx | 4
sc/source/filter/xml/XMLStylesExportHelper.cxx | 4
sc/source/filter/xml/XMLStylesExportHelper.hxx | 2
sc/source/filter/xml/xmlwrap.cxx | 4
sc/source/ui/app/scmod.cxx | 8
sc/source/ui/cctrl/checklistmenu.cxx | 8
sc/source/ui/dbgui/PivotLayoutDialog.cxx | 4
sc/source/ui/docshell/externalrefmgr.cxx | 4
sc/source/ui/inc/PivotLayoutDialog.hxx | 2
sc/source/ui/inc/checklistmenu.hxx | 4
sc/source/ui/inc/gridwin.hxx | 2
sc/source/ui/inc/preview.hxx | 2
sc/source/ui/inc/solveroptions.hxx | 3
sc/source/ui/inc/tabview.hxx | 7
sc/source/ui/inc/tphfedit.hxx | 2
sc/source/ui/inc/undocell.hxx | 2
sc/source/ui/inc/viewdata.hxx | 4
sc/source/ui/miscdlgs/solveroptions.cxx | 5
sc/source/ui/optdlg/calcoptionsdlg.cxx | 4
sc/source/ui/optdlg/calcoptionsdlg.hxx | 2
sc/source/ui/pagedlg/tphfedit.cxx | 4
sc/source/ui/undo/undocell2.cxx | 4
sc/source/ui/unoobj/textuno.cxx | 4
sc/source/ui/view/gridwin.cxx | 1
sc/source/ui/view/preview.cxx | 5
sc/source/ui/view/tabview.cxx | 5
sc/source/ui/view/tabview5.cxx | 5
sc/source/ui/view/viewdata.cxx | 5
sd/inc/cusshow.hxx | 4
sd/source/core/cusshow.cxx | 8
sd/source/filter/ppt/ppt97animations.cxx | 8
sd/source/filter/ppt/ppt97animations.hxx | 4
sd/source/ui/dlg/TemplateScanner.cxx | 8
sd/source/ui/dlg/sdtreelb.cxx | 4
sd/source/ui/framework/configuration/ConfigurationClassifier.cxx | 12 -
sd/source/ui/framework/configuration/ConfigurationClassifier.hxx | 6
sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 4
sd/source/ui/framework/configuration/ConfigurationUpdater.hxx | 2
sd/source/ui/framework/factories/ViewShellWrapper.cxx | 4
sd/source/ui/framework/tools/FrameworkHelper.cxx | 4
sd/source/ui/inc/DrawViewShell.hxx | 2
sd/source/ui/inc/SlideSorter.hxx | 8
sd/source/ui/inc/TemplateScanner.hxx | 4
sd/source/ui/inc/ViewTabBar.hxx | 2
sd/source/ui/inc/Window.hxx | 10
sd/source/ui/inc/framework/FrameworkHelper.hxx | 2
sd/source/ui/inc/framework/ViewShellWrapper.hxx | 2
sd/source/ui/inc/sdtreelb.hxx | 2
sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx | 4
sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx | 2
sd/source/ui/slidesorter/controller/SlideSorterController.cxx | 4
sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx | 4
sd/source/ui/slidesorter/controller/SlsPageSelector.cxx | 4
sd/source/ui/slidesorter/controller/SlsProperties.cxx | 16 -
sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx | 4
sd/source/ui/slidesorter/controller/SlsTransferableData.cxx | 4
sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx | 8
sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx | 2
sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx | 2
sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx | 4
sd/source/ui/slidesorter/inc/model/SlsVisualState.hxx | 2
sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 2
sd/source/ui/slidesorter/inc/view/SlsPageObjectLayouter.hxx | 4
sd/source/ui/slidesorter/model/SlideSorterModel.cxx | 4
sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx | 8
sd/source/ui/slidesorter/model/SlsVisualState.cxx | 4
sd/source/ui/slidesorter/shell/SlideSorter.cxx | 16 -
sd/source/ui/slidesorter/view/SlideSorterView.cxx | 4
sd/source/ui/slidesorter/view/SlsPageObjectLayouter.cxx | 8
sd/source/ui/view/ToolBarManager.cxx | 6
sd/source/ui/view/ViewTabBar.cxx | 4
sd/source/ui/view/drviews5.cxx | 4
sd/source/ui/view/sdwindow.cxx | 20 -
sfx2/source/appl/lnkbase2.cxx | 4
sfx2/source/control/statcach.cxx | 4
sfx2/source/control/templateabstractview.cxx | 8
sfx2/source/dialog/dinfdlg.cxx | 4
sfx2/source/doc/docfilt.cxx | 4
sfx2/source/inc/statcach.hxx | 2
sfx2/source/sidebar/Deck.cxx | 8
sfx2/source/sidebar/Deck.hxx | 4
sfx2/source/sidebar/Panel.cxx | 8
sfx2/source/sidebar/Panel.hxx | 4
sfx2/source/sidebar/SidebarController.cxx | 8
sfx2/source/sidebar/SidebarController.hxx | 4
sfx2/source/view/frame2.cxx | 4
slideshow/source/engine/color.cxx | 24 --
slideshow/source/inc/hslcolor.hxx | 6
slideshow/source/inc/rgbcolor.hxx | 6
sot/source/sdstor/stgstrms.cxx | 4
sot/source/sdstor/stgstrms.hxx | 2
sot/source/sdstor/storage.cxx | 4
stoc/source/javavm/jvmargs.cxx | 4
stoc/source/javavm/jvmargs.hxx | 2
stoc/source/uriproc/UriReference.cxx | 3
stoc/source/uriproc/UriReference.hxx | 2
svl/source/items/grabbagitem.cxx | 4
svl/source/items/style.cxx | 4
svl/source/misc/sharedstring.cxx | 24 --
svl/source/notify/broadcast.cxx | 4
svtools/source/config/optionsdrawinglayer.cxx | 12 -
svtools/source/contnr/simptabl.cxx | 4
svtools/source/contnr/treelistentry.cxx | 8
svtools/source/control/scriptedtext.cxx | 6
svtools/source/dialogs/colrdlg.cxx | 4
svtools/source/inc/unoiface.hxx | 2
svtools/source/uno/toolboxcontroller.cxx | 8
svtools/source/uno/treecontrolpeer.cxx | 6
svtools/source/uno/unoiface.cxx | 4
svx/Library_svx.mk | 1
svx/source/accessibility/AccessibleShape.cxx | 4
svx/source/accessibility/AccessibleShapeTreeInfo.cxx | 20 -
svx/source/dialog/charmap.cxx | 4
svx/source/dialog/dlgctrl.cxx | 4
svx/source/engine3d/obj3d.cxx | 4
svx/source/items/customshapeitem.cxx | 4
svx/source/items/zoomslideritem.cxx | 4
svx/source/sdr/contact/objectcontact.cxx | 4
svx/source/sidebar/area/AreaPropertyPanel.cxx | 4
svx/source/sidebar/area/AreaPropertyPanel.hxx | 2
svx/source/sidebar/nbdtmg.cxx | 4
svx/source/sidebar/text/TextPropertyPanel.cxx | 8
svx/source/sidebar/text/TextPropertyPanel.hxx | 4
svx/source/svdraw/sdrpaintwindow.cxx | 4
svx/source/svdraw/svdmodel.cxx | 4
svx/source/svdraw/svdobj.cxx | 8
svx/source/svdraw/svdograf.cxx | 8
svx/source/svdraw/svdpage.cxx | 4
svx/source/svdraw/svdpagv.cxx | 8
svx/source/svdraw/svdpntv.cxx | 8
svx/source/svdraw/svdview.cxx | 4
svx/source/table/accessiblecell.cxx | 4
svx/source/table/accessiblecell.hxx | 2
svx/source/unodraw/unoshtxt.cxx | 6
svx/source/xoutdev/xattr.cxx | 16 -
svx/source/xoutdev/xattrbmp.cxx | 4
sw/inc/ToxWhitespaceStripper.hxx | 2
sw/inc/anchoreddrawobject.hxx | 2
sw/inc/anchoredobject.hxx | 10
sw/inc/dcontact.hxx | 4
sw/inc/doc.hxx | 2
sw/inc/docufld.hxx | 8
sw/inc/flddropdown.hxx | 8
sw/inc/ndarr.hxx | 2
sw/inc/ndgrf.hxx | 2
sw/inc/printdata.hxx | 2
sw/source/core/access/accmap.cxx | 6
sw/source/core/doc/docxforms.cxx | 4
sw/source/core/doc/list.cxx | 12 -
sw/source/core/docnode/ndnum.cxx | 4
sw/source/core/draw/dcontact.cxx | 12 -
sw/source/core/fields/docufld.cxx | 12 -
sw/source/core/fields/flddropdown.cxx | 16 -
sw/source/core/graphic/ndgrf.cxx | 6
sw/source/core/inc/ascharanchoredobjectposition.hxx | 4
sw/source/core/inc/rolbck.hxx | 2
sw/source/core/inc/tocntntanchoredobjectposition.hxx | 2
sw/source/core/inc/tolayoutanchoredobjectposition.hxx | 2
sw/source/core/inc/unoflatpara.hxx | 2
sw/source/core/layout/anchoreddrawobject.cxx | 6
sw/source/core/layout/anchoredobject.cxx | 20 -
sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx | 16 -
sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx | 4
sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx | 6
sw/source/core/tox/ToxWhitespaceStripper.cxx | 5
sw/source/core/undo/rolbck.cxx | 4
sw/source/core/unocore/unoflatpara.cxx | 4
sw/source/core/view/printdata.cxx | 4
sw/source/filter/inc/fltshell.hxx | 2
sw/source/filter/ww1/fltshell.cxx | 4
sw/source/filter/ww8/WW8TableInfo.cxx | 20 -
sw/source/filter/ww8/WW8TableInfo.hxx | 10
sw/source/filter/ww8/docxexport.cxx | 10
sw/source/filter/ww8/docxexport.hxx | 4
sw/source/filter/ww8/rtfattributeoutput.cxx | 5
sw/source/filter/ww8/rtfattributeoutput.hxx | 2
sw/source/filter/ww8/wrtw8esh.cxx | 4
sw/source/filter/ww8/wrtw8sty.cxx | 4
sw/source/filter/ww8/wrtww8.hxx | 2
sw/source/filter/ww8/ww8glsy.cxx | 6
sw/source/filter/ww8/ww8glsy.hxx | 3
sw/source/filter/ww8/ww8par.hxx | 8
sw/source/filter/ww8/ww8par5.cxx | 12 -
sw/source/ui/vba/vbapalette.cxx | 6
sw/source/ui/vba/vbapalette.hxx | 2
sw/source/uibase/inc/wrtsh.hxx | 3
sw/source/uibase/wrtsh/wrtsh1.cxx | 4
ucb/source/ucp/cmis/cmis_url.cxx | 16 -
ucb/source/ucp/cmis/cmis_url.hxx | 8
unotest/source/cpp/officeconnection.cxx | 4
unotools/source/config/configitem.cxx | 4
unotools/source/config/securityoptions.cxx | 12 -
vcl/generic/glyphs/gcach_ftyp.cxx | 4
vcl/inc/canvasbitmap.hxx | 2
vcl/inc/generic/glyphcache.hxx | 2
vcl/inc/impfont.hxx | 2
vcl/inc/impgraph.hxx | 2
vcl/source/app/vclevent.cxx | 4
vcl/source/control/button.cxx | 4
vcl/source/control/field2.cxx | 4
vcl/source/control/fixed.cxx | 4
vcl/source/control/fixedhyper.cxx | 4
vcl/source/filter/FilterConfigItem.cxx | 4
vcl/source/filter/graphicfilter.cxx | 4
vcl/source/filter/wmf/winmtf.cxx | 4
vcl/source/filter/wmf/winmtf.hxx | 2
vcl/source/gdi/gfxlink.cxx | 16 -
vcl/source/gdi/graphictools.cxx | 4
vcl/source/gdi/impfont.cxx | 4
vcl/source/gdi/impgraph.cxx | 4
vcl/source/gdi/pdfextoutdevdata.cxx | 8
vcl/source/gdi/pdfwriter_impl.cxx | 4
vcl/source/gdi/pdfwriter_impl.hxx | 2
vcl/source/gdi/pngwrite.cxx | 6
vcl/source/helper/canvasbitmap.cxx | 4
vcl/source/opengl/OpenGLContext.cxx | 4
vcl/source/outdev/map.cxx | 4
vcl/source/window/dockmgr.cxx | 4
vcl/source/window/keyevent.cxx | 6
vcl/source/window/menu.cxx | 6
vcl/source/window/openglwin.cxx | 6
vcl/unx/generic/dtrans/X11_selection.cxx | 4
vcl/unx/generic/dtrans/X11_selection.hxx | 2
writerfilter/source/dmapper/FFDataHandler.cxx | 24 --
writerfilter/source/dmapper/FFDataHandler.hxx | 12 -
writerfilter/source/dmapper/GraphicImport.cxx | 3
writerfilter/source/dmapper/GraphicImport.hxx | 2
writerfilter/source/dmapper/NumberingManager.cxx | 4
writerfilter/source/dmapper/NumberingManager.hxx | 2
writerfilter/source/dmapper/PropertyMap.cxx | 4
writerfilter/source/dmapper/PropertyMap.hxx | 2
writerfilter/source/dmapper/SdtHelper.cxx | 20 -
writerfilter/source/dmapper/SdtHelper.hxx | 10
writerfilter/source/dmapper/TextEffectsHandler.cxx | 4
writerfilter/source/dmapper/TextEffectsHandler.hxx | 2
writerfilter/source/dmapper/WrapPolygonHandler.cxx | 4
writerfilter/source/dmapper/WrapPolygonHandler.hxx | 2
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 14 -
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx | 6
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx | 4
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx | 2
writerfilter/source/ooxml/OOXMLStreamImpl.cxx | 6
writerfilter/source/ooxml/OOXMLStreamImpl.hxx | 3
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 8
writerfilter/source/rtftok/rtfdocumentimpl.hxx | 4
writerfilter/source/rtftok/rtfreferenceproperties.cxx | 8
writerfilter/source/rtftok/rtfreferenceproperties.hxx | 4
writerfilter/source/rtftok/rtftokenizer.cxx | 4
writerfilter/source/rtftok/rtftokenizer.hxx | 2
xmloff/inc/txtlists.hxx | 4
xmloff/source/chart/SchXMLExport.cxx | 6
xmloff/source/chart/SchXMLPlotAreaContext.cxx | 4
xmloff/source/chart/SchXMLPlotAreaContext.hxx | 2
xmloff/source/core/SvXMLAttr.cxx | 7
xmloff/source/core/SvXMLAttr.hxx | 4
xmloff/source/core/xmlexp.cxx | 4
xmloff/source/text/XMLTextListBlockContext.cxx | 8
xmloff/source/text/XMLTextListBlockContext.hxx | 4
xmloff/source/text/txtlists.cxx | 8
xmloff/source/transform/PersAttrListTContext.cxx | 5
xmloff/source/transform/PersAttrListTContext.hxx | 3
xmloff/source/xforms/XFormsModelContext.cxx | 4
xmloff/source/xforms/XFormsModelContext.hxx | 2
xmlreader/source/xmlreader.cxx | 3
xmlsecurity/source/framework/buffernode.cxx | 8
xmlsecurity/source/framework/buffernode.hxx | 4
xmlsecurity/source/xmlsec/saxhelper.cxx | 8
xmlsecurity/source/xmlsec/saxhelper.hxx | 4
665 files changed, 664 insertions(+), 2954 deletions(-)
New commits:
commit 3e82897353e576dc6e3fbf55371fda5a0c3415df
Author: Noel Grandin <noel at peralex.com>
Date: Thu Jun 12 14:06:28 2014 +0200
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 19eaa52..3035085 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -515,17 +515,17 @@ protected:
/**_______________________________________________________________________________________________________
*/
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > impl_getComponentContext();
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > impl_getComponentContext() { return m_xComponentContext;}
/**_______________________________________________________________________________________________________
*/
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > impl_getPeerWindow();
+ const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > impl_getPeerWindow() { return m_xPeerWindow;}
/**_______________________________________________________________________________________________________
*/
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > impl_getGraphicsPeer();
+ const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > impl_getGraphicsPeer() { return m_xGraphicsPeer;}
/**_______________________________________________________________________________________________________
*/
@@ -559,7 +559,7 @@ protected:
/**_______________________________________________________________________________________________________
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > impl_getDelegator();
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > impl_getDelegator() { return m_xDelegator;}
// private methods
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index 7941484..90e53ef 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -133,7 +133,7 @@ public:
/**_______________________________________________________________________________________________________
*/
- operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() const;
+ operator ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() const { return ((OWeakObject*)this);}
/**_______________________________________________________________________________________________________
*/
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index 2503b1f..0a6cb89 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -716,27 +716,6 @@ const OUString BaseControl::impl_getStaticImplementationName()
// protected method
-const Reference< XComponentContext > BaseControl::impl_getComponentContext()
-{
- return m_xComponentContext;
-}
-
-// protected method
-
-const Reference< XWindow > BaseControl::impl_getPeerWindow()
-{
- return m_xPeerWindow;
-}
-
-// protected method
-
-const Reference< XGraphics > BaseControl::impl_getGraphicsPeer()
-{
- return m_xGraphicsPeer;
-}
-
-// protected method
-
WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer )
{
// - used from "createPeer()" to set the values of an ::com::sun::star::awt::WindowDescriptor !!!
@@ -776,10 +755,6 @@ void BaseControl::impl_recalcLayout( const WindowEvent& /*aEvent*/ )
// protected method
-Reference< XInterface > BaseControl::impl_getDelegator()
-{
- return m_xDelegator;
-}
// private method
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index 86e551a..9024280 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -144,13 +144,6 @@ void SAL_CALL OMRCListenerMultiplexerHelper::release() throw()
OWeakObject::release();
}
-// operator
-
-OMRCListenerMultiplexerHelper::operator Reference< XInterface >() const
-{
- return ((OWeakObject*)this);
-}
-
// container method
void OMRCListenerMultiplexerHelper::setPeer( const Reference< XWindow >& xPeer )
diff --git a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
index d18ed4b..a952c95 100644
--- a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
@@ -135,16 +135,6 @@ void SAL_CALL OConnectionPointContainerHelper::unadvise( const Type&
m_aMultiTypeContainer.removeInterface( aType, xListener );
}
-// public but impl method!
-// Is necessary to get container member at OConnectionPoint-instance.
-
-OMultiTypeInterfaceContainerHelper& OConnectionPointContainerHelper::impl_getMultiTypeContainer()
-{
- // Impl methods are not threadsafe!
- // "Parent" function must do this.
- return m_aMultiTypeContainer;
-}
-
} // namespace unocontrols
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
index 3abb4f8..ec2154c 100644
--- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
@@ -178,20 +178,12 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener
) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- /**_________________________________________________________________________________________________________
- @short
- @descr
-
- @seealso
-
- @param
-
- @return
-
- @onerror
- */
+ // public but impl method!
+ // Is necessary to get container member at OConnectionPoint-instance.
+ // Impl methods are not threadsafe!
+ // "Parent" function must do this.
+ ::cppu::OMultiTypeInterfaceContainerHelper& impl_getMultiTypeContainer() { return m_aMultiTypeContainer; }
- ::cppu::OMultiTypeInterfaceContainerHelper& impl_getMultiTypeContainer();
// private variables
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx
index 10dc5da..892858b 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControlTable.hxx
@@ -188,9 +188,9 @@ public:
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
/**@return m_pCellVector*/
- std::vector< AccessibleGridControlTableCell* >& getCellVector();
+ std::vector< AccessibleGridControlTableCell* >& getCellVector() { return m_pCellVector;}
/**@return m_xAccessCellVector*/
- std::vector< com::sun::star::uno::Reference< com::sun::star::accessibility::XAccessible > >& getAccessibleCellVector();
+ std::vector< com::sun::star::uno::Reference< com::sun::star::accessibility::XAccessible > >& getAccessibleCellVector() { return m_pAccessCellVector;}
protected:
// internal virtual methods -----------------------------------------------
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx
index be67180..2b1cd8e 100644
--- a/accessibility/source/extended/AccessibleGridControlTable.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTable.cxx
@@ -389,15 +389,7 @@ Reference< XAccessibleTable > AccessibleGridControlTable::implGetHeaderBar(
return Reference< XAccessibleTable >( xRet, uno::UNO_QUERY );
}
-std::vector< AccessibleGridControlTableCell* >& AccessibleGridControlTable::getCellVector()
-{
- return m_pCellVector;
-}
-std::vector< Reference< XAccessible > >& AccessibleGridControlTable::getAccessibleCellVector()
-{
- return m_pAccessCellVector;
-}
} // namespace accessibility
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 35ca5d5..552064e 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -525,7 +525,7 @@ public:
void InsertEntry( const OUString& aStr );
void ClearListBox();
void SetTextSelection( const TextSelection& aSel );
- const TextSelection& GetTextSelection() const;
+ const TextSelection& GetTextSelection() const { return aTextSelection;}
void ResizeAndPositionListBox();
void SelectFirstEntry(); //selects first entry in ListBox
void ClearAndHide();
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 645da40..78f65e6 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2819,10 +2819,6 @@ void CodeCompleteWindow::SetTextSelection( const TextSelection& aSel )
aTextSelection = aSel;
}
-const TextSelection& CodeCompleteWindow::GetTextSelection() const
-{
- return aTextSelection;
-}
void CodeCompleteWindow::ResizeAndPositionListBox()
{
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index 5764f7a..d7064e9 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -99,10 +99,6 @@ void LineNumberWindow::DoScroll(long nHorzScroll, long nVertScroll)
Window::Scroll(nHorzScroll, nVertScroll);
}
-long& LineNumberWindow::GetCurYOffset()
-{
- return m_nCurYOffset;
-}
bool LineNumberWindow::SyncYOffset()
{
diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx
index aae3409..e01c078 100644
--- a/basctl/source/basicide/linenumberwindow.hxx
+++ b/basctl/source/basicide/linenumberwindow.hxx
@@ -36,7 +36,7 @@ public:
void DoScroll( long nHorzScroll, long nVertScroll );
bool SyncYOffset();
- long& GetCurYOffset();
+ long& GetCurYOffset() { return m_nCurYOffset;}
int GetWidth() { return m_nWidth;}
};
diff --git a/basegfx/source/vector/b2dvector.cxx b/basegfx/source/vector/b2dvector.cxx
index e5ac9bf..9ee6c91 100644
--- a/basegfx/source/vector/b2dvector.cxx
+++ b/basegfx/source/vector/b2dvector.cxx
@@ -73,15 +73,7 @@ namespace basegfx
return hypot( mfX, mfY );
}
- double B2DVector::scalar( const B2DVector& rVec ) const
- {
- return((mfX * rVec.mfX) + (mfY * rVec.mfY));
- }
- double B2DVector::cross( const B2DVector& rVec ) const
- {
- return(mfX * rVec.getY() - mfY * rVec.getX());
- }
double B2DVector::angle( const B2DVector& rVec ) const
{
diff --git a/basegfx/source/vector/b2ivector.cxx b/basegfx/source/vector/b2ivector.cxx
index b2cfb7b..d7cc9a4 100644
--- a/basegfx/source/vector/b2ivector.cxx
+++ b/basegfx/source/vector/b2ivector.cxx
@@ -30,10 +30,6 @@ namespace basegfx
return *this;
}
- double B2IVector::scalar( const B2IVector& rVec ) const
- {
- return((mnX * rVec.mnX) + (mnY * rVec.mnY));
- }
B2IVector& B2IVector::operator*=( const B2DHomMatrix& rMat )
{
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index df5c361..ccc1490 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1590,10 +1590,6 @@ bool BasicManager::IsBasicModified() const
return false;
}
-std::vector<BasicError>& BasicManager::GetErrors()
-{
- return aErrors;
-}
bool BasicManager::GetGlobalUNOConstant( const sal_Char* _pAsciiName, uno::Any& aOut )
{
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index dbcec4c..9254982 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -204,10 +204,6 @@ sal_Int32 PropertySetInfoImpl::GetIndex_Impl( const OUString &rPropName ) const
return pP ? sal::static_int_cast<sal_Int32>( pP - _aProps.getConstArray() ) : -1;
}
-Sequence< Property > PropertySetInfoImpl::getProperties(void) throw()
-{
- return _aProps;
-}
Property PropertySetInfoImpl::getPropertyByName(const OUString& Name) throw( RuntimeException )
{
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index e18156d..7102950 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -731,10 +731,6 @@ SbxVariable* SbModule::Find( const OUString& rName, SbxClassType t )
return pRes;
}
-const OUString& SbModule::GetSource32() const
-{
- return aOUSource;
-}
const OUString& SbModule::GetSource() const
{
@@ -1800,10 +1796,6 @@ void SbModule::GetCodeCompleteDataFromParse(CodeCompleteDataCache& aCache)
}
}
-SbxArrayRef SbModule::GetMethods()
-{
- return pMethods;
-}
OUString SbModule::GetKeywordCase( const OUString& sKeyword ) const
{
diff --git a/basic/source/inc/propacc.hxx b/basic/source/inc/propacc.hxx
index 84f3f8c..db0bc74 100644
--- a/basic/source/inc/propacc.hxx
+++ b/basic/source/inc/propacc.hxx
@@ -104,7 +104,7 @@ public:
PropertySetInfoImpl( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& rProps );
// XPropertySetInfo
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) throw ();
+ ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) throw () { return _aProps;}
::com::sun::star::beans::Property SAL_CALL getPropertyByName(const OUString& Name)
throw( ::com::sun::star::uno::RuntimeException );
bool SAL_CALL hasPropertyByName(const OUString& Name)
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 4d65e41..0dd95d3 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -763,10 +763,6 @@ SbxDataType SbxValue::GetType() const
return SbxDataType( aData.eType & 0x0FFF );
}
-SbxDataType SbxValue::GetFullType() const
-{
- return aData.eType;
-}
bool SbxValue::SetType( SbxDataType t )
{
diff --git a/binaryurp/source/binaryany.cxx b/binaryurp/source/binaryany.cxx
index a56663a..d1b345a 100644
--- a/binaryurp/source/binaryany.cxx
+++ b/binaryurp/source/binaryany.cxx
@@ -63,10 +63,6 @@ BinaryAny & BinaryAny::operator =(BinaryAny const & other) throw () {
return *this;
}
-uno_Any * BinaryAny::get() throw () {
- return &data_;
-}
-
css::uno::TypeDescription BinaryAny::getType() const throw () {
return css::uno::TypeDescription(data_.pType);
}
diff --git a/binaryurp/source/binaryany.hxx b/binaryurp/source/binaryany.hxx
index da359ec..38197f1 100644
--- a/binaryurp/source/binaryany.hxx
+++ b/binaryurp/source/binaryany.hxx
@@ -47,7 +47,7 @@ public:
BinaryAny & operator =(BinaryAny const & other) throw ();
- uno_Any * get() throw ();
+ uno_Any * get() throw () { return &data_; }
com::sun::star::uno::TypeDescription getType() const throw ();
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx
index c93df64..dc0f347 100644
--- a/binaryurp/source/bridge.cxx
+++ b/binaryurp/source/bridge.cxx
@@ -105,7 +105,7 @@ public:
~AttachThread();
- rtl::ByteSequence getTid() throw ();
+ rtl::ByteSequence getTid() throw () { return tid_;}
private:
uno_ThreadPool threadPool_;
@@ -124,9 +124,6 @@ AttachThread::~AttachThread() {
uno_releaseIdFromCurrentThread();
}
-rtl::ByteSequence AttachThread::getTid() throw () {
- return tid_;
-}
class PopOutgoingRequest: private boost::noncopyable {
public:
@@ -347,21 +344,8 @@ void Bridge::terminate(bool final) {
terminated_.set();
}
-css::uno::Reference< css::connection::XConnection > Bridge::getConnection()
- const
-{
- return connection_;
-}
-css::uno::Reference< css::bridge::XInstanceProvider > Bridge::getProvider()
- const
-{
- return provider_;
-}
-css::uno::Mapping & Bridge::getCppToBinaryMapping() {
- return cppToBinaryMapping_;
-}
BinaryAny Bridge::mapCppToBinaryAny(css::uno::Any const & cppAny) {
css::uno::Any in(cppAny);
diff --git a/binaryurp/source/bridge.hxx b/binaryurp/source/bridge.hxx
index f22eb5a..e4d9c55 100644
--- a/binaryurp/source/bridge.hxx
+++ b/binaryurp/source/bridge.hxx
@@ -91,12 +91,12 @@ public:
void terminate(bool final);
com::sun::star::uno::Reference< com::sun::star::connection::XConnection >
- getConnection() const;
+ getConnection() const { return connection_;}
com::sun::star::uno::Reference< com::sun::star::bridge::XInstanceProvider >
- getProvider() const;
+ getProvider() const { return provider_;}
- com::sun::star::uno::Mapping & getCppToBinaryMapping();
+ com::sun::star::uno::Mapping & getCppToBinaryMapping() { return cppToBinaryMapping_;}
BinaryAny mapCppToBinaryAny(com::sun::star::uno::Any const & cppAny);
diff --git a/binaryurp/source/proxy.cxx b/binaryurp/source/proxy.cxx
index a28dbc5..571ab92 100644
--- a/binaryurp/source/proxy.cxx
+++ b/binaryurp/source/proxy.cxx
@@ -73,13 +73,7 @@ Proxy::Proxy(
pDispatcher = &proxy_dispatchInterface;
}
-OUString Proxy::getOid() const {
- return oid_;
-}
-css::uno::TypeDescription Proxy::getType() const {
- return type_;
-}
void Proxy::do_acquire() {
if (osl_atomic_increment(&references_) == 1) {
diff --git a/binaryurp/source/proxy.hxx b/binaryurp/source/proxy.hxx
index b3bd4b56..b7491cb 100644
--- a/binaryurp/source/proxy.hxx
+++ b/binaryurp/source/proxy.hxx
@@ -44,9 +44,9 @@ public:
rtl::Reference< Bridge > const & bridge, OUString const & oid,
com::sun::star::uno::TypeDescription const & type);
- OUString getOid() const;
+ OUString getOid() const { return oid_;}
- com::sun::star::uno::TypeDescription getType() const;
+ com::sun::star::uno::TypeDescription getType() const { return type_;}
void do_acquire();
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 5f0fe81..07e38f6 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1527,10 +1527,6 @@ namespace cairocanvas
return rv;
}
- uno::Reference< rendering::XGraphicDevice > CanvasHelper::getDevice()
- {
- return uno::Reference< rendering::XGraphicDevice >(mpDevice);
- }
void CanvasHelper::copyRect( const rendering::XCanvas* ,
const uno::Reference< rendering::XBitmapCanvas >& /*sourceCanvas*/,
diff --git a/canvas/source/cairo/cairo_canvashelper.hxx b/canvas/source/cairo/cairo_canvashelper.hxx
index bbc48c6..4adcb3b 100644
--- a/canvas/source/cairo/cairo_canvashelper.hxx
+++ b/canvas/source/cairo/cairo_canvashelper.hxx
@@ -208,7 +208,7 @@ namespace cairocanvas
const ::com::sun::star::rendering::ViewState& viewState,
const ::com::sun::star::rendering::RenderState& renderState );
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >
- getDevice();
+ getDevice() { return css::uno::Reference< css::rendering::XGraphicDevice >(mpDevice); }
// BitmapCanvasHelper functionality
// ================================
diff --git a/canvas/source/cairo/cairo_devicehelper.cxx b/canvas/source/cairo/cairo_devicehelper.cxx
index e4677e6..50d79ff 100644
--- a/canvas/source/cairo/cairo_devicehelper.cxx
+++ b/canvas/source/cairo/cairo_devicehelper.cxx
@@ -271,11 +271,6 @@ namespace cairocanvas
}
}
- SurfaceSharedPtr DeviceHelper::getSurface()
- {
- return mpSurface;
- }
-
SurfaceSharedPtr DeviceHelper::createSurface( const ::basegfx::B2ISize& rSize, Content aContent )
{
if( mpSurface )
diff --git a/canvas/source/cairo/cairo_devicehelper.hxx b/canvas/source/cairo/cairo_devicehelper.hxx
index 2d377c9..a4b7399 100644
--- a/canvas/source/cairo/cairo_devicehelper.hxx
+++ b/canvas/source/cairo/cairo_devicehelper.hxx
@@ -92,7 +92,7 @@ namespace cairocanvas
void dumpScreenContent() const;
OutputDevice* getOutputDevice() const { return mpRefDevice; }
- ::cairo::SurfaceSharedPtr getSurface();
+ ::cairo::SurfaceSharedPtr getSurface() { return mpSurface; }
::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize, ::cairo::Content aContent = CAIRO_CONTENT_COLOR_ALPHA );
::cairo::SurfaceSharedPtr createSurface( BitmapSystemData& rData, const Size& rSize );
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.cxx b/canvas/source/cairo/cairo_spritedevicehelper.cxx
index b17ce90..9673aec 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.cxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.cxx
@@ -140,11 +140,6 @@ namespace cairocanvas
setSize( ::basegfx::B2ISize(rBounds.Width, rBounds.Height) );
}
- SurfaceSharedPtr SpriteDeviceHelper::getBufferSurface()
- {
- return mpBufferSurface;
- }
-
SurfaceSharedPtr SpriteDeviceHelper::getWindowSurface()
{
return DeviceHelper::getSurface();
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.hxx b/canvas/source/cairo/cairo_spritedevicehelper.hxx
index 4e4a943..bcd9a84 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.hxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.hxx
@@ -64,7 +64,7 @@ namespace cairocanvas
void notifySizeUpdate( const ::com::sun::star::awt::Rectangle& rBounds );
void setSize( const ::basegfx::B2ISize& rSize );
- ::cairo::SurfaceSharedPtr getBufferSurface();
+ ::cairo::SurfaceSharedPtr getBufferSurface() { return mpBufferSurface; }
::cairo::SurfaceSharedPtr getWindowSurface();
::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize, ::cairo::Content aContent = CAIRO_CONTENT_COLOR_ALPHA );
::cairo::SurfaceSharedPtr createSurface( BitmapSystemData& rData, const Size& rSize );
diff --git a/canvas/source/opengl/ogl_bitmapcanvashelper.cxx b/canvas/source/opengl/ogl_bitmapcanvashelper.cxx
index 5619d48..1a7ce41 100644
--- a/canvas/source/opengl/ogl_bitmapcanvashelper.cxx
+++ b/canvas/source/opengl/ogl_bitmapcanvashelper.cxx
@@ -46,10 +46,6 @@ namespace oglcanvas
// TODO(F2): copyRect NYI
}
- geometry::IntegerSize2D BitmapCanvasHelper::getSize()
- {
- return maSize;
- }
uno::Reference< rendering::XBitmap > BitmapCanvasHelper::getScaledBitmap( const geometry::RealSize2D& /*newSize*/,
bool /*beFast*/ )
diff --git a/canvas/source/opengl/ogl_bitmapcanvashelper.hxx b/canvas/source/opengl/ogl_bitmapcanvashelper.hxx
index 6fd7a4b..6e46ebe 100644
--- a/canvas/source/opengl/ogl_bitmapcanvashelper.hxx
+++ b/canvas/source/opengl/ogl_bitmapcanvashelper.hxx
@@ -65,7 +65,7 @@ namespace oglcanvas
const ::com::sun::star::rendering::ViewState& destViewState,
const ::com::sun::star::rendering::RenderState& destRenderState );
- ::com::sun::star::geometry::IntegerSize2D getSize();
+ ::com::sun::star::geometry::IntegerSize2D getSize() { return maSize; }
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > queryBitmapCanvas();
diff --git a/canvas/source/opengl/ogl_canvasfont.cxx b/canvas/source/opengl/ogl_canvasfont.cxx
index 8e487ec..ac27053 100644
--- a/canvas/source/opengl/ogl_canvasfont.cxx
+++ b/canvas/source/opengl/ogl_canvasfont.cxx
@@ -72,10 +72,6 @@ namespace oglcanvas
return rendering::FontMetrics();
}
- const ::com::sun::star::geometry::Matrix2D& CanvasFont::getFontMatrix() const
- {
- return maFontMatrix;
- }
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/opengl/ogl_canvasfont.hxx b/canvas/source/opengl/ogl_canvasfont.hxx
index 68e8e1e..7eef59b 100644
--- a/canvas/source/opengl/ogl_canvasfont.hxx
+++ b/canvas/source/opengl/ogl_canvasfont.hxx
@@ -55,7 +55,7 @@ namespace oglcanvas
virtual ::com::sun::star::uno::Sequence< double > SAL_CALL getAvailableSizes( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getExtraFontProperties( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- const ::com::sun::star::geometry::Matrix2D& getFontMatrix() const;
+ const ::com::sun::star::geometry::Matrix2D& getFontMatrix() const { return maFontMatrix; }
private:
::com::sun::star::rendering::FontRequest maFontRequest;
diff --git a/canvas/source/opengl/ogl_canvashelper.cxx b/canvas/source/opengl/ogl_canvashelper.cxx
index a1917dd..e9983f0 100644
--- a/canvas/source/opengl/ogl_canvashelper.cxx
+++ b/canvas/source/opengl/ogl_canvashelper.cxx
@@ -890,10 +890,6 @@ namespace oglcanvas
return drawBitmap(pCanvas, xBitmap, viewState, renderState);
}
- uno::Reference< rendering::XGraphicDevice > CanvasHelper::getDevice()
- {
- return uno::Reference< rendering::XGraphicDevice >(mpDevice);
- }
void CanvasHelper::setupGraphicsState( Action& o_action,
const rendering::ViewState& viewState,
diff --git a/canvas/source/opengl/ogl_canvashelper.hxx b/canvas/source/opengl/ogl_canvashelper.hxx
index 7b482e0..0dc98e0 100644
--- a/canvas/source/opengl/ogl_canvashelper.hxx
+++ b/canvas/source/opengl/ogl_canvashelper.hxx
@@ -179,7 +179,7 @@ namespace oglcanvas
const ::com::sun::star::rendering::ViewState& viewState,
const ::com::sun::star::rendering::RenderState& renderState );
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >
- getDevice();
+ getDevice() { return css::uno::Reference< css::rendering::XGraphicDevice >(mpDevice); }
// Flush drawing queue to screen
void flush() const;
diff --git a/canvas/source/tools/canvascustomspritehelper.cxx b/canvas/source/tools/canvascustomspritehelper.cxx
index 120dc9d..9203517 100644
--- a/canvas/source/tools/canvascustomspritehelper.cxx
+++ b/canvas/source/tools/canvascustomspritehelper.cxx
@@ -430,15 +430,7 @@ namespace canvas
}
}
- ::basegfx::B2DPoint CanvasCustomSpriteHelper::getPosPixel() const
- {
- return maPosition;
- }
- ::basegfx::B2DVector CanvasCustomSpriteHelper::getSizePixel() const
- {
- return maSize;
- }
::basegfx::B2DRange CanvasCustomSpriteHelper::getUpdateArea( const ::basegfx::B2DRange& rBounds ) const
{
diff --git a/canvas/source/tools/pagemanager.cxx b/canvas/source/tools/pagemanager.cxx
index aacf8a4..7f5d776 100644
--- a/canvas/source/tools/pagemanager.cxx
+++ b/canvas/source/tools/pagemanager.cxx
@@ -205,10 +205,6 @@ namespace canvas
// PageManager::getRenderModule
- canvas::IRenderModuleSharedPtr PageManager::getRenderModule() const
- {
- return mpRenderModule;
- }
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/canvas/source/tools/pagemanager.hxx b/canvas/source/tools/pagemanager.hxx
index 1307fa0..5e90601 100644
--- a/canvas/source/tools/pagemanager.hxx
+++ b/canvas/source/tools/pagemanager.hxx
@@ -45,7 +45,7 @@ namespace canvas
// accelerated page, e.g. OpenGL texture.
::basegfx::B2ISize getPageSize() const;
- canvas::IRenderModuleSharedPtr getRenderModule() const;
+ canvas::IRenderModuleSharedPtr getRenderModule() const { return mpRenderModule; }
FragmentSharedPtr allocateSpace( const ::basegfx::B2ISize& rSize );
void free( const FragmentSharedPtr& pFragment );
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index 0bd3954..4112c5b 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -900,13 +900,6 @@ namespace vclcanvas
true );
}
- uno::Reference< rendering::XGraphicDevice > CanvasHelper::getDevice()
- {
- // cast away const, need to change refcount (as this is
- // ~invisible to client code, still logically const)
- return uno::Reference< rendering::XGraphicDevice >(mpDevice);
- }
-
void CanvasHelper::copyRect( const rendering::XCanvas* ,
const uno::Reference< rendering::XBitmapCanvas >& ,
const geometry::RealRectangle2D& ,
diff --git a/canvas/source/vcl/canvashelper.hxx b/canvas/source/vcl/canvashelper.hxx
index 536b5de..6920c88 100644
--- a/canvas/source/vcl/canvashelper.hxx
+++ b/canvas/source/vcl/canvashelper.hxx
@@ -222,8 +222,11 @@ namespace vclcanvas
::com::sun::star::rendering::XBitmap >& xBitmap,
const ::com::sun::star::rendering::ViewState& viewState,
const ::com::sun::star::rendering::RenderState& renderState );
+ // cast away const, need to change refcount (as this is
+ // ~invisible to client code, still logically const)
::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice >
- getDevice();
+ getDevice() { return css::uno::Reference< css::rendering::XGraphicDevice >(mpDevice); }
+
// BitmapCanvasHelper functionality
// ================================
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index ecabba2..9b3eba3 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -595,7 +595,7 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >
getNumberFormatsSupplier();
- com::sun::star::uno::Reference< com::sun::star::uno::XInterface > getChartView();
+ com::sun::star::uno::Reference< com::sun::star::uno::XInterface > getChartView() { return xChartView;}
bool isTimeBased() const { return mbTimeBased;}
void setTimeBased(bool bTimeBased);
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index db5e603..0c92a26 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -442,10 +442,6 @@ void AccessibleBase::KillAllChildren()
m_bChildrenInitialized = false;
}
-AccessibleElementInfo AccessibleBase::GetInfo() const
-{
- return m_aAccInfo;
-}
void AccessibleBase::SetInfo( const AccessibleElementInfo & rNewInfo )
{
@@ -458,10 +454,6 @@ void AccessibleBase::SetInfo( const AccessibleElementInfo & rNewInfo )
true /* global notification */ );
}
-AccessibleUniqueId AccessibleBase::GetId() const
-{
- return m_aAccInfo.m_aOID;
-}
// ________ (XComponent::dispose) ________
void SAL_CALL AccessibleBase::disposing()
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index cac76fe..2fbe179 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -1035,15 +1035,7 @@ void ChartDocumentWrapper::setBaseDiagram( const OUString& rBaseDiagram )
this->setDiagram( xDiagram );
}
-OUString ChartDocumentWrapper::getBaseDiagram() const
-{
- return m_aBaseDiagram;
-}
-Reference< util::XRefreshable > ChartDocumentWrapper::getAddIn() const
-{
- return m_xAddIn;
-}
void ChartDocumentWrapper::setAddIn( const Reference< util::XRefreshable >& xAddIn )
{
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
index 4638487..0a4cf66 100644
--- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.cxx
@@ -543,10 +543,6 @@ bool DataSeriesPointWrapper::isSupportingAreaProperties()
return ChartTypeHelper::isSupportingAreaProperties( xChartType, nDimensionCount );
}
-bool DataSeriesPointWrapper::isLinesForbidden()
-{
- return !m_bLinesAllowed;
-}
Reference< chart2::XDataSeries > DataSeriesPointWrapper::getDataSeries()
{
diff --git a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
index f0cff4c..c0d128d 100644
--- a/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/DataSeriesPointWrapper.hxx
@@ -71,7 +71,7 @@ public:
virtual ~DataSeriesPointWrapper();
bool isSupportingAreaProperties();
- bool isLinesForbidden();
+ bool isLinesForbidden() { return !m_bLinesAllowed;}
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.cxx b/chart2/source/controller/dialogs/DataBrowserModel.cxx
index 724c078..aafc9d3 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.cxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.cxx
@@ -764,10 +764,6 @@ sal_Int32 DataBrowserModel::getCategoryColumnCount()
return nLastTextColumnIndex+1;
}
-const DataBrowserModel::tDataHeaderVector& DataBrowserModel::getDataHeaders() const
-{
- return m_aHeaders;
-}
void DataBrowserModel::updateFromModel()
{
diff --git a/chart2/source/controller/dialogs/DataBrowserModel.hxx b/chart2/source/controller/dialogs/DataBrowserModel.hxx
index 60a8b26b..57bd55f 100644
--- a/chart2/source/controller/dialogs/DataBrowserModel.hxx
+++ b/chart2/source/controller/dialogs/DataBrowserModel.hxx
@@ -130,7 +130,7 @@ public:
typedef ::std::vector< tDataHeader > tDataHeaderVector;
- const tDataHeaderVector& getDataHeaders() const;
+ const tDataHeaderVector& getDataHeaders() const { return m_aHeaders;}
tDataHeader getHeaderForSeries(
const ::com::sun::star::uno::Reference<
diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
index 859a4bf..834bf76 100644
--- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
+++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
@@ -110,10 +110,6 @@ ObjectPropertiesDialogParameter::ObjectPropertiesDialogParameter( const OUString
ObjectPropertiesDialogParameter::~ObjectPropertiesDialogParameter()
{
}
-OUString ObjectPropertiesDialogParameter::getLocalizedName() const
-{
- return m_aLocalizedName;
-}
void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel >& xChartModel )
{
@@ -309,14 +305,6 @@ void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel
}
}
-const uno::Sequence< OUString >& ObjectPropertiesDialogParameter::GetCategories() const
-{
- return m_aCategories;
-}
-uno::Reference< chart2::XChartDocument > ObjectPropertiesDialogParameter::getDocument() const
-{
- return m_xChartDocument;
-}
const sal_uInt16 nNoArrowNoShadowDlg = 1101;
diff --git a/chart2/source/controller/inc/AccessibleBase.hxx b/chart2/source/controller/inc/AccessibleBase.hxx
index dbb1710..5487a3b 100644
--- a/chart2/source/controller/inc/AccessibleBase.hxx
+++ b/chart2/source/controller/inc/AccessibleBase.hxx
@@ -217,9 +217,9 @@ protected:
virtual sal_Int32 ImplGetAccessibleChildCount() const
throw (::com::sun::star::uno::RuntimeException);
- AccessibleElementInfo GetInfo() const;
+ AccessibleElementInfo GetInfo() const { return m_aAccInfo;}
void SetInfo( const AccessibleElementInfo & rNewInfo );
- AccessibleUniqueId GetId() const;
+ AccessibleUniqueId GetId() const { return m_aAccInfo.m_aOID;}
// ________ XComponent ________
virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
diff --git a/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx b/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx
index 7ae26eb..b4e2d57 100644
--- a/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx
+++ b/chart2/source/controller/inc/CharacterPropertyItemConverter.hxx
@@ -62,7 +62,7 @@ protected:
throw( ::com::sun::star::uno::Exception ) SAL_OVERRIDE;
::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > GetRefSizePropertySet() const;
+ ::com::sun::star::beans::XPropertySet > GetRefSizePropertySet() const { return m_xRefSizePropSet;}
private:
SAL_WNODEPRECATED_DECLARATIONS_PUSH
diff --git a/chart2/source/controller/inc/ChartDocumentWrapper.hxx b/chart2/source/controller/inc/ChartDocumentWrapper.hxx
index 21de1e6..a14cf15 100644
--- a/chart2/source/controller/inc/ChartDocumentWrapper.hxx
+++ b/chart2/source/controller/inc/ChartDocumentWrapper.hxx
@@ -69,13 +69,13 @@ public:
APPHELPER_SERVICE_FACTORY_HELPER(ChartDocumentWrapper)
void setAddIn( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshable >& xAddIn );
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshable > getAddIn() const;
+ ::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshable > getAddIn() const { return m_xAddIn;}
void setUpdateAddIn( bool bUpdateAddIn );
bool getUpdateAddIn() const { return m_bUpdateAddIn;}
void setBaseDiagram( const OUString& rBaseDiagram );
- OUString getBaseDiagram() const;
+ OUString getBaseDiagram() const { return m_aBaseDiagram;}
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > getAdditionalShapes() const;
diff --git a/chart2/source/controller/inc/ItemConverter.hxx b/chart2/source/controller/inc/ItemConverter.hxx
index ea8850d..dcf3410 100644
--- a/chart2/source/controller/inc/ItemConverter.hxx
+++ b/chart2/source/controller/inc/ItemConverter.hxx
@@ -164,13 +164,13 @@ protected:
throw( ::com::sun::star::uno::Exception );
/// Returns the pool
- SfxItemPool & GetItemPool() const;
+ SfxItemPool & GetItemPool() const { return m_rItemPool;}
/** Returns the XPropertySet that was given in the CTOR and is used to apply
items in ApplyItemSet().
*/
::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > GetPropertySet() const;
+ ::com::sun::star::beans::XPropertySet > GetPropertySet() const { return m_xPropertySet;}
// ____ ::utl::OEventListenerAdapter ____
virtual void _disposing( const ::com::sun::star::lang::EventObject& rSource ) SAL_OVERRIDE;
diff --git a/chart2/source/controller/inc/ObjectHierarchy.hxx b/chart2/source/controller/inc/ObjectHierarchy.hxx
index 843af97..f0c02c1 100644
--- a/chart2/source/controller/inc/ObjectHierarchy.hxx
+++ b/chart2/source/controller/inc/ObjectHierarchy.hxx
@@ -86,7 +86,7 @@ public:
ExplicitValueProvider * pExplicitValueProvider = 0 );
bool handleKeyEvent( const ::com::sun::star::awt::KeyEvent & rEvent );
- ObjectHierarchy::tOID getCurrentSelection() const;
+ ObjectHierarchy::tOID getCurrentSelection() const { return m_aCurrentOID;}
private:
void setCurrentSelection( const ObjectHierarchy::tOID& rOID );
diff --git a/chart2/source/controller/inc/dlg_ObjectProperties.hxx b/chart2/source/controller/inc/dlg_ObjectProperties.hxx
index 13f14e0..33013c3 100644
--- a/chart2/source/controller/inc/dlg_ObjectProperties.hxx
+++ b/chart2/source/controller/inc/dlg_ObjectProperties.hxx
@@ -35,7 +35,7 @@ public:
void init( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
ObjectType getObjectType() const { return m_eObjectType;}
- OUString getLocalizedName() const;
+ OUString getLocalizedName() const { return m_aLocalizedName;}
bool HasGeometryProperties() const { return m_bHasGeometryProperties;}
bool HasStatisticProperties() const { return m_bHasStatisticProperties;}
@@ -53,10 +53,10 @@ public:
bool IsSupportingAxisPositioning() const { return m_bSupportingAxisPositioning;}
bool ShowAxisOrigin() const { return m_bShowAxisOrigin;}
bool IsCrossingAxisIsCategoryAxis() const { return m_bIsCrossingAxisIsCategoryAxis;}
- const ::com::sun::star::uno::Sequence< OUString >& GetCategories() const;
+ const ::com::sun::star::uno::Sequence< OUString >& GetCategories() const { return m_aCategories;}
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >
- getDocument() const;
+ getDocument() const { return m_xChartDocument;}
bool IsComplexCategoriesAxis() const { return m_bComplexCategoriesAxis;}
diff --git a/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx b/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx
index 6d598d3..79410d8 100644
--- a/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/CharacterPropertyItemConverter.cxx
@@ -556,11 +556,6 @@ bool CharacterPropertyItemConverter::ApplySpecialItem(
return bChanged;
}
-uno::Reference< beans::XPropertySet >
- CharacterPropertyItemConverter::GetRefSizePropertySet() const
-{
- return m_xRefSizePropSet;
-}
} // namespace wrapper
} // namespace chart
diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
index 74bf8a2..e8a31d5 100644
--- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
@@ -64,20 +64,12 @@ void ItemConverter::resetPropertySet(
}
}
-SfxItemPool & ItemConverter::GetItemPool() const
-{
- return m_rItemPool;
-}
SfxItemSet ItemConverter::CreateEmptyItemSet() const
{
return SfxItemSet( GetItemPool(), GetWhichPairs() );
}
-uno::Reference< beans::XPropertySet > ItemConverter::GetPropertySet() const
-{
- return m_xPropertySet;
-}
void ItemConverter::_disposing( const lang::EventObject& rSource )
{
diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx
index 0a8d00f..26caf6e 100644
--- a/chart2/source/controller/main/ObjectHierarchy.cxx
+++ b/chart2/source/controller/main/ObjectHierarchy.cxx
@@ -745,10 +745,6 @@ void ObjectKeyNavigation::setCurrentSelection( const ObjectHierarchy::tOID& rOID
m_aCurrentOID = rOID;
}
-ObjectHierarchy::tOID ObjectKeyNavigation::getCurrentSelection() const
-{
- return m_aCurrentOID;
-}
bool ObjectKeyNavigation::first()
{
diff --git a/chart2/source/controller/main/SelectionHelper.cxx b/chart2/source/controller/main/SelectionHelper.cxx
index 9d01071..8630526 100644
--- a/chart2/source/controller/main/SelectionHelper.cxx
+++ b/chart2/source/controller/main/SelectionHelper.cxx
@@ -77,10 +77,6 @@ uno::Reference< drawing::XShape > Selection::getSelectedAdditionalShape()
return m_aSelectedOID.getAdditionalShape();
}
-ObjectIdentifier Selection::getSelectedOID() const
-{
- return m_aSelectedOID;
-}
bool Selection::setSelection( const OUString& rCID )
{
diff --git a/chart2/source/controller/main/SelectionHelper.hxx b/chart2/source/controller/main/SelectionHelper.hxx
index 9a5f565..48d3ea3 100644
--- a/chart2/source/controller/main/SelectionHelper.hxx
+++ b/chart2/source/controller/main/SelectionHelper.hxx
@@ -39,7 +39,7 @@ public: //methods
OUString getSelectedCID();
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShape > getSelectedAdditionalShape();
- ObjectIdentifier getSelectedOID() const;
+ ObjectIdentifier getSelectedOID() const { return m_aSelectedOID;}
bool isResizeableObjectSelected();
bool isRotateableObjectSelected( const ::com::sun::star::uno::Reference<
diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index 77ed6ca..082f6ee 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.hxx
@@ -72,9 +72,9 @@ public:
typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level
void setComplexRowLabels( const tVecVecAny& rNewRowLabels );
- tVecVecAny getComplexRowLabels() const;
+ tVecVecAny getComplexRowLabels() const { return m_aRowLabels;}
void setComplexColumnLabels( const tVecVecAny& rNewColumnLabels );
- tVecVecAny getComplexColumnLabels() const;
+ tVecVecAny getComplexColumnLabels() const { return m_aColumnLabels;}
#if OSL_DEBUG_LEVEL > 1
void traceData() const;
diff --git a/chart2/source/inc/MediaDescriptorHelper.hxx b/chart2/source/inc/MediaDescriptorHelper.hxx
index 6b05612..dead054 100644
--- a/chart2/source/inc/MediaDescriptorHelper.hxx
+++ b/chart2/source/inc/MediaDescriptorHelper.hxx
@@ -52,7 +52,7 @@ public:
::com::sun::star::beans::PropertyValue > & rMediaDescriptor );
::com::sun::star::uno::Sequence<
- ::com::sun::star::beans::PropertyValue > getReducedForModel();
+ ::com::sun::star::beans::PropertyValue > getReducedForModel() { return m_aModelProperties;}
public:
//all properties given in the constructor are stored in the following three sequences
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx
index d30a00d..937da78 100644
--- a/chart2/source/inc/ObjectIdentifier.hxx
+++ b/chart2/source/inc/ObjectIdentifier.hxx
@@ -265,8 +265,8 @@ public:
bool isValid() const;
bool isAutoGeneratedObject() const;
bool isAdditionalShape() const;
- OUString getObjectCID() const;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > getAdditionalShape() const;
+ OUString getObjectCID() const { return m_aObjectCID;}
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > getAdditionalShape() const { return m_xAdditionalShape;}
::com::sun::star::uno::Any getAny() const;
private:
diff --git a/chart2/source/inc/ReferenceSizeProvider.hxx b/chart2/source/inc/ReferenceSizeProvider.hxx
index d1275c7..9c15afd 100644
--- a/chart2/source/inc/ReferenceSizeProvider.hxx
+++ b/chart2/source/inc/ReferenceSizeProvider.hxx
@@ -51,7 +51,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > & xChartDoc );
- ::com::sun::star::awt::Size getPageSize() const;
+ ::com::sun::star::awt::Size getPageSize() const { return m_aPageSize;}
/** Retrieves the state auto-resize from all objects that support this
feature. If all objects return the same state, AUTO_RESIZE_YES or
diff --git a/chart2/source/inc/WrappedProperty.hxx b/chart2/source/inc/WrappedProperty.hxx
index 2baa2f2..d5f0bea 100644
--- a/chart2/source/inc/WrappedProperty.hxx
+++ b/chart2/source/inc/WrappedProperty.hxx
@@ -37,7 +37,7 @@ public:
WrappedProperty( const OUString& rOuterName, const OUString& rInnerName );
virtual ~WrappedProperty();
- const OUString& getOuterName() const;
+ const OUString& getOuterName() const { return m_aOuterName;}
virtual OUString getInnerName() const;
virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 833ea95..02c12347 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -1408,10 +1408,6 @@ void ChartModel::setTimeBasedRange(sal_Int32 nStart, sal_Int32 nEnd)
mbTimeBased = true;
}
-uno::Reference< uno::XInterface > ChartModel::getChartView()
-{
- return xChartView;
-}
void ChartModel::setWindow( const sal_uInt64 nWindowPtr )
throw (uno::RuntimeException, std::exception)
diff --git a/chart2/source/model/template/ChartType.cxx b/chart2/source/model/template/ChartType.cxx
index 9fb275f..db542d0 100644
--- a/chart2/source/model/template/ChartType.cxx
+++ b/chart2/source/model/template/ChartType.cxx
@@ -66,10 +66,6 @@ ChartType::~ChartType()
m_aDataSeries.clear();
}
-Reference< uno::XComponentContext > ChartType::GetComponentContext() const
-{
- return m_xContext;
-}
// ____ XChartType ____
Reference< chart2::XCoordinateSystem > SAL_CALL
diff --git a/chart2/source/model/template/ChartType.hxx b/chart2/source/model/template/ChartType.hxx
index 82eb8033..18dfaea 100644
--- a/chart2/source/model/template/ChartType.hxx
+++ b/chart2/source/model/template/ChartType.hxx
@@ -63,7 +63,7 @@ protected:
explicit ChartType( const ChartType & rOther );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
- GetComponentContext() const;
+ GetComponentContext() const { return m_xContext;}
// ____ XChartType ____
// still abstract ! implement !
diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx
index 8be651a..de109e8 100644
--- a/chart2/source/model/template/ChartTypeTemplate.cxx
+++ b/chart2/source/model/template/ChartTypeTemplate.cxx
@@ -898,10 +898,6 @@ void ChartTypeTemplate::copyPropertiesFromOldToNewCoordianteSystem(
comphelper::copyProperties( xSource, xDestination );
}
-Reference< uno::XComponentContext > ChartTypeTemplate::GetComponentContext() const
-{
- return m_xContext;
-}
} // namespace chart
diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx
index 39f3e0c..b0dc88c 100644
--- a/chart2/source/model/template/ChartTypeTemplate.hxx
+++ b/chart2/source/model/template/ChartTypeTemplate.hxx
@@ -246,7 +246,7 @@ protected:
::com::sun::star::chart2::XCoordinateSystem > > & rCoordSys );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
- GetComponentContext() const;
+ GetComponentContext() const { return m_xContext;}
static void copyPropertiesFromOldToNewCoordianteSystem(
const ::com::sun::star::uno::Sequence<
diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx
index ce45408..67e50fb 100644
--- a/chart2/source/model/template/DataInterpreter.cxx
+++ b/chart2/source/model/template/DataInterpreter.cxx
@@ -57,10 +57,6 @@ DataInterpreter::DataInterpreter(
DataInterpreter::~DataInterpreter()
{}
-Reference< uno::XComponentContext > DataInterpreter::GetComponentContext() const
-{
- return m_xContext;
-}
// ____ XDataInterpreter ____
InterpretedData SAL_CALL DataInterpreter::interpretDataSource(
diff --git a/chart2/source/model/template/DataInterpreter.hxx b/chart2/source/model/template/DataInterpreter.hxx
index 9f49db3..af589f1 100644
--- a/chart2/source/model/template/DataInterpreter.hxx
+++ b/chart2/source/model/template/DataInterpreter.hxx
@@ -38,7 +38,7 @@ public:
virtual ~DataInterpreter();
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
- GetComponentContext() const;
+ GetComponentContext() const { return m_xContext;}
/// XServiceInfo declarations
APPHELPER_XSERVICEINFO_DECL()
diff --git a/chart2/source/tools/ImplOPropertySet.cxx b/chart2/source/tools/ImplOPropertySet.cxx
index 33b850e..de003b7 100644
--- a/chart2/source/tools/ImplOPropertySet.cxx
+++ b/chart2/source/tools/ImplOPropertySet.cxx
@@ -181,10 +181,6 @@ bool ImplOPropertySet::SetStyle( const Reference< style::XStyle > & xStyle )
return true;
}
-Reference< style::XStyle > ImplOPropertySet::GetStyle() const
-{
- return m_xStyle;
-}
void ImplOPropertySet::cloneInterfaceProperties()
{
diff --git a/chart2/source/tools/ImplOPropertySet.hxx b/chart2/source/tools/ImplOPropertySet.hxx
index 28e84cc..ca7e5f0 100644
--- a/chart2/source/tools/ImplOPropertySet.hxx
+++ b/chart2/source/tools/ImplOPropertySet.hxx
@@ -67,7 +67,7 @@ public:
bool SetStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::style::XStyle > & xStyle );
::com::sun::star::uno::Reference< ::com::sun::star::style::XStyle >
- GetStyle() const;
+ GetStyle() const { return m_xStyle;}
typedef
::std::map< sal_Int32, ::com::sun::star::uno::Any >
diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx
index 71a2fd8..f79bd62 100644
--- a/chart2/source/tools/InternalData.cxx
+++ b/chart2/source/tools/InternalData.cxx
@@ -496,10 +496,6 @@ void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNew
enlargeData( 0, nNewRowCount );
}
-vector< vector< uno::Any > > InternalData::getComplexRowLabels() const
-{
- return m_aRowLabels;
-}
void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& rNewColumnLabels )
{
@@ -511,10 +507,6 @@ void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& r
enlargeData( nNewColumnCount, 0 );
}
-vector< vector< uno::Any > > InternalData::getComplexColumnLabels() const
-{
- return m_aColumnLabels;
-}
#if OSL_DEBUG_LEVEL > 1
void InternalData::traceData() const
diff --git a/chart2/source/tools/MediaDescriptorHelper.cxx b/chart2/source/tools/MediaDescriptorHelper.cxx
index 9279b9d..6104265 100644
--- a/chart2/source/tools/MediaDescriptorHelper.cxx
+++ b/chart2/source/tools/MediaDescriptorHelper.cxx
@@ -196,11 +196,6 @@ void MediaDescriptorHelper::impl_init()
ISSET_Stream = false;
}
- uno::Sequence< beans::PropertyValue > MediaDescriptorHelper
-::getReducedForModel()
-{
- return m_aModelProperties;
-}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/ObjectIdentifier.cxx b/chart2/source/tools/ObjectIdentifier.cxx
index 9edbdf0..0ab0874 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -1542,15 +1542,7 @@ bool ObjectIdentifier::isAdditionalShape() const
return m_xAdditionalShape.is();
}
-OUString ObjectIdentifier::getObjectCID() const
-{
- return m_aObjectCID;
-}
-Reference< drawing::XShape > ObjectIdentifier::getAdditionalShape() const
-{
- return m_xAdditionalShape;
-}
Any ObjectIdentifier::getAny() const
{
diff --git a/chart2/source/tools/ReferenceSizeProvider.cxx b/chart2/source/tools/ReferenceSizeProvider.cxx
index 1f5c84f..0a0145b 100644
--- a/chart2/source/tools/ReferenceSizeProvider.cxx
+++ b/chart2/source/tools/ReferenceSizeProvider.cxx
@@ -48,10 +48,6 @@ ReferenceSizeProvider::ReferenceSizeProvider(
m_bUseAutoScale( getAutoResizeState( xChartDoc ) == AUTO_RESIZE_YES )
{}
-awt::Size ReferenceSizeProvider::getPageSize() const
-{
- return m_aPageSize;
-}
void ReferenceSizeProvider::impl_setValuesAtTitled(
diff --git a/chart2/source/tools/WrappedProperty.cxx b/chart2/source/tools/WrappedProperty.cxx
index 4a8f94b..4666dbb 100644
--- a/chart2/source/tools/WrappedProperty.cxx
+++ b/chart2/source/tools/WrappedProperty.cxx
@@ -37,10 +37,6 @@ WrappedProperty::~WrappedProperty()
{
}
-const OUString& WrappedProperty::getOuterName() const
-{
- return m_aOuterName;
-}
OUString WrappedProperty::getInnerName() const
{
diff --git a/chart2/source/view/axes/ScaleAutomatism.cxx b/chart2/source/view/axes/ScaleAutomatism.cxx
index 1dbab1c..ff6b7d5 100644
--- a/chart2/source/view/axes/ScaleAutomatism.cxx
+++ b/chart2/source/view/axes/ScaleAutomatism.cxx
@@ -228,15 +228,7 @@ void ScaleAutomatism::calculateExplicitScaleAndIncrement(
}
}
-ScaleData ScaleAutomatism::getScale() const
-{
- return m_aSourceScale;
-}
-Date ScaleAutomatism::getNullDate() const
-{
- return m_aNullDate;
-}
void ScaleAutomatism::calculateExplicitIncrementAndScaleForCategory(
ExplicitScaleData& rExplicitScale,
diff --git a/chart2/source/view/axes/VAxisBase.cxx b/chart2/source/view/axes/VAxisBase.cxx
index a7c6e8d..457a211 100644
--- a/chart2/source/view/axes/VAxisBase.cxx
+++ b/chart2/source/view/axes/VAxisBase.cxx
@@ -49,10 +49,6 @@ VAxisBase::~VAxisBase()
{
}
-sal_Int32 VAxisBase::getDimensionCount()
-{
- return m_nDimension;
-}
void VAxisBase::initAxisLabelProperties( const ::com::sun::star::awt::Size& rFontReferenceSize
, const ::com::sun::star::awt::Rectangle& rMaximumSpaceForLabels )
diff --git a/chart2/source/view/axes/VAxisBase.hxx b/chart2/source/view/axes/VAxisBase.hxx
index 7494430..3c39c03 100644
--- a/chart2/source/view/axes/VAxisBase.hxx
+++ b/chart2/source/view/axes/VAxisBase.hxx
@@ -39,7 +39,7 @@ public:
::com::sun::star::util::XNumberFormatsSupplier >& xNumberFormatsSupplier );
virtual ~VAxisBase();
- sal_Int32 getDimensionCount();
+ sal_Int32 getDimensionCount() { return m_nDimension;}
virtual void createMaximumLabels()=0;
virtual void createLabels()=0;
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index 8cf540b..e6fb154 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -87,13 +87,6 @@ double lcl_getTickOffset(sal_Int32 nLength,sal_Int32 nTickmarkStyle)
return fPercent*nLength;
}
-VLineProperties AxisProperties::makeLinePropertiesForDepth( sal_Int32 /* nDepth */ ) const
-{
- //@todo get this from somewhere; maybe for each subincrement
- //so far the model does not offer different settings for each tick depth
- return m_aLineProperties;
-}
-
TickmarkProperties AxisProperties::makeTickmarkProperties(
sal_Int32 nDepth ) const
{
diff --git a/chart2/source/view/axes/VAxisProperties.hxx b/chart2/source/view/axes/VAxisProperties.hxx
index 7da3d8a..bf4a508 100644
--- a/chart2/source/view/axes/VAxisProperties.hxx
+++ b/chart2/source/view/axes/VAxisProperties.hxx
@@ -147,7 +147,9 @@ private:
protected:
virtual TickmarkProperties makeTickmarkProperties( sal_Int32 nDepth ) const;
- VLineProperties makeLinePropertiesForDepth( sal_Int32 nDepth ) const;
+ //@todo get this from somewhere; maybe for each subincrement
+ //so far the model does not offer different settings for each tick depth
+ VLineProperties makeLinePropertiesForDepth( sal_Int32 /*nDepth*/ ) const { return m_aLineProperties; }
};
} //namespace chart
diff --git a/chart2/source/view/axes/VCoordinateSystem.cxx b/chart2/source/view/axes/VCoordinateSystem.cxx
index 205fd77..7415b3e 100644
--- a/chart2/source/view/axes/VCoordinateSystem.cxx
+++ b/chart2/source/view/axes/VCoordinateSystem.cxx
@@ -147,10 +147,6 @@ void VCoordinateSystem::setTransformationSceneToScreen(
}
}
-drawing::HomogenMatrix VCoordinateSystem::getTransformationSceneToScreen()
-{
- return m_aMatrixSceneToScreen;
-}
//better performance for big data
uno::Sequence< sal_Int32 > VCoordinateSystem::getCoordinateSystemResolution(
@@ -205,10 +201,6 @@ uno::Sequence< sal_Int32 > VCoordinateSystem::getCoordinateSystemResolution(
return aResolution;
}
-Reference< XCoordinateSystem > VCoordinateSystem::getModel() const
-{
- return m_xCooSysModel;
-}
Reference< XAxis > VCoordinateSystem::getAxisByDimension( sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex ) const
{
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index d04d3b0..3298271 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -675,10 +675,6 @@ void VDiagram::createShapes_3d()
adjustPosAndSize_3d( m_aAvailablePosIncludingAxes, m_aAvailableSizeIncludingAxes );
}
-uno::Reference< drawing::XShapes > VDiagram::getCoordinateRegion()
-{
- return uno::Reference<drawing::XShapes>( m_xCoordinateRegionShape, uno::UNO_QUERY );
-}
::basegfx::B2IRectangle VDiagram::getCurrentRectangle()
{
diff --git a/chart2/source/view/inc/3DChartObjects.hxx b/chart2/source/view/inc/3DChartObjects.hxx
index cc3d814..54b04fd 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -94,7 +94,7 @@ public:
Text(OpenGL3DRenderer* pRenderer, TextCache& rTextCache, const OUString& rStr, sal_uInt32 nId);
virtual void render() SAL_OVERRIDE;
- Size getSize() const;
+ Size getSize() const { return maText.maSize;}
void setPosition(const glm::vec3& rTopLeft, const glm::vec3& rTopRight, const glm::vec3& rBottomRight);
diff --git a/chart2/source/view/inc/PlottingPositionHelper.hxx b/chart2/source/view/inc/PlottingPositionHelper.hxx
index f2f81de..e355b27 100644
--- a/chart2/source/view/inc/PlottingPositionHelper.hxx
+++ b/chart2/source/view/inc/PlottingPositionHelper.hxx
@@ -50,7 +50,7 @@ public:
virtual void setTransformationSceneToScreen( const ::com::sun::star::drawing::HomogenMatrix& rMatrix);
virtual void setScales( const ::std::vector< ExplicitScaleData >& rScales, bool bSwapXAndYAxis );
- const ::std::vector< ExplicitScaleData >& getScales() const;
+ const ::std::vector< ExplicitScaleData >& getScales() const { return m_aScales;}
//better performance for big data
inline void setCoordinateSystemResolution( const ::com::sun::star::uno::Sequence< sal_Int32 >& rCoordinateSystemResolution );
@@ -155,7 +155,7 @@ public:
virtual void setTransformationSceneToScreen( const ::com::sun::star::drawing::HomogenMatrix& rMatrix) SAL_OVERRIDE;
virtual void setScales( const std::vector< ExplicitScaleData >& rScales, bool bSwapXAndYAxis ) SAL_OVERRIDE;
- ::basegfx::B3DHomMatrix getUnitCartesianToScene() const;
+ ::basegfx::B3DHomMatrix getUnitCartesianToScene() const { return m_aUnitCartesianToScene;}
virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XTransformation >
getTransformationScaledLogicToScene() const SAL_OVERRIDE;
diff --git a/chart2/source/view/inc/ScaleAutomatism.hxx b/chart2/source/view/inc/ScaleAutomatism.hxx
index 3845777..3518eb2 100644
--- a/chart2/source/view/inc/ScaleAutomatism.hxx
+++ b/chart2/source/view/inc/ScaleAutomatism.hxx
@@ -73,8 +73,8 @@ public:
ExplicitScaleData& rExplicitScale,
ExplicitIncrementData& rExplicitIncrement ) const;
- ::com::sun::star::chart2::ScaleData getScale() const;
- Date getNullDate() const;
+ ::com::sun::star::chart2::ScaleData getScale() const { return m_aSourceScale;}
+ Date getNullDate() const { return m_aNullDate;}
private:
/** Fills the passed scale data and increment data for category scaling. */
diff --git a/chart2/source/view/inc/VCoordinateSystem.hxx b/chart2/source/view/inc/VCoordinateSystem.hxx
index fa2ed6a..18c8c50 100644
--- a/chart2/source/view/inc/VCoordinateSystem.hxx
+++ b/chart2/source/view/inc/VCoordinateSystem.hxx
@@ -66,7 +66,7 @@ public:
void setParticle( const OUString& rCooSysParticle );
virtual void setTransformationSceneToScreen( const ::com::sun::star::drawing::HomogenMatrix& rMatrix );
- ::com::sun::star::drawing::HomogenMatrix getTransformationSceneToScreen();
+ ::com::sun::star::drawing::HomogenMatrix getTransformationSceneToScreen() { return m_aMatrixSceneToScreen;}
//better performance for big data
virtual ::com::sun::star::uno::Sequence< sal_Int32 > getCoordinateSystemResolution( const ::com::sun::star::awt::Size& rPageSize
@@ -97,7 +97,7 @@ public:
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem >
- getModel() const;
+ getModel() const { return m_xCooSysModel;}
virtual void createVAxisList(
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > & xNumberFormatsSupplier
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index 9aeaa9c..c62b45d 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -67,7 +67,7 @@ public:
~VDataSeries();
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries >
- getModel() const;
+ getModel() const { return m_xDataSeries;}
void setCategoryXAxis();
void setXValues( const ::com::sun::star::uno::Reference<
@@ -116,7 +116,7 @@ public:
getPropertiesOfPoint( sal_Int32 index ) const;
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
- getPropertiesOfSeries() const;
+ getPropertiesOfSeries() const { return css::uno::Reference<css::beans::XPropertySet>(m_xDataSeries, css::uno::UNO_QUERY );}
::com::sun::star::chart2::Symbol*
getSymbolProperties( sal_Int32 index ) const;
@@ -155,12 +155,12 @@ public:
//this is here for deep stacking:
double m_fLogicZPos;//from 0 to series count -1
- OUString getCID() const;
- OUString getSeriesParticle() const;
- OUString getPointCID_Stub() const;
+ OUString getCID() const { return m_aCID;}
+ OUString getSeriesParticle() const { return m_aSeriesParticle;}
+ OUString getPointCID_Stub() const { return m_aPointCID_Stub;}
OUString getErrorBarsCID( bool bYError ) const;
OUString getLabelsCID() const;
- OUString getLabelCID_Stub() const;
+ OUString getLabelCID_Stub() const { return m_aLabelCID_Stub;}
OUString getDataCurveCID( sal_Int32 nCurveIndex, bool bAverageLine ) const;
::com::sun::star::chart2::DataPointLabel*
diff --git a/chart2/source/view/inc/VDiagram.hxx b/chart2/source/view/inc/VDiagram.hxx
index 8baa337..ecf6cf2 100644
--- a/chart2/source/view/inc/VDiagram.hxx
+++ b/chart2/source/view/inc/VDiagram.hxx
@@ -52,7 +52,7 @@ public: //methods
, const ::com::sun::star::awt::Size& rSize );
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >
- getCoordinateRegion();
+ getCoordinateRegion() { return css::uno::Reference<css::drawing::XShapes>( m_xCoordinateRegionShape, css::uno::UNO_QUERY );}
::basegfx::B2IRectangle getCurrentRectangle();
diff --git a/chart2/source/view/main/3DChartObjects.cxx b/chart2/source/view/main/3DChartObjects.cxx
index 1cf0b49..1b962c6 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -111,10 +111,6 @@ void Text::render()
mnUniqueId);
}
-Size Text::getSize() const
-{
- return maText.maSize;
-}
void Text::setPosition(const glm::vec3& rTopLeft, const glm::vec3& rTopRight, const glm::vec3& rBottomRight)
{
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 12d9367..1880d7f 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -1191,10 +1191,6 @@ void DummyChart::clear()
maShapes.clear();
}
-TextCache& DummyChart::getTextCache()
-{
- return maTextCache;
-}
}
diff --git a/chart2/source/view/main/DummyXShape.hxx b/chart2/source/view/main/DummyXShape.hxx
index ddee02d..be1b86b 100644
--- a/chart2/source/view/main/DummyXShape.hxx
+++ b/chart2/source/view/main/DummyXShape.hxx
@@ -397,7 +397,7 @@ public:
virtual void render() SAL_OVERRIDE;
void clear();
- TextCache& getTextCache();
+ TextCache& getTextCache() { return maTextCache;}
private:
diff --git a/chart2/source/view/main/PlottingPositionHelper.cxx b/chart2/source/view/main/PlottingPositionHelper.cxx
index cfc496a..9c6a8ed 100644
--- a/chart2/source/view/main/PlottingPositionHelper.cxx
+++ b/chart2/source/view/main/PlottingPositionHelper.cxx
@@ -104,10 +104,6 @@ void PlottingPositionHelper::setScales( const std::vector< ExplicitScaleData >&
m_bSwapXAndY = bSwapXAndYAxis;
m_xTransformationLogicToScene = NULL;
}
-const std::vector< ExplicitScaleData >& PlottingPositionHelper::getScales() const
-{
- return m_aScales;
-}
uno::Reference< XTransformation > PlottingPositionHelper::getTransformationScaledLogicToScene() const
{
@@ -423,10 +419,6 @@ void PolarPlottingPositionHelper::setScales( const std::vector< ExplicitScaleDat
return aRet;
}
-::basegfx::B3DHomMatrix PolarPlottingPositionHelper::getUnitCartesianToScene() const
-{
- return m_aUnitCartesianToScene;
-}
uno::Reference< XTransformation > PolarPlottingPositionHelper::getTransformationScaledLogicToScene() const
{
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index 7354bd8..6fc0676 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -312,10 +312,6 @@ void VDataSeries::doSortByXValues()
}
}
-uno::Reference< XDataSeries > VDataSeries::getModel() const
-{
- return m_xDataSeries;
-}
void VDataSeries::releaseShapes()
{
@@ -370,18 +366,6 @@ void VDataSeries::setParticle( const OUString& rSeriesParticle )
m_aLabelCID_Stub = ObjectIdentifier::createClassifiedIdentifierWithParent(
OBJECTTYPE_DATA_LABEL, OUString(), getLabelsCID() );
}
-OUString VDataSeries::getSeriesParticle() const
-{
- return m_aSeriesParticle;
-}
-OUString VDataSeries::getCID() const
-{
- return m_aCID;
-}
-OUString VDataSeries::getPointCID_Stub() const
-{
- return m_aPointCID_Stub;
-}
OUString VDataSeries::getErrorBarsCID(bool bYError) const
{
OUString aChildParticle( ObjectIdentifier::getStringForType(
@@ -399,10 +383,6 @@ OUString VDataSeries::getLabelsCID() const
return ObjectIdentifier::createClassifiedIdentifierForParticles(
m_aSeriesParticle, aChildParticle );
}
-OUString VDataSeries::getLabelCID_Stub() const
-{
- return m_aLabelCID_Stub;
-}
OUString VDataSeries::getDataCurveCID( sal_Int32 nCurveIndex, bool bAverageLine ) const
{
OUString aRet;
@@ -910,10 +890,6 @@ uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfPoint( sal_Int
return this->getPropertiesOfSeries();
}
-uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfSeries() const
-{
- return uno::Reference<beans::XPropertySet>(m_xDataSeries, uno::UNO_QUERY );
-}
DataPointLabel* getDataPointLabelFromPropertySet( const uno::Reference< beans::XPropertySet >& xProp )
{
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx
index f632d38..f4f3185 100644
--- a/codemaker/source/codemaker/options.cxx
+++ b/codemaker/source/codemaker/options.cxx
@@ -31,10 +31,6 @@ Options::~Options()
}
-const OString& Options::getProgramName() const
-{
- return m_program;
-}
bool Options::isValid(const OString& option) const
{
diff --git a/codemaker/source/javamaker/javatype.cxx b/codemaker/source/javamaker/javatype.cxx
index f40b80f..40a1784 100644
--- a/codemaker/source/javamaker/javatype.cxx
+++ b/codemaker/source/javamaker/javatype.cxx
@@ -330,7 +330,7 @@ public:
OString getDescriptor() const;
- OString getSignature() const;
+ OString getSignature() const { return m_needsSignature ? m_signatureStart + m_signatureEnd : OString();}
private:
rtl::Reference< TypeManager > m_manager;
@@ -387,9 +387,6 @@ OString MethodDescriptor::getDescriptor() const {
return buf.makeStringAndClear();
}
-OString MethodDescriptor::getSignature() const {
- return m_needsSignature ? m_signatureStart + m_signatureEnd : OString();
-}
class TypeInfo {
public:
diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx b/comphelper/source/misc/stillreadwriteinteraction.cxx
index 10f1855..1ad24fa 100644
--- a/comphelper/source/misc/stillreadwriteinteraction.cxx
+++ b/comphelper/source/misc/stillreadwriteinteraction.cxx
@@ -63,10 +63,6 @@ void StillReadWriteInteraction::resetErrorStates()
m_bHandledByInternalHandler = false;
}
-bool StillReadWriteInteraction::wasWriteError()
-{
- return (m_bUsed && m_bHandledByMySelf);
-}
ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction::intercepted(const ::ucbhelper::InterceptedInteraction::InterceptedRequest& aRequest,
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >& xRequest)
diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx
index bda50a8..1f3bb28 100644
--- a/comphelper/source/property/propertysetinfo.cxx
+++ b/comphelper/source/property/propertysetinfo.cxx
@@ -40,7 +40,7 @@ public:
Sequence< Property > getProperties() throw();
- const PropertyMap* getPropertyMap() const throw();
+ const PropertyMap* getPropertyMap() const throw() { return &maPropertyMap;}
Property getPropertyByName( const OUString& aName ) throw( UnknownPropertyException );
bool hasPropertyByName( const OUString& aName ) throw();
@@ -121,10 +121,6 @@ Sequence< Property > PropertyMapImpl::getProperties() throw()
return maProperties;
}
-const PropertyMap* PropertyMapImpl::getPropertyMap() const throw()
-{
- return &maPropertyMap;
-}
Property PropertyMapImpl::getPropertyByName( const OUString& aName ) throw( UnknownPropertyException )
{
diff --git a/compilerplugins/clang/inlinesimplememberfunctions.cxx b/compilerplugins/clang/inlinesimplememberfunctions.cxx
index 0d4428c..7fa43a4 100644
--- a/compilerplugins/clang/inlinesimplememberfunctions.cxx
+++ b/compilerplugins/clang/inlinesimplememberfunctions.cxx
@@ -65,6 +65,12 @@ bool InlineSimpleMemberFunctions::VisitCXXMethodDecl(const CXXMethodDecl * funct
if( functionDecl->isInlineSpecified()) {
return true;
}
+ if( functionDecl->getCanonicalDecl()->isInlineSpecified()) {
+ return true;
+ }
+ if( functionDecl->getNameAsString().find("Impl") != std::string::npos) {
+ return true;
+ }
// ignore stuff that forms part of the stable URE interface
if (isInUnoIncludeFile(compiler.getSourceManager().getSpellingLoc(
functionDecl->getCanonicalDecl()->getNameInfo().getLoc()))) {
@@ -146,69 +152,67 @@ bool InlineSimpleMemberFunctions::VisitCXXMethodDecl(const CXXMethodDecl * funct
}
}
- /* look for a chain like:
+ /* look for a chains like:
CompoundStmt
ReturnStmt
- ImplicitCastExpr
- MemberExpr
- CXXThisExpr
+ stuff
+ CXXThisExpr
*/
childStmt = *(*compoundStmt->child_begin())->child_begin();
while (1) {
- if (! oneAndOnlyOne( childStmt->children() ))
+ if (dyn_cast<CallExpr>( childStmt ) != nullptr)
+ return true;
+ if (dyn_cast<CXXNewExpr>( childStmt ) != nullptr)
+ return true;
+ if (dyn_cast<CXXConstructExpr>( childStmt ) != nullptr)
+ return true;
+ if (dyn_cast<ConditionalOperator>( childStmt ) != nullptr)
+ return true;
+ if (dyn_cast<BinaryOperator>( childStmt ) != nullptr)
return true;
+ // exclude methods that return fields on incomplete types .e.g the pImpl pattern
+ const MemberExpr* memberExpr = dyn_cast<MemberExpr>( childStmt );
+ if (memberExpr != nullptr && memberExpr->getMemberDecl()) {
+ const FieldDecl* fieldDecl = dyn_cast<FieldDecl>(memberExpr->getMemberDecl());
+ if (fieldDecl != nullptr)
+ {
+ // yes, a little bit of a hack. However, it is quite hard to determine if the method
+ // in question is accessing a field via a pImpl pattern.
+ if (fieldDecl->getType()->isIncompleteType())
+ return true;
+ if (fieldDecl->getNameAsString().find("Impl") != std::string::npos)
+ return true;
+ if (fieldDecl->getNameAsString().find("pImp") != std::string::npos)
+ return true;
+ // somewhere in VCL
+ if (fieldDecl->getNameAsString().find("mpGlobalSyncData") != std::string::npos)
+ return true;
+ std::string s = fieldDecl->getType().getAsString();
+ if (s.find("Impl") != std::string::npos || s.find("pImp") != std::string::npos || s.find("Internal") != std::string::npos)
+ return true;
+ }
+ }
if (dyn_cast<CXXThisExpr>( childStmt ) != nullptr) {
-
- compoundStmt->dump();
- if (!rewrite(functionDecl))
- {
- report(
- DiagnosticsEngine::Warning,
- "inlinesimpleaccessmethods",
- functionDecl->getSourceRange().getBegin())
- << functionDecl->getSourceRange();
- // display the location of the class member declaration
- report(
- DiagnosticsEngine::Note,
- "inlinesimpleaccessmethods",
- functionDecl->getCanonicalDecl()->getSourceRange().getBegin())
- << functionDecl->getCanonicalDecl()->getSourceRange();
+ if (!rewrite(functionDecl))
+ {
+ report(
+ DiagnosticsEngine::Warning,
+ "inlinesimpleaccessmethods",
+ functionDecl->getSourceRange().getBegin())
+ << functionDecl->getSourceRange();
+ // display the location of the class member declaration so I don't have to search for it by hand
+ report(
+ DiagnosticsEngine::Note,
+ "inlinesimpleaccessmethods",
+ functionDecl->getCanonicalDecl()->getSourceRange().getBegin())
+ << functionDecl->getCanonicalDecl()->getSourceRange();
}
return true;
}
+ if ( childStmt->children().empty() )
+ return true;
childStmt = *childStmt->child_begin();
}
-/*
- if (dyn_cast<ImplicitCastExpr>( childStmt ) != nullptr
- && oneAndOnlyOne( childStmt->children() ))
- {
- const Stmt* childStmt2 = *childStmt->child_begin();
- if (dyn_cast<MemberExpr>( childStmt2 ) != nullptr
- && oneAndOnlyOne(childStmt2->children()))
- {
- childStmt2 = *childStmt2->child_begin();
- if (dyn_cast<CXXThisExpr>( childStmt2 ) != nullptr
- && childStmt2->children().empty())
- {
- if (!rewrite(functionDecl))
- {
- report(
- DiagnosticsEngine::Warning,
- "inlinesimpleaccessmethods",
- functionDecl->getSourceRange().getBegin())
- << functionDecl->getSourceRange();
- // display the location of the class member declaration
- report(
- DiagnosticsEngine::Note,
- "inlinesimpleaccessmethods",
- functionDecl->getCanonicalDecl()->getSourceRange().getBegin())
- << functionDecl->getCanonicalDecl()->getSourceRange();
- }
- return true;
- }
- }
- }
-*/
return true;
}
@@ -287,7 +291,7 @@ bool InlineSimpleMemberFunctions::rewrite(const CXXMethodDecl * functionDecl) {
s1 = ReplaceString(s1, " ", " ");
s1 = " " + s1;
- // scan from the end of the functions body through the whitespace, so we can do a nice clean remove
+ // scan from the end of the function's body through the trailing whitespace, so we can do a nice clean remove
// commented out because for some reason it will sometimes chomp an extra token
// SourceLocation endOfRemoveLoc = functionDecl->getBody()->getLocEnd();
// for (;;) {
@@ -314,7 +318,7 @@ bool InlineSimpleMemberFunctions::rewrite(const CXXMethodDecl * functionDecl) {
return replaceText(canonicalDecl->getLocEnd().getLocWithOffset(p2 - p1 + 1), 1, s1);
}
-loplugin::Plugin::Registration< InlineSimpleMemberFunctions > X("inlinesimplememberfunctions", true);
+loplugin::Plugin::Registration< InlineSimpleMemberFunctions > X("inlinesimplememberfunctions");
}
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 7a3dcc4..665b3cd 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -1371,9 +1371,6 @@ css::uno::Any Access::queryInterface(css::uno::Type const & aType)
return res;
}
-Components & Access::getComponents() const {
- return components_;
-}
void Access::checkLocalizedPropertyAccess() {
if (getNode()->kind() == Node::KIND_LOCALIZED_PROPERTY &&
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx
index a91312f..4dbc14e 100644
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -448,7 +448,7 @@ protected:
com::sun::star::uno::Type const & aType)
throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- Components & getComponents() const;
+ Components & getComponents() const { return components_;}
void checkLocalizedPropertyAccess();
diff --git a/configmgr/source/localizedvaluenode.cxx b/configmgr/source/localizedvaluenode.cxx
index f27f3a5..27b977d 100644
--- a/configmgr/source/localizedvaluenode.cxx
+++ b/configmgr/source/localizedvaluenode.cxx
@@ -41,9 +41,6 @@ OUString LocalizedValueNode::getTemplateName() const {
return OUString("*");
}
-css::uno::Any LocalizedValueNode::getValue() const {
- return value_;
-}
void LocalizedValueNode::setValue(int layer, css::uno::Any const & value) {
setLayer(layer);
diff --git a/configmgr/source/localizedvaluenode.hxx b/configmgr/source/localizedvaluenode.hxx
index 403a180..08635f8 100644
--- a/configmgr/source/localizedvaluenode.hxx
+++ b/configmgr/source/localizedvaluenode.hxx
@@ -38,7 +38,7 @@ public:
virtual OUString getTemplateName() const SAL_OVERRIDE;
- com::sun::star::uno::Any getValue() const;
+ com::sun::star::uno::Any getValue() const { return value_;}
void setValue(int layer, com::sun::star::uno::Any const & value);
diff --git a/configmgr/source/modifications.cxx b/configmgr/source/modifications.cxx
index bd711f7..6b8cdf6 100644
--- a/configmgr/source/modifications.cxx
+++ b/configmgr/source/modifications.cxx
@@ -73,9 +73,6 @@ void Modifications::remove(Path const & path) {
}
}
-Modifications::Node const & Modifications::getRoot() const {
- return root_;
-}
}
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx
index 33bddad..0521da5 100644
--- a/configmgr/source/modifications.hxx
+++ b/configmgr/source/modifications.hxx
@@ -46,7 +46,7 @@ public:
void remove(Path const & path);
- Node const & getRoot() const;
+ Node const & getRoot() const { return root_;}
private:
Node root_;
diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx
index 8951dcd..09ed9b0 100644
--- a/configmgr/source/rootaccess.cxx
+++ b/configmgr/source/rootaccess.cxx
@@ -106,9 +106,6 @@ OUString RootAccess::getAbsolutePathRepresentation() {
return pathRepresentation_;
}
-OUString RootAccess::getLocale() const {
- return locale_;
-}
void RootAccess::setAlive(bool b) {
diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx
index 6583cea..4e300a7 100644
--- a/configmgr/source/rootaccess.hxx
+++ b/configmgr/source/rootaccess.hxx
@@ -73,7 +73,7 @@ public:
OUString getAbsolutePathRepresentation();
- OUString getLocale() const;
+ OUString getLocale() const { return locale_;}
bool isUpdate() const { return update_;}
diff --git a/configmgr/source/setnode.cxx b/configmgr/source/setnode.cxx
index 76329a0..d00253b 100644
--- a/configmgr/source/setnode.cxx
+++ b/configmgr/source/setnode.cxx
@@ -80,13 +80,7 @@ int SetNode::getMandatory() const {
return mandatory_;
}
-OUString const & SetNode::getDefaultTemplateName() const {
- return defaultTemplateName_;
-}
-std::vector< OUString > & SetNode::getAdditionalTemplateNames() {
- return additionalTemplateNames_;
-}
bool SetNode::isValidTemplate(OUString const & templateName) const {
return Data::equalTemplateNames(templateName, defaultTemplateName_) ||
diff --git a/configmgr/source/setnode.hxx b/configmgr/source/setnode.hxx
index 91dd700..92774b3 100644
--- a/configmgr/source/setnode.hxx
+++ b/configmgr/source/setnode.hxx
@@ -48,9 +48,9 @@ public:
virtual int getMandatory() const SAL_OVERRIDE;
- OUString const & getDefaultTemplateName() const;
+ OUString const & getDefaultTemplateName() const { return defaultTemplateName_;}
- std::vector< OUString > & getAdditionalTemplateNames();
+ std::vector< OUString > & getAdditionalTemplateNames() { return additionalTemplateNames_;}
bool isValidTemplate(OUString const & templateName) const;
diff --git a/connectivity/source/drivers/mork/MNSProfileDiscover.cxx b/connectivity/source/drivers/mork/MNSProfileDiscover.cxx
index 80090c37..7622c80 100644
--- a/connectivity/source/drivers/mork/MNSProfileDiscover.cxx
+++ b/connectivity/source/drivers/mork/MNSProfileDiscover.cxx
@@ -35,10 +35,6 @@ namespace connectivity
profileName = aProfileName;
profilePath = aProfilePath;
}
- OUString ProfileStruct::getProfilePath()
- {
- return profilePath;
- }
ProfileAccess::~ProfileAccess()
{
diff --git a/connectivity/source/drivers/mork/MNSProfileDiscover.hxx b/connectivity/source/drivers/mork/MNSProfileDiscover.hxx
index 3680609..8f01131 100644
--- a/connectivity/source/drivers/mork/MNSProfileDiscover.hxx
+++ b/connectivity/source/drivers/mork/MNSProfileDiscover.hxx
@@ -47,7 +47,7 @@ namespace connectivity
);
MozillaProductType getProductType() { return product;}
OUString getProfileName(){ return profileName;}
- OUString getProfilePath() ;
+ OUString getProfilePath() { return profilePath; }
protected:
MozillaProductType product;
OUString profileName;
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx
index e408e49..031b9e7 100644
--- a/cppcanvas/source/inc/canvasgraphichelper.hxx
+++ b/cppcanvas/source/inc/canvasgraphichelper.hxx
@@ -58,8 +58,8 @@ namespace cppcanvas
protected:
// for our clients
// ===============
- CanvasSharedPtr getCanvas() const;
- ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice > getGraphicDevice() const;
+ CanvasSharedPtr getCanvas() const { return mpCanvas; }
+ ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XGraphicDevice > getGraphicDevice() const { return mxGraphicDevice; }
const ::com::sun::star::rendering::RenderState& getRenderState() const;
private:
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx
index 562be97..43231ed 100644
--- a/cppcanvas/source/tools/canvasgraphichelper.cxx
+++ b/cppcanvas/source/tools/canvasgraphichelper.cxx
@@ -115,15 +115,7 @@ namespace cppcanvas
return static_cast<CompositeOp>(maRenderState.CompositeOperation);
}
- CanvasSharedPtr CanvasGraphicHelper::getCanvas() const
- {
- return mpCanvas;
- }
- uno::Reference< rendering::XGraphicDevice > CanvasGraphicHelper::getGraphicDevice() const
- {
- return mxGraphicDevice;
- }
}
}
diff --git a/cppcanvas/source/wrapper/implspritecanvas.cxx b/cppcanvas/source/wrapper/implspritecanvas.cxx
index 7870178..9138d1d 100644
--- a/cppcanvas/source/wrapper/implspritecanvas.cxx
+++ b/cppcanvas/source/wrapper/implspritecanvas.cxx
@@ -42,10 +42,6 @@ namespace cppcanvas
maTransformation = rViewTransform;
}
- ::basegfx::B2DHomMatrix ImplSpriteCanvas::TransformationArbiter::getTransformation() const
- {
- return maTransformation;
- }
ImplSpriteCanvas::ImplSpriteCanvas( const uno::Reference< rendering::XSpriteCanvas >& rCanvas ) :
diff --git a/cppcanvas/source/wrapper/implspritecanvas.hxx b/cppcanvas/source/wrapper/implspritecanvas.hxx
index 8a0223e..c61bcd8 100644
--- a/cppcanvas/source/wrapper/implspritecanvas.hxx
+++ b/cppcanvas/source/wrapper/implspritecanvas.hxx
@@ -71,7 +71,7 @@ namespace cppcanvas
TransformationArbiter();
void setTransformation( const ::basegfx::B2DHomMatrix& rViewTransform );
- ::basegfx::B2DHomMatrix getTransformation() const;
+ ::basegfx::B2DHomMatrix getTransformation() const { return maTransformation; }
private:
::basegfx::B2DHomMatrix maTransformation;
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index eaa041e..f23c8e1 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -112,10 +112,6 @@ SvxCharacterMap::~SvxCharacterMap()
-const Font& SvxCharacterMap::GetCharFont() const
-{
- return aFont;
-}
diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx
index 09211e8..8af1b91 100644
--- a/cui/source/inc/cuicharmap.hxx
+++ b/cui/source/inc/cuicharmap.hxx
@@ -102,7 +102,7 @@ public:
void DisableFontSelection();
- const Font& GetCharFont() const;
+ const Font& GetCharFont() const { return aFont;}
void SetCharFont( const Font& rFont );
void SetChar( sal_UCS4 );
diff --git a/cui/source/inc/radiobtnbox.hxx b/cui/source/inc/radiobtnbox.hxx
index ad81283..1688bcd 100644
--- a/cui/source/inc/radiobtnbox.hxx
+++ b/cui/source/inc/radiobtnbox.hxx
@@ -43,7 +43,7 @@ public:
void HandleEntryChecked( SvTreeListEntry* _pEntry );
- const Point& GetCurMousePoint() const;
+ const Point& GetCurMousePoint() const { return m_aCurMousePoint;}
long GetControlColumnWidth() const;
};
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index 8e755a4..8c10a9e 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -313,15 +313,7 @@ void SvxChartColorTableItem::SetOptions( SvxChartOptions* pOpts ) const
}
-SvxChartColorTable & SvxChartColorTableItem::GetColorList()
-{
- return m_aColorTable;
-}
-const SvxChartColorTable & SvxChartColorTableItem::GetColorList() const
-{
- return m_aColorTable;
-}
void SvxChartColorTableItem::ReplaceColorByIndex( size_t _nIndex, const XColorEntry & _rEntry )
{
diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx
index 0a0ad21..fdfc06f 100644
--- a/cui/source/options/cfgchart.hxx
+++ b/cui/source/options/cfgchart.hxx
@@ -97,8 +97,8 @@ public:
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
void SetOptions( SvxChartOptions* pOpts ) const;
- const SvxChartColorTable & GetColorList() const ;
- SvxChartColorTable & GetColorList();
+ const SvxChartColorTable & GetColorList() const { return m_aColorTable;}
+ SvxChartColorTable & GetColorList() { return m_aColorTable;}
void ReplaceColorByIndex( size_t _nIndex, const XColorEntry & _rEntry );
private:
diff --git a/cui/source/options/radiobtnbox.cxx b/cui/source/options/radiobtnbox.cxx
index fd7de8f..7830cbe 100644
--- a/cui/source/options/radiobtnbox.cxx
+++ b/cui/source/options/radiobtnbox.cxx
@@ -84,10 +84,6 @@ void SvxRadioButtonListBox::HandleEntryChecked( SvTreeListEntry* _pEntry )
SetCheckButtonState( _pEntry, SV_BUTTON_CHECKED );
}
-const Point& SvxRadioButtonListBox::GetCurMousePoint() const
-{
- return m_aCurMousePoint;
-}
long SvxRadioButtonListBox::GetControlColumnWidth() const
{
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index 0bcf4c7..5192dee 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -470,10 +470,6 @@ void ORowSetCache::setFetchSize(sal_Int32 _nSize)
}
// XResultSetMetaDataSupplier
-Reference< XResultSetMetaData > ORowSetCache::getMetaData( )
-{
- return m_xMetaData;
-}
static Any lcl_getBookmark(ORowSetValue& i_aValue,OCacheSet* i_pCacheSet)
{
diff --git a/dbaccess/source/core/api/RowSetCache.hxx b/dbaccess/source/core/api/RowSetCache.hxx
index ab48003..16912ac 100644
--- a/dbaccess/source/core/api/RowSetCache.hxx
+++ b/dbaccess/source/core/api/RowSetCache.hxx
@@ -157,7 +157,7 @@ namespace dbaccess
void deregisterOldRow(const TORowSetOldRowHelperRef& _rRow);
// ::com::sun::star::sdbc::XResultSetMetaDataSupplier
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > getMetaData( );
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > getMetaData( ) { return m_xMetaData;}
// ::com::sun::star::sdbcx::XRowLocate
::com::sun::star::uno::Any getBookmark( );
diff --git a/dbaccess/source/core/misc/dsntypes.cxx b/dbaccess/source/core/misc/dsntypes.cxx
index 7524ff2..4f7dfaf 100644
--- a/dbaccess/source/core/misc/dsntypes.cxx
+++ b/dbaccess/source/core/misc/dsntypes.cxx
@@ -317,15 +317,7 @@ OUString ODsnTypeCollection::getEmbeddedDatabase() const
return sEmbeddedDatabaseURL;
}
-ODsnTypeCollection::TypeIterator ODsnTypeCollection::begin() const
-{
- return TypeIterator(this, 0);
-}
-ODsnTypeCollection::TypeIterator ODsnTypeCollection::end() const
-{
- return TypeIterator(this, m_aDsnTypesDisplayNames.size());
-}
DATASOURCE_TYPE ODsnTypeCollection::determineType(const OUString& _rDsn) const
{
diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx
index d1fd9aa..5ca8c83 100644
--- a/dbaccess/source/inc/dsntypes.hxx
+++ b/dbaccess/source/inc/dsntypes.hxx
@@ -172,9 +172,9 @@ public:
getDefaultDBSettings( const OUString& _sURL ) const;
/// get access to the first element of the types collection
- TypeIterator begin() const;
+ inline TypeIterator begin() const;
/// get access to the (last + 1st) element of the types collection
- TypeIterator end() const;
+ inline TypeIterator end() const;
void fillPageIds(const OUString& _sURL,::std::vector<sal_Int16>& _rOutPathIds) const;
@@ -220,6 +220,10 @@ protected:
TypeIterator(const ODsnTypeCollection* _pContainer, sal_Int32 _nInitialPos = 0);
};
+
+inline ODsnTypeCollection::TypeIterator ODsnTypeCollection::begin() const { return ODsnTypeCollection::TypeIterator(this, 0);}
+inline ODsnTypeCollection::TypeIterator ODsnTypeCollection::end() const { return ODsnTypeCollection::TypeIterator(this, m_aDsnTypesDisplayNames.size());}
+
} // namespace dbaccess
#endif // INCLUDED_DBACCESS_SOURCE_INC_DSNTYPES_HXX
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx
index 9ddfd7b..379e0a2 100644
--- a/dbaccess/source/ui/dlg/CollectionView.cxx
+++ b/dbaccess/source/ui/dlg/CollectionView.cxx
@@ -102,10 +102,6 @@ OCollectionView::~OCollectionView( )
{
}
-Reference< XContent> OCollectionView::getSelectedFolder() const
-{
- return m_xContent;
-}
IMPL_LINK_NOARG(OCollectionView, Save_Click)
{
diff --git a/dbaccess/source/ui/inc/CollectionView.hxx b/dbaccess/source/ui/inc/CollectionView.hxx
index 85fcaf8..26dca92 100644
--- a/dbaccess/source/ui/inc/CollectionView.hxx
+++ b/dbaccess/source/ui/inc/CollectionView.hxx
@@ -65,7 +65,7 @@ namespace dbaui
,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
virtual ~OCollectionView();
- ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent> getSelectedFolder() const;
+ ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent> getSelectedFolder() const { return m_xContent;}
OUString getName() const;
};
} // namespace dbaui
diff --git a/dbaccess/source/ui/inc/FieldDescriptions.hxx b/dbaccess/source/ui/inc/FieldDescriptions.hxx
index 73cc8e3..14c542f 100644
--- a/dbaccess/source/ui/inc/FieldDescriptions.hxx
+++ b/dbaccess/source/ui/inc/FieldDescriptions.hxx
@@ -102,7 +102,7 @@ namespace dbaui
sal_Int32 GetIsNullable() const;
sal_Int32 GetFormatKey() const;
SvxCellHorJustify GetHorJustify() const;
- TOTypeInfoSP getTypeInfo() const;
+ TOTypeInfoSP getTypeInfo() const { return m_pType;}
TOTypeInfoSP getSpecialTypeInfo() const;
bool IsAutoIncrement() const;
bool IsPrimaryKey() const { return m_bIsPrimaryKey;}
diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
index 8922c95..65fb772 100644
--- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
+++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
@@ -577,10 +577,6 @@ SvxCellHorJustify OFieldDescription::GetHorJustify() const
return m_eHorJustify;
}
-TOTypeInfoSP OFieldDescription::getTypeInfo() const
-{
- return m_pType;
-}
TOTypeInfoSP OFieldDescription::getSpecialTypeInfo() const
{
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 35e93e6..5f98e07 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -634,10 +634,6 @@ void CommandLineArgs::InitParamValues()
-OUString CommandLineArgs::GetUnknown() const
-{
- return m_unknown;
-}
bool CommandLineArgs::HasModuleParam() const
{
@@ -646,15 +642,7 @@ bool CommandLineArgs::HasModuleParam() const
}
-std::vector< OUString > const & CommandLineArgs::GetAccept() const
-{
- return m_accept;
-}
-std::vector< OUString > const & CommandLineArgs::GetUnaccept() const
-{
- return m_unaccept;
-}
std::vector< OUString > CommandLineArgs::GetOpenList() const
{
@@ -691,30 +679,14 @@ std::vector< OUString > CommandLineArgs::GetPrintToList() const
return translateExternalUris(m_printtolist);
}
-OUString CommandLineArgs::GetPrinterName() const
-{
- return m_printername;
-}
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list