summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pngwrite.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/pngwrite.cxx')
-rw-r--r--vcl/source/gdi/pngwrite.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx
index ccc4b50d71e7..e18b8dd878c2 100644
--- a/vcl/source/gdi/pngwrite.cxx
+++ b/vcl/source/gdi/pngwrite.cxx
@@ -93,7 +93,7 @@ private:
void ImplOpenChunk(sal_uLong nChunkType);
void ImplWriteChunk(sal_uInt8 nNumb);
void ImplWriteChunk(sal_uInt32 nNumb);
- void ImplWriteChunk(unsigned char* pSource, sal_uInt32 nDatSize);
+ void ImplWriteChunk(unsigned char const * pSource, sal_uInt32 nDatSize);
};
PNGWriterImpl::PNGWriterImpl( const BitmapEx& rBmpEx,
@@ -674,7 +674,7 @@ void PNGWriterImpl::ImplWriteChunk (sal_uInt32 nSource)
rChunkData.aData.push_back(static_cast<sal_uInt8>(nSource));
}
-void PNGWriterImpl::ImplWriteChunk (unsigned char* pSource, sal_uInt32 nDatSize)
+void PNGWriterImpl::ImplWriteChunk (unsigned char const * pSource, sal_uInt32 nDatSize)
{
if (nDatSize)
{