summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 15:32:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 18:37:47 +0200
commit1f8fbff65d91f1d8297b94dd67fffceb7475dce5 (patch)
tree35ecc29ca2734db28e69cfb22c54e0e2d0ad3580 /desktop
parent4bc31abb56f806ee399344160ce0d7c27af48f5e (diff)
loplugin:const* make some params and methods const
Change-Id: I97c5bbb929a2a4a029af4e6cb0fd571bbc2b698b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104030 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0d94f67cea11..a05da99d47a6 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -715,7 +715,7 @@ std::string extractPrivateKey(const std::string & privateKey)
return privateKey.substr(pos1, pos2);
}
-OUString lcl_getCurrentDocumentMimeType(LibLODocument_Impl* pDocument)
+OUString lcl_getCurrentDocumentMimeType(const LibLODocument_Impl* pDocument)
{
SfxBaseModel* pBaseModel = dynamic_cast<SfxBaseModel*>(pDocument->mxComponent.get());
if (!pBaseModel)