summaryrefslogtreecommitdiff
path: root/vcl/source/filter/jpeg
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/jpeg')
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/jpeg/JpegWriter.cxx b/vcl/source/filter/jpeg/JpegWriter.cxx
index eff1bacd2ddb..1cf302312b22 100644
--- a/vcl/source/filter/jpeg/JpegWriter.cxx
+++ b/vcl/source/filter/jpeg/JpegWriter.cxx
@@ -109,7 +109,7 @@ JPEGWriter::JPEGWriter( SvStream& rStream, const css::uno::Sequence< css::beans:
mbNative ( false ),
mpExpWasGrey ( pExportWasGrey )
{
- FilterConfigItem aConfigItem( const_cast<css::uno::Sequence< css::beans::PropertyValue >*>(pFilterData) );
+ FilterConfigItem aConfigItem( pFilterData );
mbGreys = aConfigItem.ReadInt32( "ColorMode", 0 ) != 0;
mnQuality = aConfigItem.ReadInt32( "Quality", 75 );
maChromaSubsampling = aConfigItem.ReadInt32( "ChromaSubsamplingMode", 0 );