summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/mainwn.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-05 15:20:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-06 20:13:53 +0200
commit8ef6be73325dbb6761b247ff187c709ba0f81bfb (patch)
treef7f066cf9cf154061cbc2b584d977eb6fc4ad03c /sw/source/uibase/app/mainwn.cxx
parent8f629b8fbeb13a593f6aff28d2ff0399eb4ee56a (diff)
loplugin:constparams in sw part6
Change-Id: Ic82946cf9be50d9d9c43338b86dfb700ce5b354c Reviewed-on: https://gerrit.libreoffice.org/40786 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/app/mainwn.cxx')
-rw-r--r--sw/source/uibase/app/mainwn.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/app/mainwn.cxx b/sw/source/uibase/app/mainwn.cxx
index fbc3340990ff..4c690b0ce714 100644
--- a/sw/source/uibase/app/mainwn.cxx
+++ b/sw/source/uibase/app/mainwn.cxx
@@ -35,7 +35,7 @@ struct SwProgress
static std::vector<SwProgress*> *pProgressContainer = nullptr;
-static SwProgress *lcl_SwFindProgress( SwDocShell *pDocShell )
+static SwProgress *lcl_SwFindProgress( SwDocShell const *pDocShell )
{
for (SwProgress* pTmp : *pProgressContainer)
{
@@ -73,7 +73,7 @@ void StartProgress( const char* pMessResId, long nStartValue, long nEndValue,
}
}
-void SetProgressState( long nPosition, SwDocShell *pDocShell )
+void SetProgressState( long nPosition, SwDocShell const *pDocShell )
{
if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() )
{
@@ -83,7 +83,7 @@ void SetProgressState( long nPosition, SwDocShell *pDocShell )
}
}
-void EndProgress( SwDocShell *pDocShell )
+void EndProgress( SwDocShell const *pDocShell )
{
if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() )
{
@@ -116,7 +116,7 @@ void EndProgress( SwDocShell *pDocShell )
}
}
-void SetProgressText(const char* pId, SwDocShell *pDocShell)
+void SetProgressText(const char* pId, SwDocShell const *pDocShell)
{
if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() )
{
@@ -126,7 +126,7 @@ void SetProgressText(const char* pId, SwDocShell *pDocShell)
}
}
-void RescheduleProgress( SwDocShell *pDocShell )
+void RescheduleProgress( SwDocShell const *pDocShell )
{
if( pProgressContainer && !SW_MOD()->IsEmbeddedLoadSave() )
{