[Libreoffice-commits] core.git: vcl/source

Adrien Ollier (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 30 01:58:33 UTC 2019


 vcl/source/outdev/font.cxx   |    4 ++++
 vcl/source/outdev/outdev.cxx |    4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 5735a2ce6941264e90f6b0593c54f661291d4987
Author:     Adrien Ollier <adr.ollier at hotmail.fr>
AuthorDate: Sat Aug 10 09:34:05 2019 +0200
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Fri Aug 30 03:57:40 2019 +0200

    moves outdev font functions in font.cxx
    
    Change-Id: I02e133b1682d4d1aab1d56eae0528856b0fabe55
    Signed-off-by: Adrien Ollier <adr.ollier at hotmail.fr>
    Reviewed-on: https://gerrit.libreoffice.org/77232
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index a306d1a2ae98..b4a57c9c025e 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -1465,6 +1465,10 @@ sal_Int32 OutputDevice::HasGlyphs( const vcl::Font& rTempFont, const OUString& r
     return -1;
 }
 
+void OutputDevice::ReleaseFontCache() { mxFontCache.reset(); }
+
+void OutputDevice::ReleaseFontCollection() { mxFontCollection.reset(); }
+
 void OutputDevice::SetFontCollectionFromSVData()
 {
     mxFontCollection = ImplGetSVData()->maGDIData.mxScreenFontList->Clone();
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 6a6be6958a25..6776cb3d7c85 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -720,8 +720,4 @@ bool OutputDevice::DrawEPS( const Point& rPoint, const Size& rSize,
     return bDrawn;
 }
 
-void OutputDevice::ReleaseFontCache() { mxFontCache.reset(); }
-
-void OutputDevice::ReleaseFontCollection() { mxFontCollection.reset(); }
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list