summaryrefslogtreecommitdiff
path: root/vcl/inc/CommonSalLayout.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-11-26 17:29:16 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-11-26 19:33:52 +0000
commit3dab9849115284f9a126356e2354ad7fb8557663 (patch)
treeb664795f25ab1e3b4853cca8d233e30e1291dca8 /vcl/inc/CommonSalLayout.hxx
parent45d001aabe8df0f6fd825fb3dbcbd9b4ff12626c (diff)
More dead code
Change-Id: I518b56566cdf1eceee7a868b9bf4ab4f6e498f98 Reviewed-on: https://gerrit.libreoffice.org/31234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/inc/CommonSalLayout.hxx')
-rw-r--r--vcl/inc/CommonSalLayout.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/vcl/inc/CommonSalLayout.hxx b/vcl/inc/CommonSalLayout.hxx
index e5345d77a65b..05ea342d5b82 100644
--- a/vcl/inc/CommonSalLayout.hxx
+++ b/vcl/inc/CommonSalLayout.hxx
@@ -61,6 +61,8 @@ class CommonSalLayout : public GenericSalLayout
hb_set_t* mpVertGlyphs;
bool IsVerticalAlternate(hb_codepoint_t nGlyphIndex);
+ void SetNeedFallback(ImplLayoutArgs&, sal_Int32, bool);
+
public:
#if defined(_WIN32)
explicit CommonSalLayout(HDC, WinFontInstance&, const WinFontFace&);
@@ -74,16 +76,15 @@ public:
#endif
virtual void InitFont() const override;
- void SetNeedFallback(ImplLayoutArgs&, sal_Int32, bool);
- void AdjustLayout(ImplLayoutArgs&) override;
- bool LayoutText(ImplLayoutArgs&) override;
- void DrawText(SalGraphics&) const override;
- std::shared_ptr<vcl::TextLayoutCache> CreateTextLayoutCache(OUString const&) const override;
+ void AdjustLayout(ImplLayoutArgs&) final override;
+ bool LayoutText(ImplLayoutArgs&) final override;
+ void DrawText(SalGraphics&) const final override;
+ std::shared_ptr<vcl::TextLayoutCache> CreateTextLayoutCache(OUString const&) const final override;
- virtual bool GetCharWidths(DeviceCoordinate* pCharWidths) const override;
- virtual void ApplyDXArray(ImplLayoutArgs&) override;
+ bool GetCharWidths(DeviceCoordinate* pCharWidths) const final override;
+ void ApplyDXArray(ImplLayoutArgs&) final override;
- virtual bool IsKashidaPosValid(int nCharPos) const override;
+ bool IsKashidaPosValid(int nCharPos) const final override;
};
enum class VerticalOrientation {