summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 17:44:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 09:19:54 +0200
commit039d9b97b720d9dc735413b292382104b63014d5 (patch)
treee366b57f1bf03ded002414f52bccddf98fb94e2e /framework/source/services
parentc0565f7011fa6d6b295e522c023127970ccce822 (diff)
loplugin:constparams in framework
Change-Id: Iecd19a0cbb3cc78158c17bfa064cc23bafc44b18 Reviewed-on: https://gerrit.libreoffice.org/40206 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/autorecovery.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 78237387d428..fc33349faebc 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -815,7 +815,7 @@ private:
*/
static css::frame::FeatureStateEvent implst_createFeatureStateEvent( sal_Int32 eJob ,
const OUString& sEventType,
- AutoRecovery::TDocumentInfo* pInfo );
+ AutoRecovery::TDocumentInfo const * pInfo );
class ListenerInformer
{
@@ -2742,7 +2742,7 @@ void AutoRecovery::implts_changeAllDocVisibility(bool bVisible)
/* Currently the document is not closed in case of crash,
so the lock file must be removed explicitly
*/
-void lc_removeLockFile(AutoRecovery::TDocumentInfo& rInfo)
+void lc_removeLockFile(AutoRecovery::TDocumentInfo const & rInfo)
{
#if !HAVE_FEATURE_MULTIUSER_ENVIRONMENT || HAVE_FEATURE_MACOSX_SANDBOX
(void) rInfo;
@@ -2846,7 +2846,7 @@ void AutoRecovery::implts_prepareSessionShutdown()
So we ignore such documents only...
Hopefully next time they are not inserted in our cache.
*/
-bool lc_checkIfSaveForbiddenByArguments(AutoRecovery::TDocumentInfo& rInfo)
+bool lc_checkIfSaveForbiddenByArguments(AutoRecovery::TDocumentInfo const & rInfo)
{
if (! rInfo.Document.is())
return true;
@@ -3609,7 +3609,7 @@ sal_Int32 AutoRecovery::implst_classifyJob(const css::util::URL& aURL)
css::frame::FeatureStateEvent AutoRecovery::implst_createFeatureStateEvent( sal_Int32 eJob ,
const OUString& sEventType,
- AutoRecovery::TDocumentInfo* pInfo )
+ AutoRecovery::TDocumentInfo const * pInfo )
{
css::frame::FeatureStateEvent aEvent;
aEvent.FeatureURL.Complete = AutoRecovery::implst_getJobDescription(eJob);