summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-31 12:09:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-31 12:14:40 +0200
commit3e9619c747c1c4e50a6404313699643452b14a34 (patch)
treed38a98107142edcf48ac3cffeb04ab1a84881b6e /embedserv
parent287386df1f9277c8fbd22d48a8ff3dd9d183e1bc (diff)
loplugin:constparams: embedserv (clang-cl)
Change-Id: I6faa8df32e57a846968423cfbe026ce96f6ca7e8
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/embed/guid.cxx6
-rw-r--r--embedserv/source/embed/guid.hxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/embedserv/source/embed/guid.cxx b/embedserv/source/embed/guid.cxx
index 99d69bad0649..f5a55eb943fd 100644
--- a/embedserv/source/embed/guid.cxx
+++ b/embedserv/source/embed/guid.cxx
@@ -26,7 +26,7 @@
#include <guid.hxx>
-wchar_t const * getStorageTypeFromGUID_Impl( GUID* guid )
+wchar_t const * getStorageTypeFromGUID_Impl( GUID const * guid )
{
if ( *guid == OID_WriterTextServer )
return L"soffice.StarWriterDocument.6";
@@ -61,7 +61,7 @@ wchar_t const * getStorageTypeFromGUID_Impl( GUID* guid )
return L"";
}
-o3tl::u16string_view getServiceNameFromGUID_Impl( GUID* guid )
+o3tl::u16string_view getServiceNameFromGUID_Impl( GUID const * guid )
{
if ( *guid == OID_WriterTextServer )
return u"com.sun.star.comp.Writer.TextDocument";
@@ -96,7 +96,7 @@ o3tl::u16string_view getServiceNameFromGUID_Impl( GUID* guid )
return u"";
}
-OUString getFilterNameFromGUID_Impl( GUID* guid )
+OUString getFilterNameFromGUID_Impl( GUID const * guid )
{
if ( *guid == OID_WriterTextServer )
return OUString( "StarOffice XML (Writer)" );
diff --git a/embedserv/source/embed/guid.hxx b/embedserv/source/embed/guid.hxx
index de919aa5ea7c..886004c663ef 100644
--- a/embedserv/source/embed/guid.hxx
+++ b/embedserv/source/embed/guid.hxx
@@ -27,11 +27,11 @@
#include <common.h>
-OUString getFilterNameFromGUID_Impl( GUID* );
+OUString getFilterNameFromGUID_Impl( GUID const * );
-o3tl::u16string_view getServiceNameFromGUID_Impl( GUID* );
+o3tl::u16string_view getServiceNameFromGUID_Impl( GUID const * );
-wchar_t const * getStorageTypeFromGUID_Impl( GUID* guid );
+wchar_t const * getStorageTypeFromGUID_Impl( GUID const * guid );
#endif