summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fuins1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 12:24:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 15:15:14 +0200
commitc137c2a46cd2276938d572c97fb111b9aa31cdfd (patch)
tree9fe4c1809e836f3c177fd930b632af6cad5407c0 /sc/source/ui/drawfunc/fuins1.cxx
parent9fe857b7bd126ff4856fc4689d375881653b97a2 (diff)
loplugin:constparam in sc part5
Change-Id: Iba249d4d8f7cc686941106983031bae53c7528e1 Reviewed-on: https://gerrit.libreoffice.org/41510 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/drawfunc/fuins1.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuins1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/fuins1.cxx b/sc/source/ui/drawfunc/fuins1.cxx
index 71474a37b6e1..1177c90e9d84 100644
--- a/sc/source/ui/drawfunc/fuins1.cxx
+++ b/sc/source/ui/drawfunc/fuins1.cxx
@@ -90,7 +90,7 @@ void ScLimitSizeOnDrawPage( Size& rSize, Point& rPos, const Size& rPage )
static void lcl_InsertGraphic( const Graphic& rGraphic,
const OUString& rFileName, const OUString& rFilterName, bool bAsLink, bool bApi,
- ScTabViewShell* pViewSh, vcl::Window* pWindow, SdrView* pView )
+ ScTabViewShell* pViewSh, const vcl::Window* pWindow, SdrView* pView )
{
ScDrawView* pDrawView = pViewSh->GetScDrawView();
@@ -174,7 +174,7 @@ static void lcl_InsertGraphic( const Graphic& rGraphic,
}
static void lcl_InsertMedia( const OUString& rMediaURL, bool bApi,
- ScTabViewShell* pViewSh, vcl::Window* pWindow, SdrView* pView,
+ ScTabViewShell* pViewSh, const vcl::Window* pWindow, SdrView* pView,
const Size& rPrefSize, bool const bLink )
{
SdrPageView* pPV = pView->GetSdrPageView();
@@ -293,7 +293,7 @@ FuInsertMedia::FuInsertMedia( ScTabViewShell* pViewSh,
vcl::Window* pWin,
ScDrawView* pViewP,
SdrModel* pDoc,
- SfxRequest& rReq ) :
+ const SfxRequest& rReq ) :
FuPoor(pViewSh, pWin, pViewP, pDoc, rReq)
{
OUString aURL;