summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxprinter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxprinter.cxx')
-rw-r--r--toolkit/source/awt/vclxprinter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx
index f62d53558c01..15adc111e65e 100644
--- a/toolkit/source/awt/vclxprinter.cxx
+++ b/toolkit/source/awt/vclxprinter.cxx
@@ -250,7 +250,7 @@ void VCLXPrinterPropertySet::setBinarySetup( const ::com::sun::star::uno::Sequen
{
::osl::MutexGuard aGuard( Mutex );
- SvMemoryStream aMem( (char*) data.getConstArray(), data.getLength(), StreamMode::READ );
+ SvMemoryStream aMem( const_cast<signed char*>(data.getConstArray()), data.getLength(), StreamMode::READ );
sal_uInt32 nMarker;
aMem.ReadUInt32( nMarker );
DBG_ASSERT( nMarker == BINARYSETUPMARKER, "setBinarySetup - invalid!" );