summaryrefslogtreecommitdiffstats
path: root/vcl/source/gdi/pdfwriter_impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/pdfwriter_impl.cxx')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 79289ba8b39a..9116984def55 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -6513,7 +6513,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool
}
writeBuffer( aLine.getStr(), aLine.getLength() );
- Point aOffset = Point(0,0);
+ Point aOffset(0,0);
if ( nEmphMark & FontEmphasisMark::PosBelow )
aOffset.AdjustY(GetFontInstance()->mxFontMetric->GetDescent() + nEmphYOff );