[Libreoffice-commits] core.git: 2 commits - basctl/source basic/source canvas/source chart2/inc chart2/source codemaker/source compilerplugins/clang configmgr/source cui/source dbaccess/source desktop/source editeng/source extensions/source filter/source forms/source formula/source fpicker/source framework/inc framework/source helpcompiler/inc helpcompiler/source hwpfilter/source i18nlangtag/source idlc/inc idlc/source include/basic include/canvas include/codemaker include/editeng include/formula include/helpcompiler include/i18nlangtag include/jvmaccess include/oox include/package include/sfx2 include/svl include/svx include/tools include/unotools include/vcl include/xmloff jvmaccess/source jvmfwk/plugins jvmfwk/source l10ntools/inc l10ntools/source lotuswordpro/source oox/source package/source reportdesign/source sc/inc scripting/source sc/source sdext/source sd/inc sd/source sfx2/source shell/inc shell/source slideshow/source svl/source svx/inc svx/source sw/inc sw/source tools/source ucb/sour ce UnoControls/inc UnoControls/source unotools/source vcl/generic vcl/inc vcl/source writerfilter/source xmlhelp/source xmloff/source xmlsecurity/source
Noel Grandin
noel at peralex.com
Mon Jun 9 01:11:06 PDT 2014
UnoControls/inc/basecontrol.hxx | 4
UnoControls/source/base/basecontrol.cxx | 14 -
basctl/source/basicide/baside2.hxx | 2
basctl/source/basicide/baside2b.cxx | 4
basctl/source/basicide/linenumberwindow.cxx | 4
basctl/source/basicide/linenumberwindow.hxx | 2
basctl/source/dlged/dlged.cxx | 4
basctl/source/inc/dlged.hxx | 2
basic/source/classes/sbxmod.cxx | 4
basic/source/comp/parser.cxx | 4
basic/source/inc/parser.hxx | 2
basic/source/inc/runtime.hxx | 2
basic/source/runtime/runtime.cxx | 7
basic/source/sbx/sbxarray.cxx | 4
basic/source/sbx/sbxvar.cxx | 4
canvas/source/cairo/cairo_canvashelper.cxx | 4
canvas/source/cairo/cairo_canvashelper.hxx | 2
canvas/source/cairo/cairo_spritedevicehelper.cxx | 4
canvas/source/cairo/cairo_spritedevicehelper.hxx | 2
canvas/source/tools/canvascustomspritehelper.cxx | 4
chart2/inc/ChartModel.hxx | 4
chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx | 4
chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx | 2
chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx | 4
chart2/source/controller/dialogs/DataBrowser.cxx | 26 --
chart2/source/controller/dialogs/DataBrowser.hxx | 4
chart2/source/controller/dialogs/dlg_CreationWizard.cxx | 5
chart2/source/controller/dialogs/dlg_ObjectProperties.cxx | 76 ------
chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx | 4
chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx | 2
chart2/source/controller/inc/ChartDocumentWrapper.hxx | 2
chart2/source/controller/inc/dlg_CreationWizard.hxx | 2
chart2/source/controller/inc/dlg_ObjectProperties.hxx | 40 +--
chart2/source/inc/ExplicitCategoriesProvider.hxx | 2
chart2/source/inc/InternalData.hxx | 4
chart2/source/inc/LifeTime.hxx | 2
chart2/source/inc/NumberFormatterWrapper.hxx | 2
chart2/source/inc/ReferenceSizeProvider.hxx | 2
chart2/source/model/main/ChartModel.cxx | 8
chart2/source/model/template/StockDataInterpreter.cxx | 4
chart2/source/model/template/StockDataInterpreter.hxx | 2
chart2/source/tools/ExplicitCategoriesProvider.cxx | 4
chart2/source/tools/InternalData.cxx | 8
chart2/source/tools/LifeTime.cxx | 4
chart2/source/tools/NumberFormatterWrapper.cxx | 4
chart2/source/tools/ReferenceSizeProvider.cxx | 4
chart2/source/view/charttypes/VSeriesPlotter.cxx | 4
chart2/source/view/inc/VDataSeries.hxx | 14 -
chart2/source/view/inc/VSeriesPlotter.hxx | 2
chart2/source/view/main/DummyXShape.cxx | 4
chart2/source/view/main/DummyXShape.hxx | 2
chart2/source/view/main/VDataSeries.cxx | 28 --
codemaker/source/codemaker/options.cxx | 4
compilerplugins/clang/inlinesimplememberfunctions.cxx | 13 +
configmgr/source/access.cxx | 3
configmgr/source/access.hxx | 2
configmgr/source/groupnode.cxx | 3
configmgr/source/groupnode.hxx | 2
configmgr/source/localizedpropertynode.cxx | 6
configmgr/source/localizedpropertynode.hxx | 4
configmgr/source/node.cxx | 6
configmgr/source/node.hxx | 4
configmgr/source/propertynode.cxx | 9
configmgr/source/propertynode.hxx | 6
configmgr/source/rootaccess.cxx | 3
configmgr/source/rootaccess.hxx | 2
configmgr/source/valueparser.cxx | 3
configmgr/source/valueparser.hxx | 2
cui/source/customize/cfg.cxx | 4
cui/source/dialogs/colorpicker.cxx | 12 -
cui/source/dialogs/thesdlg.cxx | 4
cui/source/inc/cfg.hxx | 2
cui/source/inc/thesdlg.hxx | 2
dbaccess/source/core/api/RowSetCache.cxx | 8
dbaccess/source/core/api/RowSetCache.hxx | 4
dbaccess/source/ui/app/AppDetailPageHelper.cxx | 4
dbaccess/source/ui/app/AppDetailPageHelper.hxx | 2
dbaccess/source/ui/app/AppView.cxx | 8
dbaccess/source/ui/app/AppView.hxx | 4
dbaccess/source/ui/control/sqledit.cxx | 8
dbaccess/source/ui/inc/FieldDescriptions.hxx | 4
dbaccess/source/ui/inc/WCopyTable.hxx | 4
dbaccess/source/ui/inc/sqledit.hxx | 5
dbaccess/source/ui/misc/WCopyTable.cxx | 8
dbaccess/source/ui/tabledesign/FieldDescriptions.cxx | 8
dbaccess/source/ui/tabledesign/TEditControl.cxx | 4
dbaccess/source/ui/tabledesign/TEditControl.hxx | 2
desktop/source/app/cmdlineargs.cxx | 120 ----------
desktop/source/app/cmdlineargs.hxx | 60 ++---
desktop/source/deployment/misc/dp_descriptioninfoset.cxx | 6
desktop/source/migration/services/jvmfwk.cxx | 6
editeng/source/accessibility/AccessibleEditableTextPara.cxx | 12 -
editeng/source/accessibility/AccessibleImageBullet.cxx | 10
editeng/source/editeng/editdoc.cxx | 4
editeng/source/editeng/editdoc.hxx | 2
editeng/source/editeng/editobj.cxx | 12 -
editeng/source/editeng/editobj2.hxx | 6
editeng/source/editeng/editundo.cxx | 4
editeng/source/items/flditem.cxx | 4
editeng/source/items/numitem.cxx | 20 -
editeng/source/uno/unoedhlp.cxx | 8
editeng/source/uno/unoedprx.cxx | 4
extensions/source/propctrlr/commoncontrol.cxx | 8
extensions/source/propctrlr/commoncontrol.hxx | 4
extensions/source/propctrlr/propertyeditor.cxx | 4
extensions/source/propctrlr/propertyeditor.hxx | 2
extensions/source/scanner/sanedlg.cxx | 4
extensions/source/scanner/sanedlg.hxx | 2
filter/source/graphicfilter/icgm/bitmap.cxx | 4
filter/source/graphicfilter/icgm/bitmap.hxx | 2
filter/source/graphicfilter/icgm/bundles.cxx | 4
filter/source/graphicfilter/icgm/bundles.hxx | 2
filter/source/msfilter/eschesdo.cxx | 4
filter/source/msfilter/eschesdo.hxx | 2
filter/source/xsltdialog/xmlfiltersettingsdialog.cxx | 4
filter/source/xsltdialog/xmlfiltersettingsdialog.hxx | 2
filter/source/xsltdialog/xmlfiltertabdialog.cxx | 4
filter/source/xsltdialog/xmlfiltertabdialog.hxx | 2
forms/source/richtext/richtextviewport.cxx | 4
forms/source/richtext/richtextviewport.hxx | 2
forms/source/xforms/computedexpression.cxx | 6
forms/source/xforms/computedexpression.hxx | 2
forms/source/xforms/mip.cxx | 9
forms/source/xforms/mip.hxx | 18 -
forms/source/xforms/model.cxx | 8
forms/source/xforms/model.hxx | 4
forms/source/xforms/submission.cxx | 12 -
forms/source/xforms/submission.hxx | 6
formula/source/core/api/vectortoken.cxx | 4
formula/source/ui/dlg/parawin.cxx | 4
formula/source/ui/dlg/parawin.hxx | 2
formula/source/ui/dlg/structpg.cxx | 4
formula/source/ui/dlg/structpg.hxx | 2
fpicker/source/office/PlacesListBox.cxx | 6
fpicker/source/office/PlacesListBox.hxx | 4
fpicker/source/office/fpinteraction.cxx | 4
fpicker/source/office/fpinteraction.hxx | 2
framework/inc/uielement/toolbarsmenucontroller.hxx | 2
framework/source/layoutmanager/toolbarlayoutmanager.cxx | 4
framework/source/layoutmanager/toolbarlayoutmanager.hxx | 2
framework/source/uielement/toolbarsmenucontroller.cxx | 4
helpcompiler/inc/BasCodeTagger.hxx | 2
helpcompiler/source/BasCodeTagger.cxx | 4
helpcompiler/source/HelpIndexer.cxx | 3
hwpfilter/source/hpara.cxx | 4
hwpfilter/source/hpara.h | 2
hwpfilter/source/hwpfile.cxx | 4
hwpfilter/source/hwpfile.h | 2
i18nlangtag/source/languagetag/languagetag.cxx | 4
idlc/inc/idlc/aststack.hxx | 2
idlc/source/aststack.cxx | 4
include/basic/sbmod.hxx | 2
include/basic/sbx.hxx | 2
include/basic/sbxvar.hxx | 2
include/canvas/base/canvascustomspritehelper.hxx | 2
include/codemaker/options.hxx | 2
include/editeng/AccessibleEditableTextPara.hxx | 6
include/editeng/AccessibleImageBullet.hxx | 4
include/editeng/editund2.hxx | 2
include/editeng/flditem.hxx | 2
include/editeng/numitem.hxx | 10
include/editeng/unoedhlp.hxx | 4
include/editeng/unoedprx.hxx | 2
include/formula/vectortoken.hxx | 2
include/helpcompiler/HelpIndexer.hxx | 2
include/i18nlangtag/languagetag.hxx | 2
include/jvmaccess/unovirtualmachine.hxx | 2
include/oox/drawingml/chart/typegroupconverter.hxx | 2
include/oox/drawingml/shape.hxx | 4
include/oox/helper/storagebase.hxx | 2
include/package/Deflater.hxx | 2
include/package/Inflater.hxx | 4
include/sfx2/dinfdlg.hxx | 4
include/sfx2/recentdocsview.hxx | 2
include/sfx2/templateabstractview.hxx | 2
include/svl/int64item.hxx | 2
include/svl/sharedstring.hxx | 4
include/svl/style.hxx | 4
include/svx/AccessibleShapeTreeInfo.hxx | 6
include/svx/ctredlin.hxx | 8
include/svx/fmgridcl.hxx | 2
include/svx/framelink.hxx | 2
include/svx/langbox.hxx | 2
include/svx/nbdtmg.hxx | 2
include/svx/numfmtsh.hxx | 2
include/svx/rulritem.hxx | 26 +-
include/svx/sdr/animation/scheduler.hxx | 8
include/svx/sdr/contact/objectcontact.hxx | 2
include/svx/srchdlg.hxx | 2
include/svx/svdhdl.hxx | 2
include/svx/svdmark.hxx | 2
include/svx/svdmodel.hxx | 8
include/svx/svdoashp.hxx | 2
include/svx/svdobj.hxx | 44 +--
include/svx/svdograf.hxx | 2
include/svx/svdopage.hxx | 2
include/svx/svdpage.hxx | 2
include/svx/svdpntv.hxx | 4
include/svx/svdundo.hxx | 2
include/svx/unoshape.hxx | 4
include/tools/multisel.hxx | 2
include/tools/zcodec.hxx | 2
include/unotools/configitem.hxx | 4
include/vcl/GraphicNativeMetadata.hxx | 2
include/vcl/bitmap.hxx | 2
include/vcl/dialog.hxx | 4
include/vcl/dockwin.hxx | 4
include/vcl/field.hxx | 2
include/vcl/gfxlink.hxx | 4
include/vcl/graphictools.hxx | 22 -
include/vcl/longcurr.hxx | 2
include/vcl/menu.hxx | 2
include/vcl/pdfextoutdevdata.hxx | 22 -
include/vcl/region.hxx | 2
include/vcl/texteng.hxx | 2
include/xmloff/xmlimp.hxx | 2
jvmaccess/source/unovirtualmachine.cxx | 3
jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 4
jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx | 2
jvmfwk/source/elements.cxx | 4
jvmfwk/source/elements.hxx | 2
jvmfwk/source/framework.cxx | 4
jvmfwk/source/framework.hxx | 2
jvmfwk/source/libxmlutil.cxx | 29 --
jvmfwk/source/libxmlutil.hxx | 14 -
l10ntools/inc/export.hxx | 2
l10ntools/source/merge.cxx | 4
lotuswordpro/source/filter/lwpbasetype.hxx | 6
lotuswordpro/source/filter/lwpdlvlist.hxx | 70 +----
lotuswordpro/source/filter/lwpdropcapmgr.cxx | 4
lotuswordpro/source/filter/lwpdropcapmgr.hxx | 2
lotuswordpro/source/filter/lwplayout.cxx | 8
lotuswordpro/source/filter/lwplayout.hxx | 6
lotuswordpro/source/filter/lwpparastyle.cxx | 4
lotuswordpro/source/filter/lwpparastyle.hxx | 2
lotuswordpro/source/filter/lwpsdwrect.cxx | 9
lotuswordpro/source/filter/lwpsdwrect.hxx | 6
lotuswordpro/source/filter/lwpstory.hxx | 30 --
lotuswordpro/source/filter/xfilter/xffontdecl.cxx | 4
lotuswordpro/source/filter/xfilter/xffontdecl.hxx | 2
oox/source/drawingml/chart/typegroupconverter.cxx | 4
oox/source/drawingml/shape.cxx | 8
oox/source/helper/storagebase.cxx | 4
package/source/zipapi/Deflater.cxx | 4
package/source/zipapi/Inflater.cxx | 8
reportdesign/source/ui/dlg/GroupsSorting.cxx | 4
reportdesign/source/ui/inc/DesignView.hxx | 2
reportdesign/source/ui/inc/GroupsSorting.hxx | 2
reportdesign/source/ui/report/DesignView.cxx | 4
sc/inc/addincol.hxx | 2
sc/inc/chart2uno.hxx | 2
sc/inc/chgtrack.hxx | 4
sc/inc/clipcontext.hxx | 30 +-
sc/inc/colorscale.hxx | 2
sc/inc/conditio.hxx | 2
sc/inc/document.hxx | 22 -
sc/inc/dpcache.hxx | 8
sc/inc/dpgroup.hxx | 4
sc/inc/dpobject.hxx | 2
sc/inc/dpoutput.hxx | 2
sc/inc/dptabres.hxx | 14 -
sc/inc/dptabsrc.hxx | 14 -
sc/inc/editdataarray.hxx | 6
sc/inc/externalrefmgr.hxx | 2
sc/inc/fielduno.hxx | 2
sc/inc/formulacell.hxx | 36 +--
sc/inc/listenercontext.hxx | 2
sc/inc/nameuno.hxx | 2
sc/inc/olinetab.hxx | 12 -
sc/inc/postit.hxx | 2
sc/inc/queryentry.hxx | 2
sc/inc/queryparam.hxx | 2
sc/inc/refhint.hxx | 8
sc/inc/rowheightcontext.hxx | 10
sc/inc/scmod.hxx | 2
sc/inc/segmenttree.hxx | 4
sc/inc/sheetdata.hxx | 2
sc/inc/table.hxx | 4
sc/inc/tokenarray.hxx | 4
sc/inc/tokenstringcontext.hxx | 4
sc/inc/typedstrdata.hxx | 4
sc/inc/unitconv.hxx | 2
sc/source/core/data/clipcontext.cxx | 60 -----
sc/source/core/data/colorscale.cxx | 4
sc/source/core/data/conditio.cxx | 4
sc/source/core/data/documen2.cxx | 4
sc/source/core/data/documen3.cxx | 20 -
sc/source/core/data/documen8.cxx | 4
sc/source/core/data/document.cxx | 8
sc/source/core/data/dpcache.cxx | 17 -
sc/source/core/data/dpgroup.cxx | 8
sc/source/core/data/dpobject.cxx | 4
sc/source/core/data/dpoutput.cxx | 4
sc/source/core/data/dptabres.cxx | 28 --
sc/source/core/data/dptabsrc.cxx | 28 --
sc/source/core/data/formulacell.cxx | 45 ---
sc/source/core/data/listenercontext.cxx | 4
sc/source/core/data/olinetab.cxx | 24 --
sc/source/core/data/postit.cxx | 4
sc/source/core/data/rowheightcontext.cxx | 20 -
sc/source/core/data/segmenttree.cxx | 8
sc/source/core/data/table1.cxx | 8
sc/source/core/data/tabprotection.cxx | 12 -
sc/source/core/inc/doubleref.hxx | 2
sc/source/core/inc/interpre.hxx | 2
sc/source/core/tool/addincol.cxx | 4
sc/source/core/tool/chgtrack.cxx | 2
sc/source/core/tool/doubleref.cxx | 4
sc/source/core/tool/editdataarray.cxx | 12 -
sc/source/core/tool/interpr5.cxx | 4
sc/source/core/tool/queryentry.cxx | 4
sc/source/core/tool/queryparam.cxx | 4
sc/source/core/tool/refhint.cxx | 13 -
sc/source/core/tool/scmatrix.cxx | 6
sc/source/core/tool/token.cxx | 8
sc/source/core/tool/tokenstringcontext.cxx | 8
sc/source/core/tool/typedstrdata.cxx | 8
sc/source/core/tool/unitconv.cxx | 4
sc/source/filter/excel/xestream.cxx | 5
sc/source/filter/excel/xiname.cxx | 5
sc/source/filter/inc/pivottablebuffer.hxx | 2
sc/source/filter/inc/xestream.hxx | 2
sc/source/filter/inc/xiname.hxx | 2
sc/source/filter/oox/pivottablebuffer.cxx | 5
sc/source/filter/starcalc/collect.cxx | 1
sc/source/filter/starcalc/collect.hxx | 2
sc/source/filter/xml/sheetdata.cxx | 4
sc/source/filter/xml/xmlimprt.cxx | 4
sc/source/filter/xml/xmlimprt.hxx | 2
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 6
sc/source/ui/app/inputwin.cxx | 4
sc/source/ui/app/scmod.cxx | 4
sc/source/ui/app/uiitems.cxx | 4
sc/source/ui/cctrl/checklistmenu.cxx | 12 -
sc/source/ui/condformat/condformatdlgentry.cxx | 4
sc/source/ui/condformat/condformatmgr.cxx | 4
sc/source/ui/docshell/datastream.cxx | 8
sc/source/ui/docshell/docsh2.cxx | 4
sc/source/ui/docshell/docsh3.cxx | 10
sc/source/ui/docshell/externalrefmgr.cxx | 4
sc/source/ui/inc/checklistmenu.hxx | 6
sc/source/ui/inc/condformatdlgentry.hxx | 2
sc/source/ui/inc/condformatmgr.hxx | 2
sc/source/ui/inc/datastream.hxx | 4
sc/source/ui/inc/docsh.hxx | 6
sc/source/ui/inc/inputwin.hxx | 2
sc/source/ui/inc/mvtabdlg.hxx | 8
sc/source/ui/inc/printfun.hxx | 2
sc/source/ui/inc/tabview.hxx | 2
sc/source/ui/inc/tabvwsh.hxx | 4
sc/source/ui/inc/tphfedit.hxx | 2
sc/source/ui/inc/uiitems.hxx | 2
sc/source/ui/miscdlgs/mvtabdlg.cxx | 4
sc/source/ui/pagedlg/tphfedit.cxx | 4
sc/source/ui/sidebar/AlignmentPropertyPanel.cxx | 4
sc/source/ui/sidebar/AlignmentPropertyPanel.hxx | 2
sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx | 4
sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx | 2
sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx | 4
sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx | 2
sc/source/ui/unoobj/chart2uno.cxx | 4
sc/source/ui/unoobj/fielduno.cxx | 4
sc/source/ui/unoobj/nameuno.cxx | 4
sc/source/ui/view/output2.cxx | 12 -
sc/source/ui/view/printfun.cxx | 4
sc/source/ui/view/tabview.cxx | 4
sc/source/ui/view/tabvwsh4.cxx | 4
sc/source/ui/view/tabvwsh9.cxx | 4
scripting/source/provider/MasterScriptProvider.cxx | 5
scripting/source/provider/MasterScriptProvider.hxx | 2
sd/inc/drawdoc.hxx | 6
sd/inc/sdmod.hxx | 2
sd/inc/sdpage.hxx | 12 -
sd/source/core/drawdoc.cxx | 12 -
sd/source/core/sdpage.cxx | 8
sd/source/core/sdpage2.cxx | 20 -
sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx | 4
sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 6
sd/source/ui/app/sdmod.cxx | 4
sd/source/ui/app/sdxfer.cxx | 4
sd/source/ui/dlg/assclass.cxx | 4
sd/source/ui/dlg/sdtreelb.cxx | 8
sd/source/ui/docshell/docshel4.cxx | 4
sd/source/ui/func/smarttag.cxx | 4
sd/source/ui/inc/AccessibleSlideSorterObject.hxx | 2
sd/source/ui/inc/DrawController.hxx | 2
sd/source/ui/inc/DrawDocShell.hxx | 2
sd/source/ui/inc/DrawViewShell.hxx | 2
sd/source/ui/inc/FormShellManager.hxx | 2
sd/source/ui/inc/FrameView.hxx | 10
sd/source/ui/inc/OutlineView.hxx | 2
sd/source/ui/inc/SlideSorter.hxx | 6
sd/source/ui/inc/View.hxx | 13 -
sd/source/ui/inc/ViewShell.hxx | 22 -
sd/source/ui/inc/ViewShellBase.hxx | 4
sd/source/ui/inc/ViewShellHint.hxx | 2
sd/source/ui/inc/assclass.hxx | 2
sd/source/ui/inc/sdtreelb.hxx | 4
sd/source/ui/inc/sdxfer.hxx | 2
sd/source/ui/inc/smarttag.hxx | 2
sd/source/ui/presenter/PresenterTextView.cxx | 6
sd/source/ui/sidebar/MasterPageContainer.cxx | 4
sd/source/ui/sidebar/MasterPageContainer.hxx | 2
sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx | 8
sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx | 4
sd/source/ui/slidesorter/controller/SlsAnimator.cxx | 6
sd/source/ui/slidesorter/controller/SlsFocusManager.cxx | 4
sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx | 4
sd/source/ui/slidesorter/controller/SlsPageSelector.cxx | 4
sd/source/ui/slidesorter/controller/SlsProperties.cxx | 32 --
sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | 6
sd/source/ui/slidesorter/controller/SlsTransferableData.cxx | 4
sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx | 4
sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsInsertionIndicatorHandler.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx | 16 -
sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx | 2
sd/source/ui/slidesorter/inc/controller/SlsVisibleAreaManager.hxx | 2
sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx | 4
sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx | 4
sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx | 2
sd/source/ui/slidesorter/inc/view/SlsInsertionIndicatorOverlay.hxx | 2
sd/source/ui/slidesorter/model/SlideSorterModel.cxx | 8
sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx | 8
sd/source/ui/slidesorter/shell/SlideSorter.cxx | 12 -
sd/source/ui/slidesorter/view/SlideSorterView.cxx | 4
sd/source/ui/slidesorter/view/SlsInsertionIndicatorOverlay.cxx | 4
sd/source/ui/unoidl/DrawController.cxx | 4
sd/source/ui/view/FormShellManager.cxx | 4
sd/source/ui/view/Outliner.cxx | 6
sd/source/ui/view/ViewShellBase.cxx | 8
sd/source/ui/view/ViewShellHint.cxx | 4
sd/source/ui/view/drviews1.cxx | 4
sd/source/ui/view/frmview.cxx | 20 -
sd/source/ui/view/outlview.cxx | 4
sd/source/ui/view/viewshe2.cxx | 8
sd/source/ui/view/viewshel.cxx | 12 -
sdext/source/presenter/PresenterController.cxx | 4
sdext/source/presenter/PresenterController.hxx | 2
sdext/source/presenter/PresenterScrollBar.cxx | 12 -
sdext/source/presenter/PresenterScrollBar.hxx | 6
sdext/source/presenter/PresenterTextView.cxx | 12 -
sdext/source/presenter/PresenterTextView.hxx | 6
sdext/source/presenter/PresenterToolBar.cxx | 6
sfx2/source/control/recentdocsview.cxx | 4
sfx2/source/control/templateabstractview.cxx | 4
sfx2/source/dialog/dinfdlg.cxx | 8
sfx2/source/inc/virtmenu.hxx | 2
sfx2/source/menu/virtmenu.cxx | 5
sfx2/source/sidebar/Paint.cxx | 4
sfx2/source/sidebar/Paint.hxx | 2
sfx2/source/sidebar/Panel.cxx | 8
sfx2/source/sidebar/Panel.hxx | 4
sfx2/source/sidebar/TitleBar.cxx | 8
sfx2/source/sidebar/TitleBar.hxx | 4
shell/inc/internal/xml_parser.hxx | 2
shell/source/all/xml_parser.cxx | 4
slideshow/source/engine/shapes/drawshapesubsetting.cxx | 4
slideshow/source/engine/shapes/drawshapesubsetting.hxx | 2
svl/source/items/int64item.cxx | 4
svl/source/items/style.cxx | 8
svl/source/misc/sharedstring.cxx | 8
svx/inc/sdr/properties/itemsettools.hxx | 2
svx/inc/svdoopengl.hxx | 2
svx/source/accessibility/AccessibleShapeTreeInfo.cxx | 12 -
svx/source/accessibility/AccessibleTextHelper.cxx | 14 -
svx/source/dialog/ctredlin.cxx | 16 -
svx/source/dialog/framelink.cxx | 4
svx/source/dialog/langbox.cxx | 4
svx/source/dialog/rulritem.cxx | 52 ----
svx/source/dialog/srchdlg.cxx | 4
svx/source/fmcomp/fmgridcl.cxx | 4
svx/source/items/numfmtsh.cxx | 4
svx/source/sdr/animation/scheduler.cxx | 16 -
svx/source/sdr/contact/objectcontact.cxx | 8
svx/source/sdr/properties/itemsettools.cxx | 4
svx/source/sidebar/area/AreaPropertyPanel.cxx | 4
svx/source/sidebar/area/AreaPropertyPanel.hxx | 2
svx/source/sidebar/graphic/GraphicPropertyPanel.cxx | 4
svx/source/sidebar/graphic/GraphicPropertyPanel.hxx | 2
svx/source/sidebar/line/LinePropertyPanel.cxx | 4
svx/source/sidebar/line/LinePropertyPanel.hxx | 2
svx/source/sidebar/line/LineWidthControl.cxx | 8
svx/source/sidebar/line/LineWidthControl.hxx | 4
svx/source/sidebar/line/LineWidthValueSet.cxx | 4
svx/source/sidebar/line/LineWidthValueSet.hxx | 2
svx/source/sidebar/nbdtmg.cxx | 4
svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 4
svx/source/sidebar/paragraph/ParaPropertyPanel.hxx | 2
svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 4
svx/source/sidebar/possize/PosSizePropertyPanel.hxx | 2
svx/source/sidebar/text/TextCharacterSpacingControl.cxx | 8
svx/source/sidebar/text/TextCharacterSpacingControl.hxx | 4
svx/source/svdraw/svdhdl.cxx | 4
svx/source/svdraw/svdmark.cxx | 4
svx/source/svdraw/svdmodel.cxx | 16 -
svx/source/svdraw/svdoashp.cxx | 4
svx/source/svdraw/svdobj.cxx | 88 -------
svx/source/svdraw/svdograf.cxx | 4
svx/source/svdraw/svdoopengl.cxx | 4
svx/source/svdraw/svdopage.cxx | 4
svx/source/svdraw/svdpage.cxx | 4
svx/source/svdraw/svdpntv.cxx | 8
svx/source/svdraw/svdundo.cxx | 4
svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx | 4
svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx | 2
svx/source/unodraw/unoshap2.cxx | 8
svx/source/unogallery/unogalitem.cxx | 4
svx/source/unogallery/unogalitem.hxx | 2
svx/source/unogallery/unogaltheme.cxx | 4
svx/source/unogallery/unogaltheme.hxx | 2
sw/inc/SwNodeNum.hxx | 4
sw/inc/SwNumberTree.hxx | 4
sw/inc/anchoredobject.hxx | 10
sw/inc/dcontact.hxx | 2
sw/inc/doc.hxx | 2
sw/inc/expfld.hxx | 4
sw/inc/fmtanchr.hxx | 2
sw/inc/fmtmeta.hxx | 2
sw/inc/ndgrf.hxx | 2
sw/inc/ndtxt.hxx | 2
sw/inc/numrule.hxx | 2
sw/inc/redline.hxx | 2
sw/source/core/SwNumberTree/SwNodeNum.cxx | 8
sw/source/core/SwNumberTree/SwNumberTree.cxx | 8
sw/source/core/access/accfrmobj.cxx | 15 -
sw/source/core/access/accfrmobj.hxx | 6
sw/source/core/doc/docnew.cxx | 5
sw/source/core/doc/docredln.cxx | 5
sw/source/core/doc/number.cxx | 5
sw/source/core/docnode/nodedump.cxx | 6
sw/source/core/draw/dcontact.cxx | 4
sw/source/core/fields/expfld.cxx | 8
sw/source/core/graphic/ndgrf.cxx | 4
sw/source/core/inc/ascharanchoredobjectposition.hxx | 4
sw/source/core/inc/frame.hxx | 12 -
sw/source/core/layout/anchoredobject.cxx | 20 -
sw/source/core/layout/atrfrm.cxx | 4
sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx | 8
sw/source/core/txtnode/fmtatr2.cxx | 4
sw/source/core/txtnode/ndtxt.cxx | 4
sw/source/filter/inc/fltshell.hxx | 2
sw/source/filter/ww1/fltshell.cxx | 4
sw/source/filter/ww8/WW8FibData.cxx | 8
sw/source/filter/ww8/WW8FibData.hxx | 4
sw/source/filter/ww8/WW8TableInfo.cxx | 56 ----
sw/source/filter/ww8/WW8TableInfo.hxx | 28 +-
sw/source/filter/ww8/writerhelper.cxx | 4
sw/source/filter/ww8/writerhelper.hxx | 2
sw/source/filter/ww8/ww8scan.cxx | 4
sw/source/filter/ww8/ww8scan.hxx | 2
sw/source/filter/ww8/ww8toolbar.cxx | 4
sw/source/filter/ww8/ww8toolbar.hxx | 2
sw/source/ui/dbui/customizeaddresslistdialog.cxx | 4
sw/source/ui/dbui/customizeaddresslistdialog.hxx | 2
sw/source/uibase/dbui/maildispatcher.cxx | 4
sw/source/uibase/inc/maildispatcher.hxx | 2
sw/source/uibase/inc/swcont.hxx | 2
sw/source/uibase/utlui/content.cxx | 4
tools/source/memtools/multisel.cxx | 4
tools/source/zcodec/zcodec.cxx | 4
ucb/source/ucp/file/filinpstr.cxx | 14 -
ucb/source/ucp/file/filinpstr.hxx | 4
ucb/source/ucp/file/filrset.cxx | 8
ucb/source/ucp/file/filrset.hxx | 4
ucb/source/ucp/file/filstr.cxx | 8
ucb/source/ucp/file/filstr.hxx | 4
ucb/source/ucp/ftp/ftpintreq.cxx | 4
ucb/source/ucp/ftp/ftpintreq.hxx | 2
unotools/source/config/configitem.cxx | 8
unotools/source/config/extendedsecurityoptions.cxx | 6
unotools/source/config/fontoptions.cxx | 18 -
unotools/source/config/localisationoptions.cxx | 15 -
unotools/source/config/securityoptions.cxx | 28 --
vcl/generic/glyphs/gcach_ftyp.cxx | 4
vcl/generic/print/common_gfx.cxx | 5
vcl/generic/print/glyphset.cxx | 15 -
vcl/generic/print/glyphset.hxx | 6
vcl/inc/generic/glyphcache.hxx | 2
vcl/inc/generic/printergfx.hxx | 2
vcl/inc/impfont.hxx | 2
vcl/inc/impgraph.hxx | 8
vcl/source/control/field.cxx | 4
vcl/source/control/longcurr.cxx | 4
vcl/source/edit/texteng.cxx | 4
vcl/source/filter/GraphicNativeMetadata.cxx | 4
vcl/source/filter/jpeg/Exif.cxx | 7
vcl/source/filter/jpeg/Exif.hxx | 4
vcl/source/gdi/bitmap.cxx | 4
vcl/source/gdi/gfxlink.cxx | 8
vcl/source/gdi/graphictools.cxx | 44 ---
vcl/source/gdi/impfont.cxx | 4
vcl/source/gdi/impgraph.cxx | 16 -
vcl/source/gdi/pdfextoutdevdata.cxx | 44 ---
vcl/source/gdi/region.cxx | 4
vcl/source/window/dialog.cxx | 8
vcl/source/window/dockmgr.cxx | 8
vcl/source/window/menu.cxx | 4
writerfilter/source/dmapper/BorderHandler.cxx | 4
writerfilter/source/dmapper/BorderHandler.hxx | 2
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 40 ---
writerfilter/source/dmapper/DomainMapper_Impl.hxx | 20 -
writerfilter/source/dmapper/FFDataHandler.cxx | 8
writerfilter/source/dmapper/FFDataHandler.hxx | 4
writerfilter/source/dmapper/GraphicHelpers.cxx | 8
writerfilter/source/dmapper/GraphicHelpers.hxx | 4
writerfilter/source/dmapper/NumberingManager.cxx | 4
writerfilter/source/dmapper/NumberingManager.hxx | 2
writerfilter/source/dmapper/SdtHelper.cxx | 4
writerfilter/source/dmapper/SdtHelper.hxx | 2
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 4
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx | 2
writerfilter/source/ooxml/OOXMLParserState.cxx | 24 --
writerfilter/source/ooxml/OOXMLParserState.hxx | 12 -
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx | 4
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx | 2
writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4
writerfilter/source/rtftok/rtfdocumentimpl.hxx | 2
writerfilter/source/rtftok/rtflookahead.cxx | 4
writerfilter/source/rtftok/rtflookahead.hxx | 2
writerfilter/source/rtftok/rtftokenizer.cxx | 8
writerfilter/source/rtftok/rtftokenizer.hxx | 4
xmlhelp/source/cxxhelp/provider/inputstream.cxx | 6
xmlhelp/source/cxxhelp/provider/inputstream.hxx | 2
xmloff/source/core/SvXMLAttr.cxx | 4
xmloff/source/core/SvXMLAttr.hxx | 2
xmloff/source/core/xmlimp.cxx | 4
xmloff/source/transform/ChartPlotAreaOASISTContext.cxx | 6
xmloff/source/transform/ChartPlotAreaOOoTContext.cxx | 6
xmlsecurity/source/framework/buffernode.cxx | 8
xmlsecurity/source/framework/buffernode.hxx | 4
xmlsecurity/source/framework/elementcollector.cxx | 8
xmlsecurity/source/framework/elementcollector.hxx | 4
xmlsecurity/source/framework/elementmark.cxx | 16 -
xmlsecurity/source/framework/elementmark.hxx | 8
xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx | 25 --
xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx | 12 -
638 files changed, 752 insertions(+), 3515 deletions(-)
New commits:
commit 5d1e22d52a659b12fe7f6b5870bd12d07ddca0d8
Author: Noel Grandin <noel at peralex.com>
Date: Mon Jun 9 09:37:32 2014 +0200
improve safety of loplugin inlinesimplememberfunctions
don't try and move functions containing comments
Change-Id: I2de8fc8be851af979acf9d1a91e7cdd9a5dc6a32
diff --git a/compilerplugins/clang/inlinesimplememberfunctions.cxx b/compilerplugins/clang/inlinesimplememberfunctions.cxx
index 4bee14c..cd5aa23 100644
--- a/compilerplugins/clang/inlinesimplememberfunctions.cxx
+++ b/compilerplugins/clang/inlinesimplememberfunctions.cxx
@@ -171,6 +171,12 @@ bool InlineSimpleMemberFunctions::VisitCXXMethodDecl(const CXXMethodDecl * funct
"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;
}
@@ -197,6 +203,7 @@ bool InlineSimpleMemberFunctions::isInUnoIncludeFile(SourceLocation spellingLoca
|| name.startswith(SRCDIR "/include/systools/")
|| name.startswith(SRCDIR "/include/typelib/")
|| name.startswith(SRCDIR "/include/uno/")
+ || name.startswith(SRCDIR "/workdir/")
|| name == SRCDIR "/include/comphelper/implbase_var.hxx");
}
@@ -239,6 +246,12 @@ bool InlineSimpleMemberFunctions::rewrite(const CXXMethodDecl * functionDecl) {
p1 = compiler.getSourceManager().getCharacterData( functionDecl->getBody()->getLocStart() );
p2 = compiler.getSourceManager().getCharacterData( functionDecl->getBody()->getLocEnd() );
std::string s1( p1, p2 - p1 + 1);
+
+ /* we can't safely move around stuff containing comments, we mess up the resulting code */
+ if ( s1.find("/*") != std::string::npos || s1.find("//") != std::string::npos ) {
+ return false;
+ }
+
// strip linefeeds and any double-spaces, so we have a max of one space between tokens
s1 = ReplaceString(s1, "\r", "");
s1 = ReplaceString(s1, "\n", "");
commit 184a00b96235f6432294ded63ce4a4a318effdb5
Author: Noel Grandin <noel at peralex.com>
Date: Mon Jun 9 10:09:42 2014 +0200
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index ad11518..19eaa52 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -530,12 +530,12 @@ protected:
/**_______________________________________________________________________________________________________
*/
- const sal_Int32& impl_getWidth();
+ const sal_Int32& impl_getWidth() { return m_nWidth;}
/**_______________________________________________________________________________________________________
*/
- const sal_Int32& impl_getHeight();
+ const sal_Int32& impl_getHeight() { return m_nHeight;}
/**_______________________________________________________________________________________________________
*/
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index 78cc308..2503b1f 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -737,20 +737,6 @@ const Reference< XGraphics > BaseControl::impl_getGraphicsPeer()
// protected method
-const sal_Int32& BaseControl::impl_getWidth()
-{
- return m_nWidth;
-}
-
-// protected method
-
-const sal_Int32& BaseControl::impl_getHeight()
-{
- return m_nHeight;
-}
-
-// protected method
-
WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer )
{
// - used from "createPeer()" to set the values of an ::com::sun::star::awt::WindowDescriptor !!!
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index aae2ae6..35ca5d5 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -554,7 +554,7 @@ public:
std::vector< OUString > GetXIdlClassMethods() const;
std::vector< OUString > GetXIdlClassFields() const;
- bool CanCodeComplete() const;
+ bool CanCodeComplete() const { return bCanComplete;}
};
} // namespace basctl
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 93e0f04..338f350 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -2968,10 +2968,6 @@ std::vector< OUString > UnoTypeCodeCompletetor::GetXIdlClassFields() const
return aRetVect;//this is empty when cannot code complete
}
-bool UnoTypeCodeCompletetor::CanCodeComplete() const
-{
- return bCanComplete;
-}
bool UnoTypeCodeCompletetor::CheckField( const OUString& sFieldName )
{// modifies xClass!!!
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index 22eb1ff..5764f7a 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -119,10 +119,6 @@ bool LineNumberWindow::SyncYOffset()
return true;
}
-int LineNumberWindow::GetWidth()
-{
- return m_nWidth;
-}
} // namespace basctl
diff --git a/basctl/source/basicide/linenumberwindow.hxx b/basctl/source/basicide/linenumberwindow.hxx
index a99cc06..aae3409 100644
--- a/basctl/source/basicide/linenumberwindow.hxx
+++ b/basctl/source/basicide/linenumberwindow.hxx
@@ -38,7 +38,7 @@ public:
bool SyncYOffset();
long& GetCurYOffset();
- int GetWidth();
+ int GetWidth() { return m_nWidth;}
};
} // namespace basctl
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index ebf8ba0..b4f0d27 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -624,10 +624,6 @@ void DlgEditor::SetInsertObj( sal_uInt16 eObj )
}
-sal_uInt16 DlgEditor::GetInsertObj() const
-{
- return eActObj;
-}
void DlgEditor::CreateDefaultObject()
diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx
index 0103030..028e1c9 100644
--- a/basctl/source/inc/dlged.hxx
+++ b/basctl/source/inc/dlged.hxx
@@ -190,7 +190,7 @@ public:
void SetMode (Mode eMode);
void SetInsertObj( sal_uInt16 eObj );
- sal_uInt16 GetInsertObj() const;
+ sal_uInt16 GetInsertObj() const { return eActObj;}
void CreateDefaultObject();
Mode GetMode() const { return eMode; }
bool IsCreateOK() const { return bCreateOK; }
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 10228a8..1fb6195 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1063,10 +1063,6 @@ void ClearUnoObjectsInRTL_Impl( StarBASIC* pBasic )
ClearUnoObjectsInRTL_Impl_Rek( (StarBASIC*)p );
}
-bool SbModule::IsVBACompat() const
-{
- return mbVBACompat;
-}
void SbModule::SetVBACompat( bool bCompat )
{
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index 2ffbc66..c7e122a 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -314,10 +314,6 @@ void SbiParser::SetCodeCompleting( const bool& b )
bCodeCompleting = b;
}
-bool SbiParser::IsCodeCompleting() const
-{
- return bCodeCompleting;
-}
bool SbiParser::Parse()
{
diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx
index caf65c5..0e39423 100644
--- a/basic/source/inc/parser.hxx
+++ b/basic/source/inc/parser.hxx
@@ -83,7 +83,7 @@ public:
SbiParser( StarBASIC*, SbModule* );
bool Parse();
void SetCodeCompleting( const bool& b );
- bool IsCodeCompleting() const;
+ bool IsCodeCompleting() const { return bCodeCompleting;}
SbiExprNode* GetWithVar();
// from 31.3.1996, search symbol in the runtime-library
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index cbbe3ff..49fd341 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -407,7 +407,7 @@ public:
SbModule* GetModule() { return pMod; }
sal_uInt16 GetDebugFlags() { return nFlags; }
void SetDebugFlags( sal_uInt16 nFl ) { nFlags = nFl; }
- SbMethod* GetCaller();
+ SbMethod* GetCaller() { return pMeth;}
SbxVariable* GetExternalCaller(){ return mpExtCaller; }
SbiForStack* FindForStackItemForCollection( class BasicCollection* pCollection );
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index e13855b..63debf2 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -977,13 +977,6 @@ sal_Int32 SbiRuntime::translateErrorToVba( SbError nError, OUString& rMsg )
return nVBAErrorNumber;
}
-// Parameter, Locals, Caller
-
-SbMethod* SbiRuntime::GetCaller()
-{
- return pMeth;
-}
-
// Stacks
// The expression-stack is available for the continuous evaluation
diff --git a/basic/source/sbx/sbxarray.cxx b/basic/source/sbx/sbxarray.cxx
index 5ed2fde..61ff86e 100644
--- a/basic/source/sbx/sbxarray.cxx
+++ b/basic/source/sbx/sbxarray.cxx
@@ -649,10 +649,6 @@ void SbxDimArray::AddDimImpl32( sal_Int32 lb, sal_Int32 ub, bool bAllowSize0 )
SetError( eRes );
}
-short SbxDimArray::GetDims() const
-{
- return nDim;
-}
void SbxDimArray::AddDim( short lb, short ub )
{
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index c0de91f..f112e04 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -138,10 +138,6 @@ SbxArray* SbxVariable::GetParameters() const
return mpPar;
}
-SbxObject* SbxVariable::GetParent()
-{
- return pParent;
-}
// Perhaps some day one could cut the parameter 0.
// then the copying will be dropped ...
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 82af9a3..5f0fe81 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -2321,10 +2321,6 @@ namespace cairocanvas
return aLayout;
}
- bool CanvasHelper::hasAlpha() const
- {
- return mbHaveAlpha;
- }
bool CanvasHelper::repaint( const SurfaceSharedPtr& pSurface,
const rendering::ViewState& viewState,
diff --git a/canvas/source/cairo/cairo_canvashelper.hxx b/canvas/source/cairo/cairo_canvashelper.hxx
index 9258e7c..bbc48c6 100644
--- a/canvas/source/cairo/cairo_canvashelper.hxx
+++ b/canvas/source/cairo/cairo_canvashelper.hxx
@@ -252,7 +252,7 @@ namespace cairocanvas
*/
void modifying() {}
- bool hasAlpha() const;
+ bool hasAlpha() const { return mbHaveAlpha; }
enum ColorType
{
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.cxx b/canvas/source/cairo/cairo_spritedevicehelper.cxx
index c73aa74..b17ce90 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.cxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.cxx
@@ -134,10 +134,6 @@ namespace cairocanvas
mpSpriteCanvas->setSizePixel( maSize );
}
- const ::basegfx::B2ISize& SpriteDeviceHelper::getSizePixel()
- {
- return maSize;
- }
void SpriteDeviceHelper::notifySizeUpdate( const awt::Rectangle& rBounds )
{
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.hxx b/canvas/source/cairo/cairo_spritedevicehelper.hxx
index 7df1475..4e4a943 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.hxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.hxx
@@ -68,7 +68,7 @@ namespace cairocanvas
::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 );
- const ::basegfx::B2ISize& getSizePixel();
+ const ::basegfx::B2ISize& getSizePixel() { return maSize; }
void flush();
private:
diff --git a/canvas/source/tools/canvascustomspritehelper.cxx b/canvas/source/tools/canvascustomspritehelper.cxx
index 843a4bb..120dc9d 100644
--- a/canvas/source/tools/canvascustomspritehelper.cxx
+++ b/canvas/source/tools/canvascustomspritehelper.cxx
@@ -471,10 +471,6 @@ namespace canvas
maPosition + maCurrClipBounds.getMaximum() );
}
- double CanvasCustomSpriteHelper::getPriority() const
- {
- return mfPriority;
- }
::basegfx::B2DRange CanvasCustomSpriteHelper::getFullSpriteRect() const
{
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index 3624b4b..7d1edcd 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -593,13 +593,13 @@ public:
com::sun::star::uno::Reference< com::sun::star::uno::XInterface > getChartView();
- bool isTimeBased() const;
+ bool isTimeBased() const { return mbTimeBased;}
void setTimeBased(bool bTimeBased);
void getNextTimePoint();
void setTimeBasedRange(sal_Int32 nStart, sal_Int32 nEnd);
- OpenGLWindow* getOpenGLWindow();
+ OpenGLWindow* getOpenGLWindow() { return mpOpenGLWindow;}
private:
sal_Int32 mnStart;
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
index 7c71bb1..283ffea 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.cxx
@@ -90,10 +90,6 @@ Reference< frame::XModel > Chart2ModelContact::getChartModel() const
return Reference< frame::XModel >( m_xChartModel.get(), uno::UNO_QUERY );
}
-ChartModel* Chart2ModelContact::getModel() const
-{
- return mpModel;
-}
Reference< chart2::XChartDocument > Chart2ModelContact::getChart2Document() const
{
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
index c2310d3..9b9e437 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
@@ -58,7 +58,7 @@ public:
::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > getChartModel() const;
- ChartModel* getModel() const;
+ ChartModel* getModel() const { return mpModel;}
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > getChart2Document() const;
diff --git a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
index caccf12..cac76fe 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx
@@ -1069,10 +1069,6 @@ void ChartDocumentWrapper::setUpdateAddIn( bool bUpdateAddIn )
{
m_bUpdateAddIn = bUpdateAddIn;
}
-bool ChartDocumentWrapper::getUpdateAddIn() const
-{
- return m_bUpdateAddIn;
-}
Reference< drawing::XShapes > ChartDocumentWrapper::getAdditionalShapes() const
{
diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx
index 94174dd..cb3ee05 100644
--- a/chart2/source/controller/dialogs/DataBrowser.cxx
+++ b/chart2/source/controller/dialogs/DataBrowser.cxx
@@ -106,7 +106,7 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
void setStartColumn( sal_Int32 nStartColumn );
- sal_Int32 getStartColumn() const;
+ sal_Int32 getStartColumn() const { return m_nStartColumn;}
void SetShowWarningBox( bool bShowWarning = true );
private:
@@ -130,10 +130,6 @@ void SeriesHeaderEdit::setStartColumn( sal_Int32 nStartColumn )
m_nStartColumn = nStartColumn;
}
-sal_Int32 SeriesHeaderEdit::getStartColumn() const
-{
- return m_nStartColumn;
-}
void SeriesHeaderEdit::SetShowWarningBox( bool bShowWarning )
{
@@ -164,8 +160,8 @@ public:
void SetPixelWidth( sal_Int32 nWidth );
- sal_Int32 GetStartColumn() const;
- sal_Int32 GetEndColumn() const;
+ sal_Int32 GetStartColumn() const { return m_nStartCol;}
+ sal_Int32 GetEndColumn() const { return m_nEndCol;}
static sal_Int32 GetRelativeAppFontXPosForNameField();
@@ -316,15 +312,7 @@ void SeriesHeader::SetRange( sal_Int32 nStartCol, sal_Int32 nEndCol )
m_spSeriesName->setStartColumn( nStartCol );
}
-sal_Int32 SeriesHeader::GetStartColumn() const
-{
- return m_nStartCol;
-}
-sal_Int32 SeriesHeader::GetEndColumn() const
-{
- return m_nEndCol;
-}
void SeriesHeader::Show()
{
@@ -740,10 +728,6 @@ bool DataBrowser::SetReadOnly( bool bNewState )
return bResult;
}
-bool DataBrowser::IsReadOnly() const
-{
- return m_bIsReadOnly;
-}
void DataBrowser::SetClean()
{
@@ -815,10 +799,6 @@ bool DataBrowser::IsDataValid()
return bValid;
}
-bool DataBrowser::IsEnableItem()
-{
- return m_bDataValid;
-}
void DataBrowser::CellModified()
{
diff --git a/chart2/source/controller/dialogs/DataBrowser.hxx b/chart2/source/controller/dialogs/DataBrowser.hxx
index f32363a..3d908aa 100644
--- a/chart2/source/controller/dialogs/DataBrowser.hxx
+++ b/chart2/source/controller/dialogs/DataBrowser.hxx
@@ -92,7 +92,7 @@ public:
/// @return old state
bool SetReadOnly( bool bNewState );
- bool IsReadOnly() const;
+ bool IsReadOnly() const { return m_bIsReadOnly;}
/// reset the dirty status, if changes have been saved
void SetClean();
@@ -140,7 +140,7 @@ public:
sal_uInt32 GetNumberFormatKey( sal_Int32 nRow, sal_uInt16 nCol ) const;
- bool IsEnableItem();
+ bool IsEnableItem() { return m_bDataValid;}
bool IsDataValid();
void ShowWarningBox();
bool ShowQueryBox();
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
index 2a3e219..cc458e5 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
@@ -179,11 +179,6 @@ void CreationWizard::enterState(WizardState nState)
svt::RoadmapWizard::enterState(nState);
}
-bool CreationWizard::isClosable()
-{
- //@todo
- return m_bIsClosable;
-}
void CreationWizard::setInvalidPage( TabPage * /* pTabPage */ )
{
diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
index b279f05..859a4bf 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()
{
}
-ObjectType ObjectPropertiesDialogParameter::getObjectType() const
-{
- return m_eObjectType;
-}
OUString ObjectPropertiesDialogParameter::getLocalizedName() const
{
return m_aLocalizedName;
@@ -313,82 +309,14 @@ void ObjectPropertiesDialogParameter::init( const uno::Reference< frame::XModel
}
}
-bool ObjectPropertiesDialogParameter::HasGeometryProperties() const
-{
- return m_bHasGeometryProperties;
-}
-bool ObjectPropertiesDialogParameter::HasStatisticProperties() const
-{
- return m_bHasStatisticProperties;
-}
-bool ObjectPropertiesDialogParameter::ProvidesSecondaryYAxis() const
-{
- return m_bProvidesSecondaryYAxis;
-}
-bool ObjectPropertiesDialogParameter::ProvidesOverlapAndGapWidth() const
-{
- return m_bProvidesOverlapAndGapWidth;
-}
-bool ObjectPropertiesDialogParameter::ProvidesBarConnectors() const
-{
- return m_bProvidesBarConnectors;
-}
-bool ObjectPropertiesDialogParameter::HasAreaProperties() const
-{
- return m_bHasAreaProperties;
-}
-bool ObjectPropertiesDialogParameter::HasSymbolProperties() const
-{
- return m_bHasSymbolProperties;
-}
-bool ObjectPropertiesDialogParameter::HasScaleProperties() const
-{
- return m_bHasScaleProperties;
-}
-bool ObjectPropertiesDialogParameter::CanAxisLabelsBeStaggered() const
-{
- return m_bCanAxisLabelsBeStaggered;
-}
-bool ObjectPropertiesDialogParameter::ShowAxisOrigin() const
-{
- return m_bShowAxisOrigin;
-}
-bool ObjectPropertiesDialogParameter::IsSupportingAxisPositioning() const
-{
- return m_bSupportingAxisPositioning;
-}
-bool ObjectPropertiesDialogParameter::IsCrossingAxisIsCategoryAxis() const
-{
- return m_bIsCrossingAxisIsCategoryAxis;
-}
const uno::Sequence< OUString >& ObjectPropertiesDialogParameter::GetCategories() const
{
return m_aCategories;
}
-bool ObjectPropertiesDialogParameter::HasNumberProperties() const
-{
- return m_bHasNumberProperties;
-}
-bool ObjectPropertiesDialogParameter::ProvidesStartingAngle() const
-{
- return m_bProvidesStartingAngle;
-}
-bool ObjectPropertiesDialogParameter::ProvidesMissingValueTreatments() const
-{
- return m_bProvidesMissingValueTreatments;
-}
uno::Reference< chart2::XChartDocument > ObjectPropertiesDialogParameter::getDocument() const
{
return m_xChartDocument;
}
-bool ObjectPropertiesDialogParameter::IsComplexCategoriesAxis() const
-{
- return m_bComplexCategoriesAxis;
-}
-sal_Int32 ObjectPropertiesDialogParameter::getNbPoints() const
-{
- return m_nNbPoints;
-}
const sal_uInt16 nNoArrowNoShadowDlg = 1101;
@@ -723,10 +651,6 @@ IMPL_LINK_NOARG(SchAttribTabDlg, OKPressed)
return m_aOriginalOKClickHdl.Call( this );
}
-bool SchAttribTabDlg::DialogWasClosedWithOK() const
-{
- return m_bOKPressed;
-}
} //namespace chart
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
index 839f200..e5e469e 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
@@ -67,10 +67,6 @@ void LightButton::switchLightOn(bool bOn)
}
}
-bool LightButton::isLightOn() const
-{
- return m_bLightOn;
-}
struct LightSource
{
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
index f08560b..7bfe1ab 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx
@@ -40,7 +40,7 @@ public:
virtual ~LightButton();
void switchLightOn(bool bOn);
- bool isLightOn() const;
+ bool isLightOn() const { return m_bLightOn;}
private:
bool m_bLightOn;
diff --git a/chart2/source/controller/inc/ChartDocumentWrapper.hxx b/chart2/source/controller/inc/ChartDocumentWrapper.hxx
index 1cf5a8e..21de1e6 100644
--- a/chart2/source/controller/inc/ChartDocumentWrapper.hxx
+++ b/chart2/source/controller/inc/ChartDocumentWrapper.hxx
@@ -72,7 +72,7 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::util::XRefreshable > getAddIn() const;
void setUpdateAddIn( bool bUpdateAddIn );
- bool getUpdateAddIn() const;
+ bool getUpdateAddIn() const { return m_bUpdateAddIn;}
void setBaseDiagram( const OUString& rBaseDiagram );
OUString getBaseDiagram() const;
diff --git a/chart2/source/controller/inc/dlg_CreationWizard.hxx b/chart2/source/controller/inc/dlg_CreationWizard.hxx
index 84e74ac..5aaff14 100644
--- a/chart2/source/controller/inc/dlg_CreationWizard.hxx
+++ b/chart2/source/controller/inc/dlg_CreationWizard.hxx
@@ -50,7 +50,7 @@ public:
, sal_Int32 nOnePageOnlyIndex=-1 );//if nOnePageOnlyIndex is an index of an exsisting page starting with 0, then only this page is displayed without next/previous and roadmap
virtual ~CreationWizard();
- bool isClosable();
+ bool isClosable() { /*@todo*/ return m_bIsClosable;}
// TabPageNotifiable
virtual void setInvalidPage( TabPage * pTabPage ) SAL_OVERRIDE;
diff --git a/chart2/source/controller/inc/dlg_ObjectProperties.hxx b/chart2/source/controller/inc/dlg_ObjectProperties.hxx
index 598f8fc..13f14e0 100644
--- a/chart2/source/controller/inc/dlg_ObjectProperties.hxx
+++ b/chart2/source/controller/inc/dlg_ObjectProperties.hxx
@@ -34,33 +34,33 @@ public:
virtual ~ObjectPropertiesDialogParameter();
void init( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
- ObjectType getObjectType() const;
+ ObjectType getObjectType() const { return m_eObjectType;}
OUString getLocalizedName() const;
- bool HasGeometryProperties() const;
- bool HasStatisticProperties() const;
- bool ProvidesSecondaryYAxis() const;
- bool ProvidesOverlapAndGapWidth() const;
- bool ProvidesBarConnectors() const;
- bool HasAreaProperties() const;
- bool HasSymbolProperties() const;
- bool HasNumberProperties() const;
- bool ProvidesStartingAngle() const;
- bool ProvidesMissingValueTreatments() const;
-
- bool HasScaleProperties() const;
- bool CanAxisLabelsBeStaggered() const;
- bool IsSupportingAxisPositioning() const;
- bool ShowAxisOrigin() const;
- bool IsCrossingAxisIsCategoryAxis() const;
+ bool HasGeometryProperties() const { return m_bHasGeometryProperties;}
+ bool HasStatisticProperties() const { return m_bHasStatisticProperties;}
+ bool ProvidesSecondaryYAxis() const { return m_bProvidesSecondaryYAxis;}
+ bool ProvidesOverlapAndGapWidth() const { return m_bProvidesOverlapAndGapWidth;}
+ bool ProvidesBarConnectors() const { return m_bProvidesBarConnectors;}
+ bool HasAreaProperties() const { return m_bHasAreaProperties;}
+ bool HasSymbolProperties() const { return m_bHasSymbolProperties;}
+ bool HasNumberProperties() const { return m_bHasNumberProperties;}
+ bool ProvidesStartingAngle() const { return m_bProvidesStartingAngle;}
+ bool ProvidesMissingValueTreatments() const { return m_bProvidesMissingValueTreatments;}
+
+ bool HasScaleProperties() const { return m_bHasScaleProperties;}
+ bool CanAxisLabelsBeStaggered() const { return m_bCanAxisLabelsBeStaggered;}
+ 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;
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartDocument >
getDocument() const;
- bool IsComplexCategoriesAxis() const;
+ bool IsComplexCategoriesAxis() const { return m_bComplexCategoriesAxis;}
- sal_Int32 getNbPoints() const;
+ sal_Int32 getNbPoints() const { return m_nNbPoints;}
private:
OUString m_aObjectCID;
@@ -140,7 +140,7 @@ public:
void SetAxisMinorStepWidthForErrorBarDecimals( double fMinorStepWidth );
- bool DialogWasClosedWithOK() const;
+ bool DialogWasClosedWithOK() const { return m_bOKPressed;}
};
} //namespace chart
diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx
index 7b24560..de8c751 100644
--- a/chart2/source/inc/ExplicitCategoriesProvider.hxx
+++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx
@@ -102,7 +102,7 @@ public:
sal_Int32 getCategoryLevelCount() const;
const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
- ::com::sun::star::chart2::data::XLabeledDataSequence> >& getSplitCategoriesList();
+ ::com::sun::star::chart2::data::XLabeledDataSequence> >& getSplitCategoriesList() { return m_aSplitCategoriesList;}
bool isDateAxis();
const std::vector< DatePlusIndex >& getDateCategories();
diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index 2b36c2d..77ed6ca 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.hxx
@@ -66,8 +66,8 @@ public:
/// @return the index of the newly appended row
sal_Int32 appendRow();
- sal_Int32 getRowCount() const;
- sal_Int32 getColumnCount() const;
+ sal_Int32 getRowCount() const { return m_nRowCount;}
+ sal_Int32 getColumnCount() const { return m_nColumnCount;}
typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx
index 2465875..1fd93e8 100644
--- a/chart2/source/inc/LifeTime.hxx
+++ b/chart2/source/inc/LifeTime.hxx
@@ -106,7 +106,7 @@ protected:
virtual void impl_apiCallCountReachedNull() SAL_OVERRIDE;
void impl_setOwnership( bool bDeliverOwnership, bool bMyVeto );
- bool impl_shouldCloseAtNextChance();
+ bool impl_shouldCloseAtNextChance() { return m_bOwnership;}
void impl_doClose();
void impl_init()
diff --git a/chart2/source/inc/NumberFormatterWrapper.hxx b/chart2/source/inc/NumberFormatterWrapper.hxx
index e979838..d199ef7 100644
--- a/chart2/source/inc/NumberFormatterWrapper.hxx
+++ b/chart2/source/inc/NumberFormatterWrapper.hxx
@@ -36,7 +36,7 @@ public:
NumberFormatterWrapper( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xSupplier );
virtual ~NumberFormatterWrapper();
- SvNumberFormatter* getSvNumberFormatter() const;
+ SvNumberFormatter* getSvNumberFormatter() const { return m_pNumberFormatter;}
::com::sun::star::uno::Reference< com::sun::star::util::XNumberFormatsSupplier >
getNumberFormatsSupplier() { return m_xNumberFormatsSupplier; };
diff --git a/chart2/source/inc/ReferenceSizeProvider.hxx b/chart2/source/inc/ReferenceSizeProvider.hxx
index 6c3f968..d1275c7 100644
--- a/chart2/source/inc/ReferenceSizeProvider.hxx
+++ b/chart2/source/inc/ReferenceSizeProvider.hxx
@@ -96,7 +96,7 @@ public:
void setValuesAtAllDataSeries();
private:
- SAL_DLLPRIVATE bool useAutoScale() const;
+ SAL_DLLPRIVATE bool useAutoScale() const { return m_bUseAutoScale;}
/** sets the auto-resize at all objects that support this feature for text.
eNewState must be either AUTO_RESIZE_YES or AUTO_RESIZE_NO
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index e4b6718..8da9ed7 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -1357,10 +1357,6 @@ OUString SAL_CALL ChartModel::dump()
return OUString();
}
-bool ChartModel::isTimeBased() const
-{
- return mbTimeBased;
-}
void ChartModel::setTimeBased(bool bTimeBased)
{
@@ -1433,10 +1429,6 @@ void ChartModel::update()
mpChartView->update();
}
-OpenGLWindow* ChartModel::getOpenGLWindow()
-{
- return mpOpenGLWindow;
-}
} // namespace chart
diff --git a/chart2/source/model/template/StockDataInterpreter.cxx b/chart2/source/model/template/StockDataInterpreter.cxx
index a425a85..a4adb84 100644
--- a/chart2/source/model/template/StockDataInterpreter.cxx
+++ b/chart2/source/model/template/StockDataInterpreter.cxx
@@ -52,10 +52,6 @@ StockDataInterpreter::StockDataInterpreter(
StockDataInterpreter::~StockDataInterpreter()
{}
-StockChartTypeTemplate::StockVariant StockDataInterpreter::GetStockVariant() const
-{
- return m_eStockVariant;
-}
// ____ XDataInterpreter ____
InterpretedData SAL_CALL StockDataInterpreter::interpretDataSource(
diff --git a/chart2/source/model/template/StockDataInterpreter.hxx b/chart2/source/model/template/StockDataInterpreter.hxx
index 472b49e..6190e08 100644
--- a/chart2/source/model/template/StockDataInterpreter.hxx
+++ b/chart2/source/model/template/StockDataInterpreter.hxx
@@ -52,7 +52,7 @@ protected:
private:
StockChartTypeTemplate::StockVariant m_eStockVariant;
- StockChartTypeTemplate::StockVariant GetStockVariant() const;
+ StockChartTypeTemplate::StockVariant GetStockVariant() const { return m_eStockVariant;}
};
} // namespace chart
diff --git a/chart2/source/tools/ExplicitCategoriesProvider.cxx b/chart2/source/tools/ExplicitCategoriesProvider.cxx
index 31a08c7..a1df24a 100644
--- a/chart2/source/tools/ExplicitCategoriesProvider.cxx
+++ b/chart2/source/tools/ExplicitCategoriesProvider.cxx
@@ -139,10 +139,6 @@ Reference< chart2::data::XDataSequence > ExplicitCategoriesProvider::getOriginal
return 0;
}
-const Sequence< Reference< data::XLabeledDataSequence> >& ExplicitCategoriesProvider::getSplitCategoriesList()
-{
- return m_aSplitCategoriesList;
-}
bool ExplicitCategoriesProvider::hasComplexCategories() const
{
diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx
index 0cc7038..71a2fd8 100644
--- a/chart2/source/tools/InternalData.cxx
+++ b/chart2/source/tools/InternalData.cxx
@@ -484,15 +484,7 @@ void InternalData::deleteRow( sal_Int32 nAtIndex )
#endif
}
-sal_Int32 InternalData::getRowCount() const
-{
- return m_nRowCount;
-}
-sal_Int32 InternalData::getColumnCount() const
-{
- return m_nColumnCount;
-}
void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNewRowLabels )
{
diff --git a/chart2/source/tools/LifeTime.cxx b/chart2/source/tools/LifeTime.cxx
index 2b17a2e..62996b7 100644
--- a/chart2/source/tools/LifeTime.cxx
+++ b/chart2/source/tools/LifeTime.cxx
@@ -316,10 +316,6 @@ void CloseableLifeTimeManager::impl_setOwnership( bool bDeliverOwnership, bool b
m_bOwnership = bDeliverOwnership && bMyVeto;
}
-bool CloseableLifeTimeManager::impl_shouldCloseAtNextChance()
-{
- return m_bOwnership;
-}
void CloseableLifeTimeManager
::impl_apiCallCountReachedNull()
diff --git a/chart2/source/tools/NumberFormatterWrapper.cxx b/chart2/source/tools/NumberFormatterWrapper.cxx
index cef25c2..dc8b7b9 100644
--- a/chart2/source/tools/NumberFormatterWrapper.cxx
+++ b/chart2/source/tools/NumberFormatterWrapper.cxx
@@ -67,10 +67,6 @@ NumberFormatterWrapper::~NumberFormatterWrapper()
{
}
-SvNumberFormatter* NumberFormatterWrapper::getSvNumberFormatter() const
-{
- return m_pNumberFormatter;
-}
Date NumberFormatterWrapper::getNullDate() const
{
diff --git a/chart2/source/tools/ReferenceSizeProvider.cxx b/chart2/source/tools/ReferenceSizeProvider.cxx
index 5e4fbb8..1f5c84f 100644
--- a/chart2/source/tools/ReferenceSizeProvider.cxx
+++ b/chart2/source/tools/ReferenceSizeProvider.cxx
@@ -53,10 +53,6 @@ awt::Size ReferenceSizeProvider::getPageSize() const
return m_aPageSize;
}
-bool ReferenceSizeProvider::useAutoScale() const
-{
- return m_bUseAutoScale;
-}
void ReferenceSizeProvider::impl_setValuesAtTitled(
const Reference< XTitled > & xTitled )
diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index c686911..57ee304 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -2001,10 +2001,6 @@ void VSeriesPlotter::setCoordinateSystemResolution( const Sequence< sal_Int32 >&
m_aCoordinateSystemResolution = rCoordinateSystemResolution;
}
-bool VSeriesPlotter::PointsWereSkipped() const
-{
- return m_bPointsWereSkipped;
-}
bool VSeriesPlotter::WantToPlotInFrontOfAxisLine()
{
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx
index 14c2bb3..9aeaa9c 100644
--- a/chart2/source/view/inc/VDataSeries.hxx
+++ b/chart2/source/view/inc/VDataSeries.hxx
@@ -78,7 +78,7 @@ public:
void setGlobalSeriesIndex( sal_Int32 nGlobalSeriesIndex );
void setPageReferenceSize( const ::com::sun::star::awt::Size & rPageRefSize );
- sal_Int32 getTotalPointCount() const;
+ sal_Int32 getTotalPointCount() const { return m_nPointCount;}
double getXValue( sal_Int32 index ) const;
double getYValue( sal_Int32 index ) const;
@@ -129,20 +129,20 @@ public:
bool hasPointOwnColor( sal_Int32 index ) const;
- ::com::sun::star::chart2::StackingDirection getStackingDirection() const;
- sal_Int32 getAttachedAxisIndex() const;
+ ::com::sun::star::chart2::StackingDirection getStackingDirection() const { return m_eStackingDirection;}
+ sal_Int32 getAttachedAxisIndex() const { return m_nAxisIndex;}
void setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex );
void doSortByXValues();
void setConnectBars( bool bConnectBars );
- bool getConnectBars() const;
+ bool getConnectBars() const { return m_bConnectBars;}
void setGroupBarsPerAxis( bool bGroupBarsPerAxis );
- bool getGroupBarsPerAxis() const;
+ bool getGroupBarsPerAxis() const { return m_bGroupBarsPerAxis;}
void setStartingAngle( sal_Int32 nStartingAngle );
- sal_Int32 getStartingAngle() const;
+ sal_Int32 getStartingAngle() const { return m_nStartingAngle;}
void setRoleOfSequenceForDataLabelNumberFormatDetection( const OUString& rRole );
@@ -175,7 +175,7 @@ public:
void releaseShapes();
void setMissingValueTreatment( sal_Int32 nMissingValueTreatment );
- sal_Int32 getMissingValueTreatment() const;
+ sal_Int32 getMissingValueTreatment() const { return m_nMissingValueTreatment;}
void setOldTimeBased( VDataSeries* pOldSeries, double nPercent );
VDataSeries* createCopyForTimeBased() const;
diff --git a/chart2/source/view/inc/VSeriesPlotter.hxx b/chart2/source/view/inc/VSeriesPlotter.hxx
index 632c81d..0f45b40 100644
--- a/chart2/source/view/inc/VSeriesPlotter.hxx
+++ b/chart2/source/view/inc/VSeriesPlotter.hxx
@@ -247,7 +247,7 @@ public:
void setPageReferenceSize( const ::com::sun::star::awt::Size & rPageRefSize );
//better performance for big data
void setCoordinateSystemResolution( const ::com::sun::star::uno::Sequence< sal_Int32 >& rCoordinateSystemResolution );
- bool PointsWereSkipped() const;
+ bool PointsWereSkipped() const { return m_bPointsWereSkipped;}
//return the depth for a logic 1
double getTransformedDepth() const;
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index d9caddd..71cd03a 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -185,10 +185,6 @@ awt::Point SAL_CALL DummyXShape::getPosition()
return maPosition;
}
-const awt::Point& DummyXShape::getPos()
-{
- return maPosition;
-}
void SAL_CALL DummyXShape::setPosition( const awt::Point& rPoint )
throw(uno::RuntimeException, std::exception)
diff --git a/chart2/source/view/main/DummyXShape.hxx b/chart2/source/view/main/DummyXShape.hxx
index 5fc71e6..ddee02d 100644
--- a/chart2/source/view/main/DummyXShape.hxx
+++ b/chart2/source/view/main/DummyXShape.hxx
@@ -169,7 +169,7 @@ public:
*/
virtual void render();
- const com::sun::star::awt::Point& getPos(); // internal API
+ const com::sun::star::awt::Point& getPos() { return maPosition;} // internal API
protected:
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index 10ec3bb..7354bd8 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -421,39 +421,19 @@ void VDataSeries::setPageReferenceSize( const awt::Size & rPageRefSize )
m_aReferenceSize = rPageRefSize;
}
-StackingDirection VDataSeries::getStackingDirection() const
-{
- return m_eStackingDirection;
-}
-sal_Int32 VDataSeries::getAttachedAxisIndex() const
-{
- return m_nAxisIndex;
-}
void VDataSeries::setConnectBars( bool bConnectBars )
{
m_bConnectBars = bConnectBars;
}
-bool VDataSeries::getConnectBars() const
-{
- return m_bConnectBars;
-}
void VDataSeries::setGroupBarsPerAxis( bool bGroupBarsPerAxis )
{
m_bGroupBarsPerAxis = bGroupBarsPerAxis;
}
-bool VDataSeries::getGroupBarsPerAxis() const
-{
- return m_bGroupBarsPerAxis;
-}
void VDataSeries::setStartingAngle( sal_Int32 nStartingAngle )
{
m_nStartingAngle = nStartingAngle;
}
-sal_Int32 VDataSeries::getStartingAngle() const
-{
- return m_nStartingAngle;
-}
void VDataSeries::setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex )
{
@@ -462,10 +442,6 @@ void VDataSeries::setAttachedAxisIndex( sal_Int32 nAttachedAxisIndex )
m_nAxisIndex = nAttachedAxisIndex;
}
-sal_Int32 VDataSeries::getTotalPointCount() const
-{
- return m_nPointCount;
-}
double VDataSeries::getXValue( sal_Int32 index ) const
{
@@ -1056,10 +1032,6 @@ void VDataSeries::setMissingValueTreatment( sal_Int32 nMissingValueTreatment )
m_nMissingValueTreatment = nMissingValueTreatment;
}
-sal_Int32 VDataSeries::getMissingValueTreatment() const
-{
- return m_nMissingValueTreatment;
-}
VDataSeries::VDataSeries()
: m_nPolygonIndex(0)
diff --git a/codemaker/source/codemaker/options.cxx b/codemaker/source/codemaker/options.cxx
index 67ae20f..f632d38 100644
--- a/codemaker/source/codemaker/options.cxx
+++ b/codemaker/source/codemaker/options.cxx
@@ -51,9 +51,5 @@ const OString Options::getOption(const OString& option) const
return i->second;
}
-const StringVector& Options::getInputFiles()
-{
- return m_inputFiles;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 56ab1c7..7a3dcc4 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -1972,9 +1972,6 @@ void Access::initBroadcasterAndChanges(
}
}
-bool Access::isDisposed() const {
- return disposed_;
-}
Access::ModifiedChild::ModifiedChild():
directlyModified(false)
diff --git a/configmgr/source/access.hxx b/configmgr/source/access.hxx
index 625026e8..a91312f 100644
--- a/configmgr/source/access.hxx
+++ b/configmgr/source/access.hxx
@@ -472,7 +472,7 @@ protected:
Modifications::Node const & modifications, Broadcaster * broadcaster,
std::vector< com::sun::star::util::ElementChange > * changes);
- bool isDisposed() const;
+ bool isDisposed() const { return disposed_;}
private:
struct ModifiedChild {
diff --git a/configmgr/source/groupnode.cxx b/configmgr/source/groupnode.cxx
index 72e2523..a1d5b58 100644
--- a/configmgr/source/groupnode.cxx
+++ b/configmgr/source/groupnode.cxx
@@ -55,9 +55,6 @@ int GroupNode::getMandatory() const {
return mandatory_;
}
-bool GroupNode::isExtensible() const {
- return extensible_;
-}
GroupNode::GroupNode(GroupNode const & other, bool keepTemplateName):
Node(other), extensible_(other.extensible_), mandatory_(other.mandatory_)
diff --git a/configmgr/source/groupnode.hxx b/configmgr/source/groupnode.hxx
index 8fbac97..227084b 100644
--- a/configmgr/source/groupnode.hxx
+++ b/configmgr/source/groupnode.hxx
@@ -44,7 +44,7 @@ public:
virtual int getMandatory() const SAL_OVERRIDE;
- bool isExtensible() const;
+ bool isExtensible() const { return extensible_;}
private:
GroupNode(GroupNode const & other, bool keepTemplateName);
diff --git a/configmgr/source/localizedpropertynode.cxx b/configmgr/source/localizedpropertynode.cxx
index 3eda905..ed861d1 100644
--- a/configmgr/source/localizedpropertynode.cxx
+++ b/configmgr/source/localizedpropertynode.cxx
@@ -44,13 +44,7 @@ NodeMap & LocalizedPropertyNode::getMembers() {
return members_;
}
-Type LocalizedPropertyNode::getStaticType() const {
- return staticType_;
-}
-bool LocalizedPropertyNode::isNillable() const {
- return nillable_;
-}
LocalizedPropertyNode::LocalizedPropertyNode(
LocalizedPropertyNode const & other):
diff --git a/configmgr/source/localizedpropertynode.hxx b/configmgr/source/localizedpropertynode.hxx
index 538e0c0..7c6da7b 100644
--- a/configmgr/source/localizedpropertynode.hxx
+++ b/configmgr/source/localizedpropertynode.hxx
@@ -39,9 +39,9 @@ public:
virtual NodeMap & getMembers() SAL_OVERRIDE;
- Type getStaticType() const;
+ Type getStaticType() const { return staticType_;}
- bool isNillable() const;
+ bool isNillable() const { return nillable_;}
private:
LocalizedPropertyNode(LocalizedPropertyNode const & other);
diff --git a/configmgr/source/node.cxx b/configmgr/source/node.cxx
index 4875173..294ec0e 100644
--- a/configmgr/source/node.cxx
+++ b/configmgr/source/node.cxx
@@ -57,17 +57,11 @@ void Node::setLayer(int layer) {
layer_ = layer;
}
-int Node::getLayer() const {
- return layer_;
-}
void Node::setFinalized(int layer) {
finalized_ = layer;
}
-int Node::getFinalized() const {
- return finalized_;
-}
rtl::Reference< Node > Node::getMember(OUString const & name) {
NodeMap const & members = getMembers();
diff --git a/configmgr/source/node.hxx b/configmgr/source/node.hxx
index 58ad20e..6537973 100644
--- a/configmgr/source/node.hxx
+++ b/configmgr/source/node.hxx
@@ -47,10 +47,10 @@ public:
virtual int getMandatory() const;
void setLayer(int layer);
- int getLayer() const;
+ int getLayer() const { return layer_;}
void setFinalized(int layer);
- int getFinalized() const;
+ int getFinalized() const { return finalized_;}
rtl::Reference< Node > getMember(OUString const & name);
diff --git a/configmgr/source/propertynode.cxx b/configmgr/source/propertynode.cxx
index bec6918..4560913 100644
--- a/configmgr/source/propertynode.cxx
+++ b/configmgr/source/propertynode.cxx
@@ -46,13 +46,7 @@ rtl::Reference< Node > PropertyNode::clone(bool) const {
return new PropertyNode(*this);
}
-Type PropertyNode::getStaticType() const {
- return staticType_;
-}
-bool PropertyNode::isNillable() const {
- return nillable_;
-}
css::uno::Any PropertyNode::getValue(Components & components) {
if (!externalDescriptor_.isEmpty()) {
@@ -81,9 +75,6 @@ void PropertyNode::setExternal(int layer, OUString const & descriptor) {
externalDescriptor_ = descriptor;
}
-bool PropertyNode::isExtension() const {
- return extension_;
-}
PropertyNode::PropertyNode(PropertyNode const & other):
Node(other), staticType_(other.staticType_), nillable_(other.nillable_),
diff --git a/configmgr/source/propertynode.hxx b/configmgr/source/propertynode.hxx
index 1e21aca..60108e7 100644
--- a/configmgr/source/propertynode.hxx
+++ b/configmgr/source/propertynode.hxx
@@ -41,9 +41,9 @@ public:
virtual rtl::Reference< Node > clone(bool keepTemplateName) const SAL_OVERRIDE;
- Type getStaticType() const;
+ Type getStaticType() const { return staticType_;}
- bool isNillable() const;
+ bool isNillable() const { return nillable_;}
com::sun::star::uno::Any getValue(Components & components);
@@ -51,7 +51,7 @@ public:
void setExternal(int layer, OUString const & descriptor);
- bool isExtension() const;
+ bool isExtension() const { return extension_;}
private:
PropertyNode(PropertyNode const & other);
diff --git a/configmgr/source/rootaccess.cxx b/configmgr/source/rootaccess.cxx
index a89d562..8951dcd 100644
--- a/configmgr/source/rootaccess.cxx
+++ b/configmgr/source/rootaccess.cxx
@@ -110,9 +110,6 @@ OUString RootAccess::getLocale() const {
return locale_;
}
-bool RootAccess::isUpdate() const {
- return update_;
-}
void RootAccess::setAlive(bool b) {
alive_ = b;
diff --git a/configmgr/source/rootaccess.hxx b/configmgr/source/rootaccess.hxx
index 4fce20c..6583cea 100644
--- a/configmgr/source/rootaccess.hxx
+++ b/configmgr/source/rootaccess.hxx
@@ -75,7 +75,7 @@ public:
OUString getLocale() const;
- bool isUpdate() const;
+ bool isUpdate() const { return update_;}
void setAlive(bool b);
diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx
index 738b386..5c140f6 100644
--- a/configmgr/source/valueparser.cxx
+++ b/configmgr/source/valueparser.cxx
@@ -436,9 +436,6 @@ void ValueParser::start(
state_ = STATE_TEXT;
}
-int ValueParser::getLayer() const {
- return layer_;
-}
template< typename T > css::uno::Any ValueParser::convertItems() {
css::uno::Sequence< T > seq(items_.size());
diff --git a/configmgr/source/valueparser.hxx b/configmgr/source/valueparser.hxx
index a02418a..1f0aef0 100644
--- a/configmgr/source/valueparser.hxx
+++ b/configmgr/source/valueparser.hxx
@@ -63,7 +63,7 @@ public:
rtl::Reference< Node > const & property,
OUString const & localizedName = OUString());
- int getLayer() const;
+ int getLayer() const { return layer_;}
Type type_;
OString separator_;
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5a591ef..36029954 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -2763,10 +2763,6 @@ IMPL_LINK( SvxMainMenuOrganizerDialog, MoveHdl, Button *, pButton )
return 0;
}
-SvxEntries* SvxMainMenuOrganizerDialog::GetEntries()
-{
- return pEntries;
-}
SvxConfigEntry* SvxMainMenuOrganizerDialog::GetSelectedEntry()
{
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index e7e98d9..ab32c51 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -311,8 +311,8 @@ public:
void Modify();
void SetValues( Color aColor, ColorMode eMode, double x, double y );
- double GetX();
- double GetY();
+ double GetX() { return mdX;}
+ double GetY() { return mdY;}
void KeyMove( int dx, int dy );
@@ -649,15 +649,7 @@ void ColorFieldControl::SetValues( Color aColor, ColorMode eMode, double x, doub
}
}
-double ColorFieldControl::GetX()
-{
- return mdX;
-}
-double ColorFieldControl::GetY()
-{
- return mdY;
-}
void ColorFieldControl::UpdatePosition()
{
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 3e4c0f8..28f2134 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -547,10 +547,6 @@ OUString SvxThesaurusDialog::GetWord()
return m_pReplaceEdit->GetText();
}
-sal_uInt16 SvxThesaurusDialog::GetLanguage() const
-{
- return nLookUpLanguage;
-}
void SvxThesaurusDialog::Apply()
{
diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx
index 8394617..d72f5db 100644
--- a/cui/source/inc/cfg.hxx
+++ b/cui/source/inc/cfg.hxx
@@ -518,7 +518,7 @@ public:
virtual ~SvxMainMenuOrganizerDialog ();
- SvxEntries* GetEntries();
+ SvxEntries* GetEntries() { return pEntries;}
void SetEntries( SvxEntries* );
SvxConfigEntry* GetSelectedEntry();
};
diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx
index b6efa28..4ab94e7 100644
--- a/cui/source/inc/thesdlg.hxx
+++ b/cui/source/inc/thesdlg.hxx
@@ -166,7 +166,7 @@ public:
void SetWindowTitle( LanguageType nLanguage );
OUString GetWord();
- sal_uInt16 GetLanguage() const;
+ sal_uInt16 GetLanguage() const { return nLookUpLanguage;}
};
#endif
diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx
index 18de7b7..0bcf4c7 100644
--- a/dbaccess/source/core/api/RowSetCache.cxx
+++ b/dbaccess/source/core/api/RowSetCache.cxx
@@ -691,15 +691,7 @@ bool ORowSetCache::next( )
return !m_bAfterLast;
}
-bool ORowSetCache::isBeforeFirst( )
-{
- return m_bBeforeFirst;
-}
-bool ORowSetCache::isAfterLast( )
-{
- return m_bAfterLast;
-}
bool ORowSetCache::isFirst( )
{
diff --git a/dbaccess/source/core/api/RowSetCache.hxx b/dbaccess/source/core/api/RowSetCache.hxx
index c00aadd..ab48003 100644
--- a/dbaccess/source/core/api/RowSetCache.hxx
+++ b/dbaccess/source/core/api/RowSetCache.hxx
@@ -179,8 +179,8 @@ namespace dbaccess
// ::com::sun::star::sdbc::XResultSet
bool next( );
- bool isBeforeFirst( );
- bool isAfterLast( );
+ bool isBeforeFirst( ) { return m_bBeforeFirst;}
+ bool isAfterLast( ) { return m_bAfterLast;}
bool isFirst( );
bool isLast( );
bool beforeFirst( );
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 3936c68..7ac7bcc 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -988,10 +988,6 @@ void OAppDetailPageHelper::Resize()
}
}
-PreviewMode OAppDetailPageHelper::getPreviewMode()
-{
- return m_ePreviewMode;
-}
bool OAppDetailPageHelper::isPreviewEnabled()
{
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
index 2f2a9f8..f102e5e 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
@@ -321,7 +321,7 @@ namespace dbaui
,const OUString& _rName );
/// returns the preview mode
- PreviewMode getPreviewMode();
+ PreviewMode getPreviewMode() { return m_ePreviewMode;}
/// <TRUE/> if the preview is enabled
bool isPreviewEnabled();
diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx
index 0864595..8855e90 100644
--- a/dbaccess/source/ui/app/AppView.cxx
+++ b/dbaccess/source/ui/app/AppView.cxx
@@ -169,20 +169,12 @@ void OAppBorderWindow::ImplInitSettings()
SetBackground( rStyleSettings.GetDialogColor() );
}
-OApplicationView* OAppBorderWindow::getView() const
-{
- return m_pView;
-}
OApplicationSwapWindow* OAppBorderWindow::getPanel() const
{
return static_cast< OApplicationSwapWindow* >( m_pPanel->getChildWindow() );
}
-OApplicationDetailView* OAppBorderWindow::getDetailView() const
-{
- return m_pDetailView;
-}
// class OApplicationView
OApplicationView::OApplicationView( Window* pParent
diff --git a/dbaccess/source/ui/app/AppView.hxx b/dbaccess/source/ui/app/AppView.hxx
index 4366089..109f631 100644
--- a/dbaccess/source/ui/app/AppView.hxx
+++ b/dbaccess/source/ui/app/AppView.hxx
@@ -60,9 +60,9 @@ namespace dbaui
virtual void GetFocus() SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
- OApplicationView* getView() const;
+ OApplicationView* getView() const { return m_pView;}
OApplicationSwapWindow* getPanel() const;
- OApplicationDetailView* getDetailView() const;
+ OApplicationDetailView* getDetailView() const { return m_pDetailView;}
};
class OApplicationView : public ODataView
diff --git a/dbaccess/source/ui/control/sqledit.cxx b/dbaccess/source/ui/control/sqledit.cxx
index 333f95c..5c51f27 100644
--- a/dbaccess/source/ui/control/sqledit.cxx
+++ b/dbaccess/source/ui/control/sqledit.cxx
@@ -135,14 +135,6 @@ void OSqlEdit::KeyInput( const KeyEvent& rKEvt )
m_bAccelAction = false;
}
-bool OSqlEdit::IsInAccelAct()
-{
- // Cut, Copy, Paste by Accel. runs the action in the Edit but also the
- // corresponding slot in the View. Therefore, the action occurs twice.
- // To prevent this, SlotExec in View can call this function.
-
- return m_bAccelAction;
-}
void OSqlEdit::GetFocus()
{
diff --git a/dbaccess/source/ui/inc/FieldDescriptions.hxx b/dbaccess/source/ui/inc/FieldDescriptions.hxx
index 1d4812a..73cc8e3 100644
--- a/dbaccess/source/ui/inc/FieldDescriptions.hxx
+++ b/dbaccess/source/ui/inc/FieldDescriptions.hxx
@@ -105,8 +105,8 @@ namespace dbaui
TOTypeInfoSP getTypeInfo() const;
TOTypeInfoSP getSpecialTypeInfo() const;
bool IsAutoIncrement() const;
- bool IsPrimaryKey() const;
- bool IsCurrency() const;
+ bool IsPrimaryKey() const { return m_bIsPrimaryKey;}
+ bool IsCurrency() const { return m_bIsCurrency;}
bool IsNullable() const;
};
}
diff --git a/dbaccess/source/ui/inc/WCopyTable.hxx b/dbaccess/source/ui/inc/WCopyTable.hxx
index d042c31..2cfb67f 100644
--- a/dbaccess/source/ui/inc/WCopyTable.hxx
+++ b/dbaccess/source/ui/inc/WCopyTable.hxx
@@ -353,7 +353,7 @@ namespace dbaui
/** returns whether a primary key should be created in the target database
*/
- bool shouldCreatePrimaryKey() const;
+ bool shouldCreatePrimaryKey() const { return m_bCreatePrimaryKeyColumn;}
void setCreatePrimaryKey( bool _bDoCreate, const OUString& _rSuggestedName );
static bool supportsPrimaryKey( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection );
@@ -393,7 +393,7 @@ namespace dbaui
sal_Int32 getMaxColumnNameLength() const;
void setOperation( const sal_Int16 _nOperation );
- sal_Int16 getOperation() const;
+ sal_Int16 getOperation() const { return m_nOperation;}
OUString convertColumnName( const TColumnFindFunctor& _rCmpFunctor,
const OUString& _sColumnName,
diff --git a/dbaccess/source/ui/inc/sqledit.hxx b/dbaccess/source/ui/inc/sqledit.hxx
index f537cb8..c941bdf 100644
--- a/dbaccess/source/ui/inc/sqledit.hxx
+++ b/dbaccess/source/ui/inc/sqledit.hxx
@@ -74,7 +74,10 @@ namespace dbaui
using MultiLineEditSyntaxHighlight::SetText;
// own functionality
- bool IsInAccelAct();
+ // Cut, Copy, Paste by Accel. runs the action in the Edit but also the
+ // corresponding slot in the View. Therefore, the action occurs twice.
+ // To prevent this, SlotExec in View can call this function.
+ bool IsInAccelAct() { return m_bAccelAction; }
void SetTextModifyHdl(const Link& lnk) { m_lnkTextModifyHdl = lnk; }
// please don't use SetModifyHdl, I need it for myself, this here is called from the handler set with that
diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx
index 3d6ad19..d293ea7 100644
--- a/dbaccess/source/ui/misc/WCopyTable.cxx
+++ b/dbaccess/source/ui/misc/WCopyTable.cxx
@@ -913,10 +913,6 @@ IMPL_LINK_NOARG(OCopyTableWizard, ImplOKHdl)
return bFinish ? 1 : 0;
}
-bool OCopyTableWizard::shouldCreatePrimaryKey() const
-{
- return m_bCreatePrimaryKeyColumn;
-}
void OCopyTableWizard::setCreatePrimaryKey( bool _bDoCreate, const OUString& _rSuggestedName )
{
@@ -1379,10 +1375,6 @@ void OCopyTableWizard::setOperation( const sal_Int16 _nOperation )
m_nOperation = _nOperation;
}
-sal_Int16 OCopyTableWizard::getOperation() const
-{
- return m_nOperation;
-}
OUString OCopyTableWizard::convertColumnName(const TColumnFindFunctor& _rCmpFunctor,
const OUString& _sColumnName,
diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
index f7ea19a..8922c95 100644
--- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
+++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
@@ -600,15 +600,7 @@ bool OFieldDescription::IsAutoIncrement() const
return m_bIsAutoIncrement;
}
-bool OFieldDescription::IsPrimaryKey() const
-{
- return m_bIsPrimaryKey;
-}
-bool OFieldDescription::IsCurrency() const
-{
- return m_bIsCurrency;
-}
bool OFieldDescription::IsNullable() const
{
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 0954b20..4d71f7a 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -169,10 +169,6 @@ SfxUndoManager& OTableEditorCtrl::GetUndoManager() const
return GetView()->getController().GetUndoManager();
}
-bool OTableEditorCtrl::IsReadOnly()
-{
- return bReadOnly;
-}
void OTableEditorCtrl::SetReadOnly( bool bRead )
{
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx
index af84754..d09060a 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.hxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx
@@ -160,7 +160,7 @@ namespace dbaui
bool IsCutAllowed( long nRow = -1 );
bool IsCopyAllowed( long nRow = -1 );
bool IsPasteAllowed( long nRow = -1 );
- bool IsReadOnly();
+ bool IsReadOnly() { return bReadOnly;}
OFieldDescription* GetFieldDescr( long nRow );
// window overloads
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 7b8726a4..35e93e6 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -610,137 +610,29 @@ void CommandLineArgs::InitParamValues()
m_bDocumentArgs = false;
}
-bool CommandLineArgs::IsMinimized() const
-{
- return m_minimized;
-}
-bool CommandLineArgs::IsInvisible() const
-{
- return m_invisible;
-}
-bool CommandLineArgs::IsNoRestore() const
-{
- return m_norestore;
-}
-bool CommandLineArgs::IsNoDefault() const
-{
- return m_nodefault;
-}
-bool CommandLineArgs::IsHeadless() const
-{
- return m_headless;
-}
-bool CommandLineArgs::IsQuickstart() const
-{
- return m_quickstart;
-}
-bool CommandLineArgs::IsNoQuickstart() const
-{
- return m_noquickstart;
-}
-bool CommandLineArgs::IsTerminateAfterInit() const
-{
- return m_terminateafterinit;
-}
-bool CommandLineArgs::IsNoLogo() const
-{
- return m_nologo;
-}
-bool CommandLineArgs::IsNoLockcheck() const
-{
- return m_nolockcheck;
-}
-bool CommandLineArgs::IsHelp() const
-{
- return m_help;
-}
-bool CommandLineArgs::IsHelpWriter() const
-{
- return m_helpwriter;
-}
-bool CommandLineArgs::IsHelpCalc() const
-{
- return m_helpcalc;
-}
-bool CommandLineArgs::IsHelpDraw() const
-{
- return m_helpdraw;
-}
-bool CommandLineArgs::IsHelpImpress() const
-{
- return m_helpimpress;
-}
-bool CommandLineArgs::IsHelpBase() const
-{
- return m_helpbase;
-}
-bool CommandLineArgs::IsHelpMath() const
-{
- return m_helpmath;
-}
-bool CommandLineArgs::IsHelpBasic() const
-{
- return m_helpbasic;
-}
-bool CommandLineArgs::IsWriter() const
-{
- return m_writer;
-}
-bool CommandLineArgs::IsCalc() const
-{
- return m_calc;
-}
-bool CommandLineArgs::IsDraw() const
-{
- return m_draw;
-}
-bool CommandLineArgs::IsImpress() const
-{
- return m_impress;
-}
-bool CommandLineArgs::IsBase() const
-{
- return m_base;
-}
-bool CommandLineArgs::IsGlobal() const
-{
- return m_global;
-}
-bool CommandLineArgs::IsMath() const
-{
- return m_math;
-}
-bool CommandLineArgs::IsWeb() const
-{
- return m_web;
-}
-bool CommandLineArgs::IsVersion() const
-{
- return m_version;
-}
OUString CommandLineArgs::GetUnknown() const
{
@@ -753,10 +645,6 @@ bool CommandLineArgs::HasModuleParam() const
|| m_web || m_base;
}
-bool CommandLineArgs::HasSplashPipe() const
-{
- return m_splashpipe;
-}
std::vector< OUString > const & CommandLineArgs::GetAccept() const
{
@@ -832,15 +720,7 @@ OUString CommandLineArgs::GetConversionOut() const
return translateExternalUris(m_conversionout);
}
-bool CommandLineArgs::IsEmpty() const
-{
- return m_bEmpty;
-}
-bool CommandLineArgs::WantsToLoadDocument() const
-{
- return m_bDocumentArgs;
-}
OUString CommandLineArgs::GetPidfileName() const
{
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
index f7d13fe..faa76f8 100644
--- a/desktop/source/app/cmdlineargs.hxx
+++ b/desktop/source/app/cmdlineargs.hxx
@@ -56,40 +56,40 @@ class CommandLineArgs: private boost::noncopyable
boost::optional< OUString > getCwdUrl() const { return m_cwdUrl; }
// Access to bool parameters
- bool IsMinimized() const;
- bool IsInvisible() const;
- bool IsNoRestore() const;
- bool IsNoDefault() const;
- bool IsHeadless() const;
- bool IsQuickstart() const;
- bool IsNoQuickstart() const;
- bool IsTerminateAfterInit() const;
- bool IsNoLogo() const;
- bool IsNoLockcheck() const;
- bool IsHelp() const;
- bool IsHelpWriter() const;
- bool IsHelpCalc() const;
- bool IsHelpDraw() const;
- bool IsHelpImpress() const;
- bool IsHelpBase() const;
- bool IsHelpMath() const;
- bool IsHelpBasic() const;
- bool IsWriter() const;
- bool IsCalc() const;
- bool IsDraw() const;
- bool IsImpress() const;
- bool IsBase() const;
- bool IsGlobal() const;
- bool IsMath() const;
- bool IsWeb() const;
- bool IsVersion() const;
+ bool IsMinimized() const { return m_minimized;}
+ bool IsInvisible() const { return m_invisible;}
+ bool IsNoRestore() const { return m_norestore;}
+ bool IsNoDefault() const { return m_nodefault;}
+ bool IsHeadless() const { return m_headless;}
+ bool IsQuickstart() const { return m_quickstart;}
+ bool IsNoQuickstart() const { return m_noquickstart;}
+ bool IsTerminateAfterInit() const { return m_terminateafterinit;}
+ bool IsNoLogo() const { return m_nologo;}
+ bool IsNoLockcheck() const { return m_nolockcheck;}
+ bool IsHelp() const { return m_help;}
+ bool IsHelpWriter() const { return m_helpwriter;}
+ bool IsHelpCalc() const { return m_helpcalc;}
+ bool IsHelpDraw() const { return m_helpdraw;}
+ bool IsHelpImpress() const { return m_helpimpress;}
+ bool IsHelpBase() const { return m_helpbase;}
+ bool IsHelpMath() const { return m_helpmath;}
+ bool IsHelpBasic() const { return m_helpbasic;}
+ bool IsWriter() const { return m_writer;}
+ bool IsCalc() const { return m_calc;}
+ bool IsDraw() const { return m_draw;}
+ bool IsImpress() const { return m_impress;}
+ bool IsBase() const { return m_base;}
+ bool IsGlobal() const { return m_global;}
+ bool IsMath() const { return m_math;}
+ bool IsWeb() const { return m_web;}
+ bool IsVersion() const { return m_version;}
bool HasModuleParam() const;
- bool WantsToLoadDocument() const;
+ bool WantsToLoadDocument() const { return m_bDocumentArgs;}
OUString GetUnknown() const;
// Access to string parameters
- bool HasSplashPipe() const;
+ bool HasSplashPipe() const { return m_splashpipe;}
std::vector< OUString > const & GetAccept() const;
std::vector< OUString > const & GetUnaccept() const;
std::vector< OUString > GetOpenList() const;
@@ -108,7 +108,7 @@ class CommandLineArgs: private boost::noncopyable
OUString GetPidfileName() const;
// Special analyzed states (does not match directly to a command line parameter!)
- bool IsEmpty() const;
+ bool IsEmpty() const { return m_bEmpty;}
private:
void ParseCommandLine_Impl( Supplier& supplier );
diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
index 6fcfc3c..82bd1c0 100644
--- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
+++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
@@ -151,7 +151,7 @@ public:
FileDoesNotExistFilter(
const css::uno::Reference< css::ucb::XCommandEnvironment >& xCmdEnv);
- bool exist();
+ bool exist() { return m_bExist;}
// XCommandEnvironment
virtual css::uno::Reference<css::task::XInteractionHandler > SAL_CALL
getInteractionHandler() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -263,10 +263,6 @@ FileDoesNotExistFilter::~FileDoesNotExistFilter()
{
};
-bool FileDoesNotExistFilter::exist()
-{
- return m_bExist;
-}
// XCommandEnvironment
Reference<css::task::XInteractionHandler >
FileDoesNotExistFilter::getInteractionHandler() throw (css::uno::RuntimeException, std::exception)
diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx
index e37ab41..25a3626 100644
--- a/desktop/source/migration/services/jvmfwk.cxx
+++ b/desktop/source/migration/services/jvmfwk.cxx
@@ -64,7 +64,7 @@ public:
JavaInfo* pData;
CJavaInfo();
~CJavaInfo();
- operator JavaInfo* () const;
+ operator JavaInfo* () const { return pData;}
};
CJavaInfo::CJavaInfo(): pData(NULL)
@@ -76,10 +76,6 @@ CJavaInfo::~CJavaInfo()
jfw_freeJavaInfo(pData);
}
-CJavaInfo::operator JavaInfo*() const
-{
- return pData;
-}
class JavaMigration : public ::cppu::WeakImplHelper4<
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 8ce0e57..1108825 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -252,20 +252,12 @@ namespace accessibility
}
}
- int AccessibleEditableTextPara::getNotifierClientId() const
- {
- return mnNotifierClientId;
- }
void AccessibleEditableTextPara::SetIndexInParent( sal_Int32 nIndex )
{
mnIndexInParent = nIndex;
}
- sal_Int32 AccessibleEditableTextPara::GetIndexInParent() const
- {
- return mnIndexInParent;
- }
void AccessibleEditableTextPara::SetParagraphIndex( sal_Int32 nIndex )
{
@@ -302,10 +294,6 @@ namespace accessibility
}
}
- sal_Int32 AccessibleEditableTextPara::GetParagraphIndex() const
- {
- return mnParagraphIndex;
- }
void AccessibleEditableTextPara::Dispose()
{
diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx
index 03dc074..334782a 100644
--- a/editeng/source/accessibility/AccessibleImageBullet.cxx
+++ b/editeng/source/accessibility/AccessibleImageBullet.cxx
@@ -474,11 +474,6 @@ namespace accessibility
}
}
- int AccessibleImageBullet::getNotifierClientId() const
- {
-
- return mnNotifierClientId;
- }
void AccessibleImageBullet::SetParagraphIndex( sal_Int32 nIndex )
{
@@ -509,11 +504,6 @@ namespace accessibility
catch( const uno::Exception& ) {} // optional behaviour
}
- sal_Int32 AccessibleImageBullet::GetParagraphIndex() const
- {
-
- return mnParagraphIndex;
- }
SvxEditSource& AccessibleImageBullet::GetEditSource() const
{
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 64fe731..54c96ab 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1185,10 +1185,6 @@ const ContentNode* EditPaM::GetNode() const
return pNode;
}
-ContentNode* EditPaM::GetNode()
-{
- return pNode;
-}
void EditPaM::SetNode(ContentNode* p)
{
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 1d8c5f9..40d5a9d 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -306,7 +306,7 @@ public:
EditPaM(ContentNode* p, sal_Int32 n);
const ContentNode* GetNode() const;
- ContentNode* GetNode();
+ ContentNode* GetNode() { return pNode;}
void SetNode(ContentNode* p);
sal_Int32 GetIndex() const { return nIndex; }
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index 41fddb0..9938e9c 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -620,10 +620,6 @@ EditTextObjectImpl::~EditTextObjectImpl()
}
}
-sal_uInt16 EditTextObjectImpl::GetUserType() const
-{
- return nUserType;
-}
void EditTextObjectImpl::SetUserType( sal_uInt16 n )
{
@@ -653,10 +649,6 @@ std::vector<svl::SharedString> EditTextObjectImpl::GetSharedStrings() const
return aSSs;
}
-bool EditTextObjectImpl::IsVertical() const
-{
- return bVertical;
-}
void EditTextObjectImpl::SetVertical( bool b )
{
@@ -667,10 +659,6 @@ void EditTextObjectImpl::SetVertical( bool b )
}
}
-sal_uInt16 EditTextObjectImpl::GetScriptType() const
-{
- return nScriptType;
-}
void EditTextObjectImpl::SetScriptType( sal_uInt16 nType )
{
diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx
index c5ec2e6..1e9773c 100644
--- a/editeng/source/editeng/editobj2.hxx
+++ b/editeng/source/editeng/editobj2.hxx
@@ -205,16 +205,16 @@ public:
EditTextObjectImpl( EditTextObject* pFront, const EditTextObjectImpl& r );
~EditTextObjectImpl();
- sal_uInt16 GetUserType() const;
+ sal_uInt16 GetUserType() const { return nUserType;}
void SetUserType( sal_uInt16 n );
void NormalizeString( svl::SharedStringPool& rPool );
std::vector<svl::SharedString> GetSharedStrings() const;
- bool IsVertical() const;
+ bool IsVertical() const { return bVertical;}
void SetVertical( bool b );
- sal_uInt16 GetScriptType() const;
+ sal_uInt16 GetScriptType() const { return nScriptType;}
void SetScriptType( sal_uInt16 nType );
ContentInfo* CreateAndInsertContent();
diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx
index 55d3b5c3..f3e5355 100644
--- a/editeng/source/editeng/editundo.cxx
+++ b/editeng/source/editeng/editundo.cxx
@@ -126,10 +126,6 @@ EditUndo::~EditUndo()
{
}
-EditEngine* EditUndo::GetEditEngine()
-{
- return mpEditEngine;
-}
sal_uInt16 EditUndo::GetId() const
{
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index 33fc1e7..69a1b2c 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -721,10 +721,6 @@ void SvxTableField::SetTab(int nTab)
mnTab = nTab;
}
-int SvxTableField::GetTab() const
-{
- return mnTab;
-}
SvxFieldData* SvxTableField::Clone() const
{
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 129197e..56cfeac 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -449,10 +449,6 @@ void SvxNumberFormat::SetBulletFont(const Font* pFont)
pBulletFont = pFont ? new Font(*pFont): 0;
}
-SvxNumberFormat::SvxNumPositionAndSpaceMode SvxNumberFormat::GetPositionAndSpaceMode() const
-{
- return mePositionAndSpaceMode;
-}
void SvxNumberFormat::SetPositionAndSpaceMode( SvxNumPositionAndSpaceMode ePositionAndSpaceMode )
{
mePositionAndSpaceMode = ePositionAndSpaceMode;
@@ -483,34 +479,18 @@ void SvxNumberFormat::SetLabelFollowedBy( const LabelFollowedBy eLabelFollowedBy
{
meLabelFollowedBy = eLabelFollowedBy;
}
-SvxNumberFormat::LabelFollowedBy SvxNumberFormat::GetLabelFollowedBy() const
-{
- return meLabelFollowedBy;
-}
void SvxNumberFormat::SetListtabPos( const long nListtabPos )
{
mnListtabPos = nListtabPos;
}
-long SvxNumberFormat::GetListtabPos() const
-{
- return mnListtabPos;
-}
void SvxNumberFormat::SetFirstLineIndent( const long nFirstLineIndent )
{
mnFirstLineIndent = nFirstLineIndent;
}
-long SvxNumberFormat::GetFirstLineIndent() const
-{
- return mnFirstLineIndent;
-}
void SvxNumberFormat::SetIndentAt( const long nIndentAt )
{
mnIndentAt = nIndentAt;
}
-long SvxNumberFormat::GetIndentAt() const
-{
- return mnIndentAt;
-}
IMPL_STATIC_LINK( SvxNumberFormat, GraphicArrived, void *, EMPTYARG )
{
diff --git a/editeng/source/uno/unoedhlp.cxx b/editeng/source/uno/unoedhlp.cxx
index c8d0be8..eb42e67 100644
--- a/editeng/source/uno/unoedhlp.cxx
+++ b/editeng/source/uno/unoedhlp.cxx
@@ -45,15 +45,7 @@ sal_uLong SvxEditSourceHint::GetValue() const
return TextHint::GetValue();
}
-sal_Int32 SvxEditSourceHint::GetStartValue() const
-{
- return mnStart;
-}
-sal_Int32 SvxEditSourceHint::GetEndValue() const
-{
- return mnEnd;
-}
TYPEINIT1( SvxEditSourceHintEndPara , SvxEditSourceHint );
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index 8a3eb56..961898e 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -422,10 +422,6 @@ void SvxEditSourceAdapter::SetEditSource( ::std::auto_ptr< SvxEditSource > pAdap
}
SAL_WNODEPRECATED_DECLARATIONS_POP
-bool SvxEditSourceAdapter::IsValid() const
-{
- return mbEditSourceValid;
-}
diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx
index 4af9c7f..23da15b 100644
--- a/extensions/source/propctrlr/commoncontrol.cxx
+++ b/extensions/source/propctrlr/commoncontrol.cxx
@@ -56,10 +56,6 @@ namespace pcr
}
- ::sal_Int16 SAL_CALL ControlHelper::getControlType() throw (RuntimeException)
- {
- return m_nControlType;
- }
Reference< XPropertyControlContext > SAL_CALL ControlHelper::getControlContext() throw (RuntimeException)
@@ -80,10 +76,6 @@ namespace pcr
}
- bool SAL_CALL ControlHelper::isModified( ) throw (RuntimeException)
- {
- return m_bModified;
- }
void SAL_CALL ControlHelper::notifyModifiedValue( ) throw (RuntimeException)
diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx
index 9be15b7..7eab623 100644
--- a/extensions/source/propctrlr/commoncontrol.hxx
+++ b/extensions/source/propctrlr/commoncontrol.hxx
@@ -131,11 +131,11 @@ namespace pcr
public:
// XPropertyControl
- ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException);
+ ::sal_Int16 SAL_CALL getControlType() throw (::com::sun::star::uno::RuntimeException) { return m_nControlType; }
::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext > SAL_CALL getControlContext() throw (::com::sun::star::uno::RuntimeException);
void SAL_CALL setControlContext( const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlContext >& _controlcontext ) throw (::com::sun::star::uno::RuntimeException);
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getControlWindow() throw (::com::sun::star::uno::RuntimeException);
- bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException);
+ bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException) { return m_bModified; }
void SAL_CALL notifyModifiedValue( ) throw (::com::sun::star::uno::RuntimeException);
// XComponent
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index c302e44..364d07f 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -336,10 +336,6 @@ namespace pcr
}
- bool OPropertyEditor::HasHelpSection() const
- {
- return m_bHasHelpSection;
- }
void OPropertyEditor::SetHelpText( const OUString& _rHelpText )
diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx
index 85aad9e..e80dcee 100644
--- a/extensions/source/propctrlr/propertyeditor.hxx
+++ b/extensions/source/propctrlr/propertyeditor.hxx
@@ -82,7 +82,7 @@ namespace pcr
void SetControlObserver( IPropertyControlObserver* );
void EnableHelpSection( bool _bEnable );
- bool HasHelpSection() const;
+ bool HasHelpSection() const { return m_bHasHelpSection; }
void SetHelpText( const OUString& _rHelpText );
void SetHelpLineLimites( sal_Int32 _nMinLines, sal_Int32 _nMaxLines );
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index eb25a21..173ad3b 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -1379,9 +1379,5 @@ bool SaneDlg::SetAdjustedNumericalValue(
return true;
}
-bool SaneDlg::getDoScan()
-{
- return doScan;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/scanner/sanedlg.hxx b/extensions/source/scanner/sanedlg.hxx
index f91a260..1bb2836 100644
--- a/extensions/source/scanner/sanedlg.hxx
+++ b/extensions/source/scanner/sanedlg.hxx
@@ -138,7 +138,7 @@ public:
virtual ~SaneDlg();
virtual short Execute() SAL_OVERRIDE;
- bool getDoScan();
+ bool getDoScan() { return doScan;}
};
diff --git a/filter/source/graphicfilter/icgm/bitmap.cxx b/filter/source/graphicfilter/icgm/bitmap.cxx
index d6fd86f..b0b844f 100644
--- a/filter/source/graphicfilter/icgm/bitmap.cxx
+++ b/filter/source/graphicfilter/icgm/bitmap.cxx
@@ -393,9 +393,5 @@ CGMBitmap* CGMBitmap::GetNext()
-CGMBitmapDescriptor* CGMBitmap::GetBitmap()
-{
- return pCGMBitmapDescriptor;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/filter/source/graphicfilter/icgm/bitmap.hxx b/filter/source/graphicfilter/icgm/bitmap.hxx
index 4b51352..9db74c9 100644
--- a/filter/source/graphicfilter/icgm/bitmap.hxx
+++ b/filter/source/graphicfilter/icgm/bitmap.hxx
@@ -83,7 +83,7 @@ class CGMBitmap
public:
CGMBitmap( CGM& rCGM );
~CGMBitmap();
- CGMBitmapDescriptor* GetBitmap();
+ CGMBitmapDescriptor* GetBitmap() { return pCGMBitmapDescriptor;}
CGMBitmap* GetNext();
};
#endif
diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx
index bfd8045..fe2180b 100644
--- a/filter/source/graphicfilter/icgm/bundles.cxx
+++ b/filter/source/graphicfilter/icgm/bundles.cxx
@@ -37,10 +37,6 @@ void Bundle::SetColor( sal_uInt32 nColor )
mnColor = nColor;
}
-sal_uInt32 Bundle::GetColor() const
-{
- return mnColor;
-}
diff --git a/filter/source/graphicfilter/icgm/bundles.hxx b/filter/source/graphicfilter/icgm/bundles.hxx
index 6a3f9d0..5e5ed00 100644
--- a/filter/source/graphicfilter/icgm/bundles.hxx
+++ b/filter/source/graphicfilter/icgm/bundles.hxx
@@ -35,7 +35,7 @@ class Bundle
public:
void SetColor( sal_uInt32 nColor ) ;
- sal_uInt32 GetColor() const;
+ sal_uInt32 GetColor() const { return mnColor;}
long GetIndex() const { return mnBundleIndex; } ;
void SetIndex( long nBundleIndex ) { mnBundleIndex = nBundleIndex; } ;
diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx
index 0fd59db..c39a0f2 100644
--- a/filter/source/msfilter/eschesdo.cxx
+++ b/filter/source/msfilter/eschesdo.cxx
@@ -1268,10 +1268,6 @@ bool ImplEESdrObject::ImplHasText() const
return xXText.is() && !xXText->getString().isEmpty();
}
-bool ImplEESdrObject::GetOOXML() const
-{
- return mbOOXML;
-}
void ImplEESdrObject::SetOOXML(bool bOOXML)
{
diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx
index 11a9c61..7ef49a2 100644
--- a/filter/source/msfilter/eschesdo.hxx
+++ b/filter/source/msfilter/eschesdo.hxx
@@ -86,7 +86,7 @@ public:
sal_uInt32 ImplGetText();
bool ImplHasText() const;
- bool GetOOXML() const;
+ bool GetOOXML() const { return mbOOXML;}
void SetOOXML(bool bOOXML);
};
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index 8d85688..ccc9b17 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -157,10 +157,6 @@ IMPL_LINK_NOARG(XMLFilterSettingsDialog, DoubleClickHdl_Impl)
return 0;
}
-bool XMLFilterSettingsDialog::isClosable()
-{
- return m_bIsClosable;
-}
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
index 7fbd362..1af868f 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.hxx
@@ -106,7 +106,7 @@ public:
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
- bool isClosable();
+ bool isClosable() { return m_bIsClosable;}
private:
void initFilterList();
diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.cxx b/filter/source/xsltdialog/xmlfiltertabdialog.cxx
index 78da78b..2969b95 100644
--- a/filter/source/xsltdialog/xmlfiltertabdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertabdialog.cxx
@@ -273,10 +273,6 @@ bool XMLFilterTabDialog::onOk()
-filter_info_impl* XMLFilterTabDialog::getNewFilterInfo() const
-{
- return mpNewInfo;
-}
diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.hxx b/filter/source/xsltdialog/xmlfiltertabdialog.hxx
index 726d857..c44c8a5 100644
--- a/filter/source/xsltdialog/xmlfiltertabdialog.hxx
+++ b/filter/source/xsltdialog/xmlfiltertabdialog.hxx
@@ -39,7 +39,7 @@ public:
bool onOk();
- filter_info_impl* getNewFilterInfo() const;
+ filter_info_impl* getNewFilterInfo() const { return mpNewInfo;}
private:
com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > mxContext;
diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx
index 18a7d66..b18995f 100644
--- a/forms/source/richtext/richtextviewport.cxx
+++ b/forms/source/richtext/richtextviewport.cxx
@@ -103,10 +103,6 @@ namespace frm
}
- bool RichTextViewPort::GetHideInactiveSelection() const
- {
- return m_bHideInactiveSelection;
- }
} // namespace frm
diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx
index b33a5e7..fdd4bb0 100644
--- a/forms/source/richtext/richtextviewport.hxx
+++ b/forms/source/richtext/richtextviewport.hxx
@@ -41,7 +41,7 @@ namespace frm
inline void setAttributeInvalidationHandler( const Link& _rHandler ) { m_aInvalidationHandler = _rHandler; }
void SetHideInactiveSelection( bool _bHide );
- bool GetHideInactiveSelection() const;
+ bool GetHideInactiveSelection() const { return m_bHideInactiveSelection; }
protected:
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx
index 809f80f..b00077d 100644
--- a/forms/source/xforms/computedexpression.cxx
+++ b/forms/source/xforms/computedexpression.cxx
@@ -106,12 +106,6 @@ bool ComputedExpression::_checkExpression( const sal_Char* pExpression ) const
&& ( nStart == 0 && nEnd == nLength );
}
-/// do we have an actual expression?
-bool ComputedExpression::isEmptyExpression() const
-{
- return mbIsEmpty;
-}
-
bool ComputedExpression::isSimpleExpression() const
{
// actual work is done by setExpression
diff --git a/forms/source/xforms/computedexpression.hxx b/forms/source/xforms/computedexpression.hxx
index e6f8ba2..a2c4305 100644
--- a/forms/source/xforms/computedexpression.hxx
+++ b/forms/source/xforms/computedexpression.hxx
@@ -94,7 +94,7 @@ public:
void setNamespaces( const com::sun::star::uno::Reference<com::sun::star::container::XNameContainer>& );
/// do we have an actual expression?
- bool isEmptyExpression() const;
+ bool isEmptyExpression() const { return mbIsEmpty;}
/// heuristically determine whether this expression is 'simple',
/// i.e. whether its value will change depending on the values
diff --git a/forms/source/xforms/mip.cxx b/forms/source/xforms/mip.cxx
index e8ccd35..493881b 100644
--- a/forms/source/xforms/mip.cxx
+++ b/forms/source/xforms/mip.cxx
@@ -77,23 +77,16 @@ void MIP::join( const MIP& rMip )
inherit( rMip );
}
-bool MIP::hasReadonly() const { return mbHasReadonly; }
bool MIP::isReadonly() const { return mbHasReadonly ? mbReadonly : mbHasCalculate; }
void MIP::setReadonly( bool b ) { mbHasReadonly = true; mbReadonly = b; }
void MIP::resetReadonly() { mbHasReadonly = false; mbReadonly = false; }
-bool MIP::hasRequired() const { return mbHasRequired; }
-bool MIP::isRequired() const { return mbRequired; }
void MIP::setRequired( bool b ) { mbHasRequired = true; mbRequired = b; }
void MIP::resetRequired() { mbHasRequired = false; mbRequired = false; }
-bool MIP::hasRelevant() const { return mbHasRelevant; }
-bool MIP::isRelevant() const { return mbRelevant; }
void MIP::setRelevant( bool b ) { mbHasRelevant = true; mbRelevant = b; }
void MIP::resetRelevant() { mbHasRelevant = false; mbRelevant = true; }
-bool MIP::hasConstraint() const { return mbHasConstraint; }
-bool MIP::isConstraint() const { return mbConstraint; }
void MIP::setConstraint( bool b ) { mbHasConstraint = true; mbConstraint = b; msConstraintExplanation = OUString(); }
void MIP::resetConstraint() { mbHasConstraint = false; mbConstraint = true; msConstraintExplanation = OUString(); }
@@ -101,11 +94,9 @@ void MIP::setConstraintExplanation( const OUString& s ) { msConstraintExplanatio
OUString MIP::getConstraintExplanation() const { return msConstraintExplanation; }
-bool MIP::hasCalculate() const { return mbHasCalculate; }
void MIP::setHasCalculate( bool b ) { mbHasCalculate = b; }
void MIP::resetCalculate() { mbHasCalculate = false; }
-bool MIP::hasTypeName() const { return mbHasTypeName; }
OUString MIP::getTypeName() const { return msTypeName; }
void MIP::setTypeName( const OUString& s ) { msTypeName = s; mbHasTypeName = true; }
void MIP::resetTypeName() { msTypeName = OUString(); mbHasTypeName = false; }
diff --git a/forms/source/xforms/mip.hxx b/forms/source/xforms/mip.hxx
index d9974da..361f122 100644
--- a/forms/source/xforms/mip.hxx
+++ b/forms/source/xforms/mip.hxx
@@ -63,32 +63,32 @@ public:
// - type (static; default: xsd:string)
// (currently default implemented as empty string)
- bool hasTypeName() const;
+ bool hasTypeName() const { return mbHasTypeName; }
OUString getTypeName() const;
void setTypeName( const OUString& );
void resetTypeName();
// - readonly (computed XPath; default: false; true if calculate exists)
- bool hasReadonly() const;
+ bool hasReadonly() const { return mbHasReadonly; }
bool isReadonly() const;
void setReadonly( bool );
void resetReadonly();
// - required (computed XPath; default: false)
- bool hasRequired() const;
- bool isRequired() const;
+ bool hasRequired() const { return mbHasRequired; }
+ bool isRequired() const { return mbRequired; }
void setRequired( bool );
void resetRequired();
// - relevant (computed XPath; default: true)
- bool hasRelevant() const;
- bool isRelevant() const;
+ bool hasRelevant() const { return mbHasRelevant; }
+ bool isRelevant() const { return mbRelevant; }
void setRelevant( bool );
void resetRelevant();
// - constraing (computed XPath; default: true)
- bool hasConstraint() const;
- bool isConstraint() const;
+ bool hasConstraint() const { return mbHasConstraint; }
+ bool isConstraint() const { return mbConstraint; }
void setConstraint( bool );
void resetConstraint();
@@ -100,7 +100,7 @@ public:
// (for calculate, we only store whether a calculate MIP is present;
// the actual calculate value is handled my changing the instance
// directly)
- bool hasCalculate() const;
+ bool hasCalculate() const { return mbHasCalculate; }
void setHasCalculate( bool );
void resetCalculate();
diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx
index a17158e..d4aafdd 100644
--- a/forms/source/xforms/model.cxx
+++ b/forms/source/xforms/model.cxx
@@ -207,10 +207,6 @@ void Model::setNamespaces( const XNameContainer_t& rNamespaces )
mxNamespaces = rNamespaces;
}
-bool Model::getExternalData() const
-{
- return mbExternalData;
-}
void Model::setExternalData( bool _bData )
{
@@ -426,10 +422,6 @@ void Model::loadInstances()
}
}
-bool Model::isInitialized() const
-{
- return mbInitialized;
-}
bool Model::isValid() const
{
diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx
index 56ce371..5559d6a 100644
--- a/forms/source/xforms/model.hxx
+++ b/forms/source/xforms/model.hxx
@@ -156,7 +156,7 @@ public:
void setNamespaces( const XNameContainer_t& );
// get/set the ExternalData property
- bool getExternalData() const;
+ bool getExternalData() const { return mbExternalData;}
void setExternalData( bool _bData );
@@ -194,7 +194,7 @@ public:
void loadInstances();
/// has model been initialized?
- bool isInitialized() const;
+ bool isInitialized() const { return mbInitialized;}
/// is model currently valid (for submission)?
bool isValid() const;
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index 4d21f97..a3eb261 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -175,10 +175,6 @@ void Submission::setVersion( const OUString& sVersion )
msVersion = sVersion;
}
-bool Submission::getIndent() const
-{
- return mbIndent;
-}
void Submission::setIndent( bool bIndent )
{
@@ -205,20 +201,12 @@ void Submission::setEncoding( const OUString& sEncoding )
msEncoding = sEncoding;
}
-bool Submission::getOmitXmlDeclaration() const
-{
- return mbOmitXmlDeclaration;
-}
void Submission::setOmitXmlDeclaration( bool bOmitXmlDeclaration )
{
mbOmitXmlDeclaration = bOmitXmlDeclaration;
}
-bool Submission::getStandalone() const
-{
- return mbStandalone;
-}
void Submission::setStandalone( bool bStandalone )
{
diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx
index 07ea512..a431f54 100644
--- a/forms/source/xforms/submission.hxx
+++ b/forms/source/xforms/submission.hxx
@@ -126,7 +126,7 @@ public:
OUString getVersion() const;
void setVersion( const OUString& );
- bool getIndent() const;
+ bool getIndent() const { return mbIndent;}
void setIndent( bool );
OUString getMediaType() const;
@@ -135,10 +135,10 @@ public:
OUString getEncoding() const;
void setEncoding( const OUString& );
- bool getOmitXmlDeclaration() const;
+ bool getOmitXmlDeclaration() const { return mbOmitXmlDeclaration;}
void setOmitXmlDeclaration( bool );
- bool getStandalone() const;
+ bool getStandalone() const { return mbStandalone;}
void setStandalone( bool );
OUString getCDataSectionElement() const;
diff --git a/formula/source/core/api/vectortoken.cxx b/formula/source/core/api/vectortoken.cxx
index c1ff94c..4cf764f 100644
--- a/formula/source/core/api/vectortoken.cxx
+++ b/formula/source/core/api/vectortoken.cxx
@@ -36,10 +36,6 @@ VectorRefArray::VectorRefArray( const double* pNumArray, rtl_uString** pStrArray
mpStringArray(pStrArray),
mbValid(true) {}
-bool VectorRefArray::isValid() const
-{
- return mbValid;
-}
SingleVectorRefToken::SingleVectorRefToken( const VectorRefArray& rArray, size_t nReqLength, size_t nArrayLength ) :
FormulaToken(svSingleVectorRef, ocPush), maArray(rArray), mnRequestedLength(nReqLength), mnArrayLength(nArrayLength) {}
diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx
index 68939ba..bb0ee20 100644
--- a/formula/source/ui/dlg/parawin.cxx
+++ b/formula/source/ui/dlg/parawin.cxx
@@ -217,10 +217,6 @@ ParaWin::~ParaWin()
aBtnFx4.SetGetFocusHdl( aEmptyLink );
}
-sal_uInt16 ParaWin::GetActiveLine()
-{
- return nActiveLine;
-}
void ParaWin::SetActiveLine(sal_uInt16 no)
{
diff --git a/formula/source/ui/dlg/parawin.hxx b/formula/source/ui/dlg/parawin.hxx
index 70858e3..3b2df6b 100644
--- a/formula/source/ui/dlg/parawin.hxx
+++ b/formula/source/ui/dlg/parawin.hxx
@@ -135,7 +135,7 @@ public:
bool IsRefMode() {return bRefMode;}
void SetRefMode(bool bFlag) {bRefMode=bFlag;}
- sal_uInt16 GetActiveLine();
+ sal_uInt16 GetActiveLine() { return nActiveLine;}
void SetActiveLine(sal_uInt16 no);
RefEdit* GetActiveEdit();
OUString GetActiveArgName();
diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx
index d3e0270..3171fe3 100644
--- a/formula/source/ui/dlg/structpg.cxx
+++ b/formula/source/ui/dlg/structpg.cxx
@@ -58,10 +58,6 @@ void StructListBox::SetActiveFlag(bool bFlag)
bActiveFlag=bFlag;
}
-bool StructListBox::GetActiveFlag()
-{
- return bActiveFlag;
-}
void StructListBox::MouseButtonDown( const MouseEvent& rMEvt )
{
diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx
index 85829ae..f508698 100644
--- a/formula/source/ui/dlg/structpg.hxx
+++ b/formula/source/ui/dlg/structpg.hxx
@@ -59,7 +59,7 @@ public:
IFormulaToken* pToken = NULL );
void SetActiveFlag(bool bFlag=true);
- bool GetActiveFlag();
+ bool GetActiveFlag() { return bActiveFlag;}
void GetFocus() SAL_OVERRIDE;
void LoseFocus() SAL_OVERRIDE;
};
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx
index c3b3818..67430c5 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -99,9 +99,6 @@ void PlacesListBox::AppendPlace( PlacePtr pPlace )
}
}
-sal_Int32 PlacesListBox::GetNbEditablePlaces() {
- return mnNbEditables;
-}
bool PlacesListBox::IsUpdated() {
if(mbUpdated) {
@@ -111,9 +108,6 @@ bool PlacesListBox::IsUpdated() {
return false;
}
-const std::vector<PlacePtr>& PlacesListBox::GetPlaces() {
- return maPlaces;
-}
void PlacesListBox::RemovePlace( sal_uInt16 nPos )
{
diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx
index 51d300b..19a5963 100644
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list