summaryrefslogtreecommitdiff
path: root/vcl/source/filter/jpeg/jpeg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/jpeg/jpeg.cxx')
-rw-r--r--vcl/source/filter/jpeg/jpeg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/jpeg/jpeg.cxx b/vcl/source/filter/jpeg/jpeg.cxx
index 2f448e141fa0..1f7d0e1ab387 100644
--- a/vcl/source/filter/jpeg/jpeg.cxx
+++ b/vcl/source/filter/jpeg/jpeg.cxx
@@ -30,7 +30,7 @@ bool ImportJPEG( SvStream& rInputStream, Graphic& rGraphic, void* pCallerData, s
ReadState eReadState;
bool bReturn = true;
- JPEGReader* pJPEGReader = (JPEGReader*) rGraphic.GetContext();
+ JPEGReader* pJPEGReader = static_cast<JPEGReader*>( rGraphic.GetContext() );
if( !pJPEGReader )
{