vcl: followup tdf#74702 vcl: remove GetOutDevType() from ImplNewFont()

virtual keyword was missing on ImplNewFont(), without it the previous
change effectively removed the PDFWriterImpl code. Thanks to Noel for
pointing this out.

Change-Id: I3148ee90e61cdb9d2d6b242ebe4964fb0394416d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121734
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 23b70e5..2995769 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1191,7 +1191,7 @@
    void SetFontCollectionFromSVData();
    void ResetNewFontCache();

    SAL_DLLPRIVATE bool         ImplNewFont() const;
    virtual bool ImplNewFont() const;

private:

diff --git a/vcl/inc/pdf/pdfwriter_impl.hxx b/vcl/inc/pdf/pdfwriter_impl.hxx
index c345fbf..d8dc69d 100644
--- a/vcl/inc/pdf/pdfwriter_impl.hxx
+++ b/vcl/inc/pdf/pdfwriter_impl.hxx
@@ -643,7 +643,7 @@
    static void convertLineInfoToExtLineInfo( const LineInfo& rIn, PDFWriter::ExtLineInfo& rOut );

protected:
    bool ImplNewFont() const;
    bool ImplNewFont() const override;
    void ImplClearFontData(bool bNewFontLists) override;
    void ImplRefreshFontData(bool bNewFontLists) override;
    vcl::Region ClipToDeviceBounds(vcl::Region aRegion) const override;