diff options
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r-- | vcl/source/gdi/print.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index 4f62d062f8a2..90396200063e 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -1688,7 +1688,7 @@ void Printer::InitFont() const if ( mbInitFont ) { // select font in the device layers - mpGraphics->SetFont(&mpFontInstance->GetFontSelectPattern(), 0); + mpGraphics->SetFont(mpFontInstance.get(), 0); mbInitFont = false; } } |