From 7ac95954df17090abdd2225428c771917f2b7188 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 11 Jan 2015 19:23:59 +1100 Subject: vcl: LayoutEngine::layout() to LayoutEngine::Layout() Convention is that public functions used by other non-implementation classes use uppercase function names. Change-Id: I9a57b231b6a92dc8ac37dc417fdb8177a8c2fa11 --- vcl/generic/glyphs/gcach_layout.cxx | 6 +++--- vcl/inc/generic/glyphcache.hxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'vcl') diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx index abd04baf41cf..d47b3d2ceff1 100644 --- a/vcl/generic/glyphs/gcach_layout.cxx +++ b/vcl/generic/glyphs/gcach_layout.cxx @@ -50,7 +50,7 @@ void ServerFontLayout::DrawText( SalGraphics& rSalGraphics ) const bool ServerFontLayout::LayoutText( ImplLayoutArgs& rArgs ) { - return mrServerFont.GetLayoutEngine()->layout(*this, rArgs); + return mrServerFont.GetLayoutEngine()->Layout(*this, rArgs); } void ServerFontLayout::AdjustLayout( ImplLayoutArgs& rArgs ) @@ -316,7 +316,7 @@ public: HbLayoutEngine(ServerFont&); virtual ~HbLayoutEngine(); - virtual bool layout(ServerFontLayout&, ImplLayoutArgs&) SAL_OVERRIDE; + virtual bool Layout(ServerFontLayout&, ImplLayoutArgs&) SAL_OVERRIDE; }; HbLayoutEngine::HbLayoutEngine(ServerFont& rServerFont) @@ -351,7 +351,7 @@ struct HbScriptRun typedef std::vector HbScriptRuns; -bool HbLayoutEngine::layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs) +bool HbLayoutEngine::Layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs) { ServerFont& rFont = rLayout.GetServerFont(); FT_Face aFtFace = rFont.GetFtFace(); diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx index 6526cfbaf886..b45365a1d73e 100644 --- a/vcl/inc/generic/glyphcache.hxx +++ b/vcl/inc/generic/glyphcache.hxx @@ -316,7 +316,7 @@ class ServerFontLayoutEngine public: virtual ~ServerFontLayoutEngine() {} - virtual bool layout(ServerFontLayout&, ImplLayoutArgs&) = 0; + virtual bool Layout(ServerFontLayout&, ImplLayoutArgs&) = 0; }; class GlyphCachePeer -- cgit