diff options
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 3f6d9bbcbfdd..f5c391ee7bf5 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -2740,10 +2740,11 @@ bool PDFWriterImpl::emitType3Font(const vcl::font::PhysicalFontFace* pFace, aBitmapEx = BitmapEx(aBitmapEx.GetBitmap(), aAlpha); } - auto aBitmapEmit = createBitmapEmit(aBitmapEx, Graphic(), - aUsedBitmaps, aResourceDict, aOutputStreams); + const BitmapEmit& rBitmapEmit = createBitmapEmit(aBitmapEx, Graphic(), + aUsedBitmaps, aResourceDict, + aOutputStreams); - auto nObject = aBitmapEmit.m_aReferenceXObject.getObject(); + auto nObject = rBitmapEmit.m_aReferenceXObject.getObject(); aContents.append("q "); appendDouble(aRect.GetWidth() * fScale, aContents); aContents.append(" 0 0 "); |