summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-31 12:08:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-31 12:14:39 +0200
commitc74a70e07c959a675d7e10dd1cacbebebb8e2e0a (patch)
tree63acde9b4c67de304755225032fe56e8d177d99b /dtrans/source/win32/misc
parenta422a1be7ec4d80fc0b53aa7b36dee8a72c8200e (diff)
loplugin:constparams: dtrans (clang-cl)
Change-Id: I0a965f6957b74ff5db3aab54bef1fa05f3b594c7
Diffstat (limited to 'dtrans/source/win32/misc')
-rw-r--r--dtrans/source/win32/misc/ImplHelper.cxx2
-rw-r--r--dtrans/source/win32/misc/ImplHelper.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/win32/misc/ImplHelper.cxx b/dtrans/source/win32/misc/ImplHelper.cxx
index 58836ec6c601..c5ffcef57f60 100644
--- a/dtrans/source/win32/misc/ImplHelper.cxx
+++ b/dtrans/source/win32/misc/ImplHelper.cxx
@@ -326,7 +326,7 @@ sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLhs, const FORMATETC*
return nMatch;
}
-bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE* ptdRight )
+bool SAL_CALL CompareTargetDevice( DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE const * ptdRight )
{
bool bRet = false;
diff --git a/dtrans/source/win32/misc/ImplHelper.hxx b/dtrans/source/win32/misc/ImplHelper.hxx
index a0c32b0ad712..0d0097fbcb5b 100644
--- a/dtrans/source/win32/misc/ImplHelper.hxx
+++ b/dtrans/source/win32/misc/ImplHelper.hxx
@@ -35,7 +35,7 @@
void SAL_CALL DeleteTargetDevice(DVTARGETDEVICE* ptd);
bool SAL_CALL CopyFormatEtc(LPFORMATETC petcDest, LPFORMATETC petcSrc);
sal_Int32 SAL_CALL CompareFormatEtc( const FORMATETC* pFetcLeft, const FORMATETC* pFetcRight);
-bool SAL_CALL CompareTargetDevice(DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE* ptdRight);
+bool SAL_CALL CompareTargetDevice(DVTARGETDEVICE* ptdLeft, DVTARGETDEVICE const * ptdRight);
DVTARGETDEVICE* SAL_CALL CopyTargetDevice(DVTARGETDEVICE* ptdSrc);
// some codepage helper functions