diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-06 20:12:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-06 21:52:20 +0200 |
commit | 84a56eac83f220fd917a5433fe9da4b7815dfff6 (patch) | |
tree | f02806412cb23061828ca6209ddb91a8d662b986 /sw/source/uibase/ribbar | |
parent | 8ef6be73325dbb6761b247ff187c709ba0f81bfb (diff) |
loplugin:constparams in sw part7
Change-Id: Iaace9c024649481b2f7cdd67aaf1e86624fe0d4a
Reviewed-on: https://gerrit.libreoffice.org/40811
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/ribbar')
-rw-r--r-- | sw/source/uibase/ribbar/concustomshape.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/ribbar/inputwin.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/ribbar/concustomshape.cxx b/sw/source/uibase/ribbar/concustomshape.cxx index a0a3c061ade4..be8e19e092ab 100644 --- a/sw/source/uibase/ribbar/concustomshape.cxx +++ b/sw/source/uibase/ribbar/concustomshape.cxx @@ -47,7 +47,7 @@ using namespace com::sun::star; -ConstCustomShape::ConstCustomShape( SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView, SfxRequest& rReq ) +ConstCustomShape::ConstCustomShape( SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* pSwView, SfxRequest const & rReq ) : SwDrawBase( pWrtShell, pEditWin, pSwView ) { aCustomShape = ConstCustomShape::GetShapeTypeFromRequest( rReq ); @@ -58,7 +58,7 @@ const OUString& ConstCustomShape::GetShapeType() const return aCustomShape; } -OUString ConstCustomShape::GetShapeTypeFromRequest( SfxRequest& rReq ) +OUString ConstCustomShape::GetShapeTypeFromRequest( SfxRequest const & rReq ) { OUString aRet; const SfxItemSet* pArgs = rReq.GetArgs(); diff --git a/sw/source/uibase/ribbar/inputwin.cxx b/sw/source/uibase/ribbar/inputwin.cxx index 345697ab8e4b..b7d4c95d047e 100644 --- a/sw/source/uibase/ribbar/inputwin.cxx +++ b/sw/source/uibase/ribbar/inputwin.cxx @@ -59,7 +59,7 @@ SFX_IMPL_POS_CHILDWINDOW_WITHID( SwInputChild, FN_EDIT_FORMULA, SFX_OBJECTBAR_OBJECT ) -SwInputWindow::SwInputWindow(vcl::Window* pParent, SfxDispatcher* pDispatcher) +SwInputWindow::SwInputWindow(vcl::Window* pParent, SfxDispatcher const * pDispatcher) : ToolBox(pParent, WB_3DLOOK|WB_BORDER) , aPos(VclPtr<Edit>::Create(this, WB_3DLOOK|WB_CENTER|WB_BORDER|WB_READONLY)) , aEdit(VclPtr<InputEdit>::Create(this, WB_3DLOOK|WB_TABSTOP|WB_BORDER|WB_NOHIDESELECTION)) @@ -568,7 +568,7 @@ void InputEdit::UpdateRange(const OUString& rBoxes, SwInputChild::SwInputChild(vcl::Window* _pParent, sal_uInt16 nId, - SfxBindings* pBindings, + SfxBindings const * pBindings, SfxChildWinInfo* ) : SfxChildWindow( _pParent, nId ) { |