diff options
Diffstat (limited to 'vcl/generic/glyphs')
-rw-r--r-- | vcl/generic/glyphs/gcach_ftyp.hxx | 6 | ||||
-rw-r--r-- | vcl/generic/glyphs/gcach_layout.cxx | 2 | ||||
-rw-r--r-- | vcl/generic/glyphs/scrptrun.h | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/vcl/generic/glyphs/gcach_ftyp.hxx b/vcl/generic/glyphs/gcach_ftyp.hxx index a0915ea72bdd..7015b343f960 100644 --- a/vcl/generic/glyphs/gcach_ftyp.hxx +++ b/vcl/generic/glyphs/gcach_ftyp.hxx @@ -168,9 +168,9 @@ public: FtFontInfo* GetFtFontInfo() const { return mpFtFontInfo; } - virtual ImplFontEntry* CreateFontInstance( FontSelectPattern& ) const; - virtual PhysicalFontFace* Clone() const { return new ImplFTSFontData( *this ); } - virtual sal_IntPtr GetFontId() const { return mpFtFontInfo->GetFontId(); } + virtual ImplFontEntry* CreateFontInstance( FontSelectPattern& ) const SAL_OVERRIDE; + virtual PhysicalFontFace* Clone() const SAL_OVERRIDE { return new ImplFTSFontData( *this ); } + virtual sal_IntPtr GetFontId() const SAL_OVERRIDE { return mpFtFontInfo->GetFontId(); } static bool CheckFontData( const PhysicalFontFace& r ) { return r.CheckMagic( IFTSFONT_MAGIC ); } }; diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx index 84f0a494e1d3..dfbd653224a2 100644 --- a/vcl/generic/glyphs/gcach_layout.cxx +++ b/vcl/generic/glyphs/gcach_layout.cxx @@ -329,7 +329,7 @@ public: HbLayoutEngine(ServerFont&); virtual ~HbLayoutEngine(); - virtual bool layout(ServerFontLayout&, ImplLayoutArgs&); + virtual bool layout(ServerFontLayout&, ImplLayoutArgs&) SAL_OVERRIDE; }; HbLayoutEngine::HbLayoutEngine(ServerFont& rServerFont) diff --git a/vcl/generic/glyphs/scrptrun.h b/vcl/generic/glyphs/scrptrun.h index bdea66109068..72975464a38e 100644 --- a/vcl/generic/glyphs/scrptrun.h +++ b/vcl/generic/glyphs/scrptrun.h @@ -37,6 +37,9 @@ #ifndef __SCRPTRUN_H #define __SCRPTRUN_H +#include <sal/config.h> + +#include <sal/types.h> #include "unicode/utypes.h" #include "unicode/uobject.h" #include "unicode/uscript.h" @@ -81,7 +84,7 @@ public: * * @stable ICU 2.2 */ - virtual inline UClassID getDynamicClassID() const { return getStaticClassID(); } + virtual inline UClassID getDynamicClassID() const SAL_OVERRIDE { return getStaticClassID(); } /** * ICU "poor man's RTTI", returns a UClassID for this class. |