diff options
Diffstat (limited to 'vcl/source/outdev/hatch.cxx')
-rw-r--r-- | vcl/source/outdev/hatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/hatch.cxx b/vcl/source/outdev/hatch.cxx index 79b2c7e7f83a..00ec13562d46 100644 --- a/vcl/source/outdev/hatch.cxx +++ b/vcl/source/outdev/hatch.cxx @@ -401,9 +401,9 @@ void OutputDevice::DrawHatchLine( const tools::Line& rLine, const tools::PolyPol { for( long i = 0; i < nPCounter; i += 2 ) { - if( mpPDFWriter ) + if( GetPDFWriter() ) { - mpPDFWriter->drawLine( pPtBuffer[ i ], pPtBuffer[ i+1 ] ); + GetPDFWriter()->drawLine( pPtBuffer[ i ], pPtBuffer[ i+1 ] ); } else { |